Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #549984

    Hi Enfold People! greettins, great theme…my favourite..
    I have an aswer If you can help me please: I have a code from Google Tag manager. Can I paste this code into a Google Analytics Tracking Code from Enfold Options theme?

    #550082

    Hi Tomas!

    I’m not sure of the code your referring to but I think you should be able to paste it inside the GA option in the Enfold settings. All it does is shove those contents into the head tag so you could add other scripts in there as well.

    Regards,
    Elliott

    #569200

    Can I paste this code into a Google Analytics Tracking Code from Enfold Options theme?

    No, you cannot. It may work but that’s not best practice. The GTM code snippet needs to go directly below the opening <body> tag. Either modify header.php in a child theme, or, use a WP GTM plugin. I did the latter and no issues so far. But caveat developer.

    Also, if you are using GTM to load GA, which you should, remove all other references to your GA tracking ID from the page.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Where goes Google Tag Manager code?’ is closed to new replies.