Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #939544

    Hi Guys

    I can’t find a clear solution to this. Can you advise if how to add Google Tag Manager scripts to the <head> and <body>

    Thank you in advance.

    #939652

    Hey dinmix,

    What is the exact code you need to add and where?

    Best regards,
    Rikard

    #939805
    This reply has been marked as private.
    #940301

    Hi Din,

    Thanks for that, I can give you a function for the first bit of code, but not the second since there is no hook just after the body tag. So maybe it would be better if you edited the header.php file manually? You can search for the body and head tag in there. Please make sure to have a child theme running, otherwise your changes will be lost on updates.

    Best regards,
    Rikard

    #940308

    Hi Rikard

    Thank you I have edited the header file manually and placed it on the child theme. It seems to be working now.

    Best Regards
    Din

    #940399

    Hi Din,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #940443

    Thank you Victoria.

    #940876

    Hi,

    Thanks for the feedback, should we close this for now?

    Best regards,
    Rikard

    #940910

    Hi Rikard

    Yes please close this.

    Best Regards
    Din

    #941260

    Hi Din,

    Thanks for the feedback. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Adding Google Tag Manager’ is closed to new replies.