Digital Marketing Max

Articles on digital marketing techniques, tools, tips, new feature announcements etc

How to solve google tag manager code installation error in blogger ?

Google Tag Manager Code installation Error

When you are trying to install the google tag manager code in blogger, you will get the following error message

Error parsing XML, line 10, column 43: The reference to entity "l" must end with the ';' delimiter


Google Tag Manager Code installation Error in Blogger

Do the following code changes to rectify the error

Original code
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

Google Tag Manager Code installation Error in Blogger


Modified code in red :
replace that line with this line - the change is highlighted in bold

j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

Google Tag Manager Code installation Error in Blogger

After editing, save the same. It will get updated without throwing any error

Original reference : https://productforums.google.com/d/msg/tag-manager/Jk9i2AWfDSg/FUeZ9gSv6gIJ

No comments:

Post a Comment