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

Passing a different referrer value creates a new visit #7645

Closed
d4rken opened this issue Apr 8, 2015 · 1 comment
Closed

Passing a different referrer value creates a new visit #7645

d4rken opened this issue Apr 8, 2015 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@d4rken
Copy link
Member

d4rken commented Apr 8, 2015

Is it possible that if i change the referrer during the queries of one visit, the new referrer gets a new visit entry?

Case:
I have a visit and during this visit i send two download events to be tracked. If both download events get a distinct referrer parameter, i have two visits in my visitor log.
The main visit with all entries (and my first download and it's referrer)
and a secondary visit with only one entry that had the different referrer.

TL;DR is there a "one referrer per visit rule" ?

@mattab
Copy link
Member

mattab commented Apr 8, 2015

Here is how it should work, as documented in this FAQ: https://piwik.org/faq/how-to/faq_19616/

  • By default Piwik will create a new visit whenever a visitor views your website using a different campaign information from the visitor’s ongoing visit. You can disable this behavior by setting create_new_visit_when_campaign_changes=0 under [Tracker] section in your config/config.ini.php file.
  • By default, Piwik won’t create a new visit when a visitor views your website using a different website referrer information. You may configure Piwik to force it to create a new visit whenever a visitor uses a new website referrer.

if you find it does not work in this way as you'd expect, please reopen the issue

@mattab mattab closed this as completed Apr 8, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants