Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐞] Google Tag Assistant Preview is not showing tags (Google Tag Manager) while using Partytown #559

Closed
maruthasalamr opened this issue Feb 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@maruthasalamr
Copy link

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>

image

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

@maruthasalamr maruthasalamr added the bug Something isn't working label Feb 20, 2024
@j0Shi82
Copy link
Contributor

j0Shi82 commented Feb 20, 2024

duplicate of #72

@gioboa gioboa closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants