We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc5e030 + a9f4484 commit 64b3000Copy full SHA for 64b3000
1 file changed
content/tracker-configuration.mdx
@@ -72,3 +72,19 @@ Usage:
72
data-domains="mywebsite.com,mywebsite2.com"
73
></script>
74
```
75
+
76
+### Google Tag Manager
77
78
+Google Tag Manager will strip the attributes from the tracker, so you can bypass this by using the format below.
79
80
+Usage:
81
+```
82
+<script>
83
+ (function() {
84
+ var el = document.createElement("script");
85
+ el.setAttribute("src", "http://mywebsite.com/umami.js");
86
+ el.setAttribute("data-website-id", "94db1cb1-74f4-4a40-ad6c-962362670409");
87
+ document.body.appendChild(el);
88
+ })();
89
+</script>
90
0 commit comments