In Piwik there is the functionality to create new visits on demand.
Learn more in this FAQ: How do I create new visit on demand, so that several users using the same computer or browser are counted separately?
The goal of this ticket is to add a helper method to the PHP Tracker class, to easily create new visit.
The PHP Tracker is documented here.
This was suggested in #218
Follows up this ticket: #3951 New Tracking API feature: &new_visit=1 lets you create new visits on demand
In 1600e34: Fixes #5123 PHP Tracker, added new method setForceNewVisit() to force creation of a new visit + with test
Fixes #5123 PHP Tracker, added new method setForceNewVisit() to force…
… creation of a new visit + with test