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

Tracking: Write current interaction position for all actions #12125

Merged
merged 4 commits into from Sep 27, 2017

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Sep 26, 2017

For events, downloads, ... lets set the interaction_position as well instead of having it null. We set the position to the same position as the last page view. This way we can find out which page was viewed followed by an event.

In Piwik 4 we will need to rename interaction_position to something like pageview_position #12124 as an event is technically an interaction as well and should increase the counter compared to using the same counter as on the pageview. (refs #9199 )

Known issues:
When a user has 2 tabs open, and works on both tabs, the interaction position on any following action will always be set to the interaction position of the last tab.

@tsteur tsteur added the Needs Review PRs that need a code review label Sep 26, 2017
@mattab
Copy link
Member

mattab commented Sep 27, 2017

LGTM. Just a few system tests failing in https://travis-ci.org/piwik/piwik/jobs/280206776

@tsteur
Copy link
Member Author

tsteur commented Sep 27, 2017

should be fixed

@mattab
Copy link
Member

mattab commented Sep 27, 2017

still a small fail as the bandwidth fields are expected in the tests output see https://travis-ci.org/piwik/piwik/jobs/280246684

@tsteur
Copy link
Member Author

tsteur commented Sep 27, 2017

Updated them again... thought it was green before when I looked...

@mattab mattab merged commit 9611b36 into 3.x-dev Sep 27, 2017
@mattab mattab deleted the interactionpositioncount branch September 27, 2017 07:37
@mattab mattab added this to the 3.2.0 milestone Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants