[π] Google Tag Assistant Preview is not showing tags (Google Tag Manager) while using Partytown
maruthasalamr opened this issue Β· comments
Describe the bug
I need to test the events are triggered from my website in Google Tag manager. In GTM preview mode i cannot able to see any events and it says like no tags found.
This the party town implementation code
<Partytown debug={true} forward={['dataLayer.push']}>
<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','GTM-MKPX3TV4')
}</script>
Reproduction
None
Steps to reproduce
Add the partytown in the script tag of GTM in Head component
connect to the localhost to google tag assistant
Browser Info
Chrome
Additional Information
No response