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
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=
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=
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