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

If your getting this error

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





then you can solve this problem by just changing the following code with this click here

This is a problem with blogger  - blogger parses everything as XML which
 causes problems

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 bold

j=d.createElement(s),dl=l!='dataLayer'?'&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 '&' 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.

Good luck

Comments

Post a Comment

Popular posts from this blog

Youtube Video Presentation

Create Quality and ClickBait Thumbnail

How to hack wifi using backtrack