Skip to content

How and where can I add these new Google Tags? #67039

Answered by Elindo586
Elindo586 asked this question in Help
Discussion options

You must be logged in to vote

So, the <nonscript> wasn't liking the style prop as shown in the original Google tag... to make it work in REACT I had to change it to this:

<noscript>
          <iframe
            src="https://www.googletagmanager.com/ns.html?id=GTM-KXZRG4LK"
            height="0"
            width="0"
            style={{ display: "none", visibility: "hidden" }}
          ></iframe>
        </noscript>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Elindo586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants