Tagged: google tag manager, remarketing
Is there any way to add Google Tag Manager to my site? https://www.google.com/tagmanager/
I put all tracking\remarketing codes into the “Google Analytics Tracking Code” field in settings.
It’s cool, but it puts code before closing </body> tag. Tag manager require to place code just after opening <body> tag. Is there any way to do that? I use child theme.
Hi Konstantin!
Thank you for visiting the support forum!
You can copy the header.php file on your child theme folder then place the tagmanager code right after the body tag:
<body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>>
Cheers!
Ismael
Isn’t it good idea to make checkbox to place tracking code in the end, or in the start of the page?
Hi!
Immediately after the opening <body> tag, so at the start of the page.
https://developers.google.com/tag-manager/quickstart
Best regards,
Josue