Data Layer Not Appearing for Page View Tag
-
Reposting from this thread as it’s own ticket: https://www.ads-software.com/support/topic/visitorloginstate-stopped-working/
***
Been having issues (started 2 weeks ago, working fine before) where (a) I no longer seem able to exclude page views by visitorLoginState or visitorLoginType and (b) ecommerce tracking has stopped working.
What I’ve found is that visitor variables are NOT being passed to my initial page view tag but are being passed to all subsequent tags.
See screenshots below:
Not working on Page View: https://paste.pics/f3271f77228dea8892d6663d6410c91a
Working on DOM: https://paste.pics/5b0ebb5ab4fb1c03ad182fd39692d4ccThis means I’m not able to exclude the initial page view tag from firing based on visitorLoginState or visitorLoginType variable (but I am able to exclude later tags using that data once it has loaded).
Any ideas how to fix this Thomas? I’d like to be able to exclude administrator page views from all my analytics data.
Thank you!
N.B., I make live edits to my site and saw a big uptick in direct traffic starting November 7th so that could give a clue as to when the issue started.
P.s., My enhanced e-commerce tracking via GTM4WP also stopped working around this time (battling with that as well) – not sure if it’s linked?
- The topic ‘Data Layer Not Appearing for Page View Tag’ is closed to new replies.