Is code actually rendered, when you see source in browser (ctrl-u in Chrome)?
Do you have some kind of GDPR addon that disable tracking codes/cookies? Last time this was the problem of one of my clients,
Hi @blinkdesign are you trying to verify your account in Google search console? I love the domain verification option because it tracks all the URLs. SSL, Non-SSL, and it automatically verifies any subdomains)
If the site is not indexed properly, then GTM won’t work. I had no success with indexing. Something in the CMS or code is keeping Google from indexing. I have no idea about it, very frustrating. Keep me posted if you have success.
We do not fully understand what exactly causes this problem. It took us a while to find, that with one pager there is an indexing problem. So we fixed it and it finally works now.
We had in our one pager several sections with # anchors as navigation. Google apparently doesn’t like that because it confuses its indexing. So make sure you use no anchors for scrolling navigation. Create separate url’s/H1 titles for the sections and use AJAX so it loads when a user scroll more down.
As I see, you’re in Germany, so I can recommend this blog entry (in german): SEO für eine One-Page-Website - BlueGlass
Good luck. Let me know.
Yes, we had a scrolling to #anchor script using jQuery. We removed it and guess what! Google indexed the site and installed gtm. Phantastic, it saved us a whole lot of tinkering around. Vielen Dank nach Zürich. Cedric