Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

GoogleTagManager: ensure initial gtm.view does not occur before Window Load #21

Open
ninomichaels opened this issue Oct 4, 2018 · 1 comment
Assignees

Comments

@ninomichaels
Copy link
Contributor

The apps currently may fire a synthetic pageview gtm.view event before the default Page View and Window Ready events.

1.) Delay (do not prevent) the synthetic pageview from firing until the default events fire.
2.) Add a initialPageview = 1 to the dataLayer for this initial synthetic pageView -- subsequent gtm.view events should reflect initalPageview = 0

@ninomichaels
Copy link
Contributor Author

#22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant