Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
When a campaign changes, creates a new "visit" by default #2624
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.
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.
…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.