In Cubed we view our client's user journeys as a Visitor having many Visits. We store these pieces of information client side in cookies. (See cookies)
If a Visitor comes to site via Google PPC, and then within the same session returns to site via another channel - for example say: an Affiliate link - they would still be a PPC visit in our system.
Some clients would like to view this Visitor as having 2 visits, which is where our Split Visit functionality comes in.
You will need to add this function to all pages, so it is best to put it next to the setAccount function in your base tag.
Once enabled the Cubed tag will store a reference to the generated referer (using a mix of the
document.referer and our forward params), and will check this against the visitor's document.referer every time the tag fires.
This mean's we do not split the Visit if the referrer string is
blank or same domain.
var vscr = window.vscr || ; vscr.push(["setSplitVisit", <true | false>]);