Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that web page ID gets reset with every trackPageView call #508

Closed
yalisassoon opened this issue Aug 24, 2016 · 2 comments
Closed

Comments

@yalisassoon
Copy link
Member

A webPage context ID is generated with each page view. This is used in the data modeling step to identify what page view a subsequent on-page event occurred on. (Particularly useful if a user has multiple pages open in their browser simultaneously, and you want to know which tab a particular event happened in.) This is generated if the webpage context is set to true when initializing the JS tracker.

Currently, it appears that the ID is generated when the tracker is initialized. This is the incorrect behaviour: it should be generated when the trackPageView method is called. As a result, the context does not currently work with single page webapps, because it is not reset with each 'virtual' page view.

@yalisassoon yalisassoon added this to the Version 2.7.0 milestone Aug 24, 2016
@alexanderdean
Copy link
Member

See also #500

@alexanderdean
Copy link
Member

Duplicate of #436

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

No branches or pull requests

3 participants