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 f115916 commit 114b4b0Copy full SHA for 114b4b0
packages/static-site/src/pages/DataLayerGuide.tsx
@@ -1,7 +1,7 @@
1
import { FC } from "react";
2
import { Link } from "react-router-dom";
3
import { PagePaths } from "~/routes/config";
4
-import { watchDataLayer } from "~/utils/watchDataLayerBookmarklet";
+import { default as watchDataLayer } from "~/utils/watchDataLayerBookmarklet?raw";
5
6
export const bookmarklet = `javascript:(${watchDataLayer.toString()
7
// remove line breaks
packages/static-site/src/utils/watchDataLayerBookmarklet.js
@@ -1,4 +1,4 @@
-export const watchDataLayer = () => {
+() => {
const w = window
, dl = w.dataLayer || []
/* used to provide styling in the console */
0 commit comments