adding code
hi i am adding a tracking code to the site pages and they say
Copy this extract and paste it on all pages of your website before the closing tag </body>
i added it to the custom code area but when i try to validate it says it's not validated. so perhaps i havent put it in the right place for www.masks4biz.com
-
Hi Anina,
May I know what code you are trying to add? Most tracking codes are added in <head> and from what I know GTM has a script that needs to be added to the body but it is not required. You can add the tracking codes here: https://youtu.be/hVxkGrKZgjc
0 -
I've got the same problem - which does not seem to have been answered above - what do I do if I want to insert code just BEFORE the closing body tag. See pic.
0 -
Hi,
Unfortunately, you can't do that. At least for now. You can add code only in the header and footer. You could also try adding via Embed element on each page but this will not position it before the </body> tag so I'm not sure it will work.
0
Please sign in to leave a comment.
Comments
3 comments