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
When a campaign changes, creates a new "visit" by default #2624
Comments
…paign/website referrer information changes between actions. Includes new tracker hook shouldForceNewVisit that dimensions can use to force a new visit during tracking. Also includes light refactoring to referrer dimensions. Testless.
Fixed by #6847 |
How would this affect AdvancedCampaignReporting ? |
This does not affect the AdvancedCampaignReporting plugin actually. Could you create an issue in the repo there? we could make the INI setting work for AdvancedCampaignReporting too with some extra work |
@mattab It should affect AdvancedCampaignReporting, I remember changing the expected test results. |
It doesn't really work though, because the logic in |
@mattab Oh I remember, in Tracker::addDimensionsToRow, it sets the referer_name/referer_type/referer_keyword, I guess that's enough to make it work for AdvancedCampaignReporting? Or maybe just in the case of the test. |
Added FAQ to document this feature: https://piwik.org/faq/how-to/faq_19616/ |
In case you are using intra website campaign links, or if the visitor comes back on your site from a different website and is registered as a different campaign, we could automatically create a new visit.
There would be only 1 unique visitor, but 2 visits, if the visitor comes back to the site less than 30 min ago with the same browser but a different campaign parameters combination.
Proposed steps
tracker_create_new_visit_when_website_referrer_changes
Enabling these 2 settings would mean that all referrer data would be tracked.
Visits will be slightly increased but this should be really insignificant.
Conclusion
This change would result in more accurate tracking, better campaign attribution. IT would also allow to use Piwik to do internal campaign tracking which would be a very useful feature to have for some websites.
See also #2567 and #2468. Note: this was discussed a few times in the forums and was implemented in GA recently.
The text was updated successfully, but these errors were encountered: