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

[2.13.0-rc1] every click a new visit? #7752

Closed
ThaDafinser opened this issue Apr 23, 2015 · 12 comments
Closed

[2.13.0-rc1] every click a new visit? #7752

ThaDafinser opened this issue Apr 23, 2015 · 12 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@ThaDafinser
Copy link
Contributor

Some users generate now on every click a new visit, but not all.

Intranet settings

[Tracker]
trust_visitors_cookies = 1
visit_standard_length = 7200
window_look_back_for_visitor = 259200
enable_language_to_country_guess = 0
new_visit_api_requires_admin = 0
@ThaDafinser
Copy link
Contributor Author

New working settings...need to figure out which setting is the problem

[Tracker]
visit_standard_length = 7200
enable_language_to_country_guess = 0

But i wonder what has changed since 1.12? I didnt found something in changelog.

@ThaDafinser
Copy link
Contributor Author

The problem comes from window_look_back_for_visitor = 259200

Note: i also use the userId feature (if that helps)

@tsteur
Copy link
Member

tsteur commented Apr 24, 2015

Hi @ThaDafinser . Do you track via piwik.js?

@ThaDafinser
Copy link
Contributor Author

@tsteur yes. But i couldnt find out, why it happens to some users and some not.

Without using window_look_back_for_visitor it seems to be "stable" again

See the crazy action on the screenshots. even 6s after the last click a visitor gets counted as a new one

visitor_action_log
visitor_log

@tsteur
Copy link
Member

tsteur commented Apr 27, 2015

You meant you upgraded from 2.12, not 1.12 right?

@mattab mattab added this to the Piwik 2.13.0 milestone Apr 27, 2015
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Apr 27, 2015
@tsteur
Copy link
Member

tsteur commented Apr 27, 2015

I can reproduce it!

@tsteur
Copy link
Member

tsteur commented Apr 27, 2015

In my case the problem was related to setCookieDomain.

Eg I used on my local dev _paq.push(['setCookieDomain', '*.piwik']); which didn't work as it couldn't set a cookie for *.piwik. After changing it to _paq.push(['setCookieDomain', '*.apache.piwik']); it worked. Do you maybe use something similar?

Update: Many visits can now also happen if users have cookies disabled (refs #4321), and it might be a bug as it should fallback to configId maybe?

There was a change related to this in Piwik 2.11.2. If you used Piwik 2.12 before, it cannot really explain it.

@ThaDafinser
Copy link
Contributor Author

@tsteur yes i upgraded from 2.12.

Since i only change the setting window_look_back_for_visitor ...i will check if that helps in my case too.

@tsteur tsteur removed their assignment Apr 28, 2015
@mattab
Copy link
Member

mattab commented Apr 29, 2015

Hi @ThaDafinser

can you please try with RC3 and if you still see the error, re-open this issue?

@mattab mattab closed this as completed Apr 29, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Apr 29, 2015
@tsteur tsteur reopened this Apr 29, 2015
@tsteur tsteur modified the milestones: Piwik 2.14.0, Piwik 2.13.0 Apr 29, 2015
@tsteur
Copy link
Member

tsteur commented Apr 29, 2015

I cannot really see how window_look_back_for_visitor could cause this issue. By default a value of 1800 (visit_standard_length config setting) is used for this. Setting a higher value for this should not cause more visits. Clearly there are too many visits created here. As a userId is set, the cookie stuff that I mentioned cannot really cause this I think. Can you confirm removing this setting does not cause too many visits?

@tsteur tsteur removed the answered For when a question was asked and we referred to forum or answered it. label Apr 30, 2015
@ThaDafinser
Copy link
Contributor Author

I trynow 2.13. But i removed the setting already and now i just have a slightly higher visitor count (since the look_back is lower of course)

@tsteur
Copy link
Member

tsteur commented May 6, 2015

OK. If you can reproduce again please reopen this issue. Cheers

@tsteur tsteur closed this as completed May 6, 2015
@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label May 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants