Forum Support

Shape 5
April 19, 2021, 03:53:15 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Google Tag Manager question  (Read 292 times)
gtc6000
Jr. Member
**
Offline Offline

Posts: 45



« on: February 20, 2017, 11:28:56 PM »

Google Tag Manager asks me to place the following code immediately after the opening body tag.   Where can this be located?

Additionally, paste this code immediately after the opening <body> tag:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-xxxxxxxxx"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>


<!-- End Google Tag Manager (noscript) -->

Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: February 21, 2017, 01:38:14 PM »

You can use a Clean Markup widget in the Debug position to put the code in your site, but it will be at the end of the body, rather than the beginning.

The other option would be to edit the index.php file in the theme folder and just put the code there manually.  The index.php file isn't touched by the Vertex Upgrade Patch, so the change should stay even in future updates.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.