Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Configuration Of Google Tag Manager

Step 1. Signup Google Tag Manager
Screenshot (73).png


Step 2.Copy the First code below and paste it onto HTML Template
Like below
Paste this code as high in the <head> of the page as possible:
Screenshot (69).png
Screenshot (67).png


Step 3.Additionally, paste this code immediately after the opening <body> tag
Like Below ScreenShot.
Screenshot (70).png


Screenshot (71).png


Step 4.When Save the code it will throw the errors of
Error parsing XML, line 10, column 43: The reference to entity "l" must end with the ';' delimiter.


Screenshot (72).png


Solution:
This is a problem with blogger and GTM - blogger parses everything as XML which causes problems with the GTM tag.
Try the following:
In the code of your container tag you should see this line
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=


replace that line with this line - the change is highlighted in blue Color
j=d.createElement(s),dl=l!='dataLayer'?'&amp;l='+l:'';j.async=true;j.src=


Then copy the adjusted code in your blogger template and save the template - it should work now. When you then check the source code of the website you can see that the '&amp;' has been changed back by blogger to the correct '&', so the code that is actually included on the website is exactly the code that GTM requires.

Step 5: then save & verify the tag manager

Comments

Popular posts from this blog

VMWARE WORKSTATION 3,4,5,6,7,8,9,10,11,12,14,15...etc LICENSE KEYS COLLECTION

How to find the server is whether standby (slave) or primary(master) in Postgresql replication ?

How to Configuration UDEV SCSI Rules In Oracle Linux 5, 6 and 7

Top 10 Highest Paying URL Shortener Companies - Best URL Shorteners To Earn Fast

Linux ctime,mtime,atime,cmin,amin,mmin