Add Google tag manager code

Posted in: Newspaper
Post count: 3

I installed a plugin to Add Google tag manager code. But the plugin is asking me to add a small piece of code to the “template” file. I don’t know how to do this? Can you please help?

Select how your container code should be included in your website.
If you select ‘Custom’ you need to edit your template file and add the following line just after the opening <body> tag:
<?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) ) { gtm4wp_the_gtm_tag(); } ?>

View post on imgur.com

  • This topic was modified 9 years by bluerooms.
Post count: 23312

Hello bluerooms,

Unfortunately, this type of plugin has not been tested with our theme and we cannot say for sure if it will work or not with the theme, sorry! Being untsted plugin, notice that we have no idea about the behavior of this plugin and also we cannot provide support for implementing untested plugins, sorry!

Thanks for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.