Closed musashiM82 closed 1 month ago
Hi google tag mananger doesn't work from yesterday. below you can find code that I used from two years and tag injection doesnt work from yesterday. I dont see any tag (pixel, analytics or custom) in the DOM.
what is the problem?
thanks
<script type="text/javascript"> partytown = { forward: ["dataLayer.push","fbq"], resolveUrl: function (url, location, type) { var proxyMap = {"static.ads-twitter.com":{"hostname":"*******","pathname":"/twitter"},"connect.facebook.net":{"hostname":"*********","pathname":"/facebook"}} if (type === 'script' && proxyMap[url.hostname]) { url.pathname = proxyMap[url.hostname].pathname + url.pathname url.hostname = proxyMap[url.hostname].hostname; } return url; }, }; </script> <script src="/30/~partytown/partytown.js?v_=5"></script> <script type="text/partytown">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','********'); </script>
chrome firefox
using @builder.io/partytown 0.7.2
No response
solved upgrading partytown
+1 version 0.10.2
What version are you using? @musashiM82
Describe the bug
Hi google tag mananger doesn't work from yesterday. below you can find code that I used from two years and tag injection doesnt work from yesterday. I dont see any tag (pixel, analytics or custom) in the DOM.
what is the problem?
thanks
Reproduction
Steps to reproduce
Browser Info
chrome firefox
Additional Information
using @builder.io/partytown 0.7.2
No response