We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc4e6e commit f2e430eCopy full SHA for f2e430e
src/Elastic.Markdown/Assets/main.ts
@@ -14,14 +14,6 @@ import {$, $$} from "select-dom"
14
import { UAParser } from 'ua-parser-js';
15
const { getOS } = new UAParser();
16
17
-document.addEventListener('htmx:pushedIntoHistory', function(event) {
18
- window.dataLayer = window.dataLayer || [];
19
- window.dataLayer.push({
20
- event: "virtualPageview",
21
- page_path: event.detail.path,
22
- });
23
-});
24
-
25
// Don't remove style tags because they are used by the elastic global nav.
26
document.addEventListener('htmx:removingHeadElement', function(event) {
27
if (event.detail.headElement.tagName === 'STYLE') {
0 commit comments