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

Problem with overriding referrer information in GoalsManager #2800

Closed
zawadzinski opened this issue Nov 24, 2011 · 3 comments
Closed

Problem with overriding referrer information in GoalsManager #2800

zawadzinski opened this issue Nov 24, 2011 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@zawadzinski
Copy link
Contributor

Lines 281-303 in GoalsManager.php (especially point 2)) cause Piwik behaving vaguely.

What I mean here is that visit gets recorded under Direct Entry, and Goal under i.e. Search Engine (see attached screenshot as an example of the report)

How to reproduce?

Clear piwik database and execute the following piwik.php requests (captured from test website where we noticed the issue happening) - what's strange we noticed that this was happening in Chrome only as it directs thru Google the request?

piwik.php?action_name=Welcome%20-%20Stokes%2C%20Braun%20and%20McDermott&idsite=107&rec=1&r=220360&h=16&m=41&s=17&url=http%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2F&_id=3562a3582547b0ed&_idts=1322058831&_idvc=4&_idn=0&_refts=1322148588&_viewts=1322145997&_ref=http%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26frm%3D1%26source%3Dproductsearch%26cd%3D2%26ved%3D0CDIQgwgwAQ%26url%3Dhttp%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fproducts%2Ffifa-12-xbox-360%26ctbm%3Dshop%26ei%3D-VK5TrONFo_Osgbn3oG5Bg%26usg%3DAFQjCNG_OUOFDar932LMnomAsSAkxM8rHA%26sig2%3Ddc4acBdmxUkr048RaEFtjA&pdf=1&qt=1&realp=0&wma=1&dir=0&fla=1&java=1&gears=0&ag=1&res=1920x1080&cookie=1

piwik.php?action_name=Fifa%2012%20PS%20-%20Stokes%2C%20Braun%20and%20McDermott&idsite=107&rec=1&r=627241&h=16&m=41&s=53&url=http%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fcollections%2Ffrontpage%2Fproducts%2Ffifa-12-ps&urlref=http%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fcollections%2Fall&_id=3562a3582547b0ed&_idts=1322058831&_idvc=4&_idn=0&_refts=1322148588&_viewts=1322145997&_ref=http%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26frm%3D1%26source%3Dproductsearch%26cd%3D2%26ved%3D0CDIQgwgwAQ%26url%3Dhttp%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fproducts%2Ffifa-12-xbox-360%26ctbm%3Dshop%26ei%3D-VK5TrONFo_Osgbn3oG5Bg%26usg%3DAFQjCNG_OUOFDar932LMnomAsSAkxM8rHA%26sig2%3Ddc4acBdmxUkr048RaEFtjA&pdf=1&qt=1&realp=0&wma=1&dir=0&fla=1&java=1&gears=0&ag=1&res=1920x1080&cookie=1

piwik.php?action_name=Your%20Shopping%20Cart%20-&idsite=107&rec=1&r=127979&h=16&m=42&s=10&url=http%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fcart&urlref=http%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fcollections%2Ffrontpage%2Fproducts%2Ffifa-12-ps&_id=3562a3582547b0ed&_idts=1322058831&_idvc=4&_idn=0&_refts=1322148588&_viewts=1322145997&_ref=http%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26frm%3D1%26source%3Dproductsearch%26cd%3D2%26ved%3D0CDIQgwgwAQ%26url%3Dhttp%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fproducts%2Ffifa-12-xbox-360%26ctbm%3Dshop%26ei%3D-VK5TrONFo_Osgbn3oG5Bg%26usg%3DAFQjCNG_OUOFDar932LMnomAsSAkxM8rHA%26sig2%3Ddc4acBdmxUkr048RaEFtjA&pdf=1&qt=1&realp=0&wma=1&dir=0&fla=1&java=1&gears=0&ag=1&res=1920x1080&cookie=1

piwik.php?idgoal=1&revenue=50000&idsite=107&rec=1&r=182633&h=16&m=42&s=10&url=http%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fcart&urlref=http%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fcollections%2Ffrontpage%2Fproducts%2Ffifa-12-ps&_id=3562a3582547b0ed&_idts=1322058831&_idvc=4&_idn=0&_refts=1322148588&_viewts=1322145997&_ref=http%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26frm%3D1%26source%3Dproductsearch%26cd%3D2%26ved%3D0CDIQgwgwAQ%26url%3Dhttp%3A%2F%2Fstokes-braun-and-mcdermott7017.myshopify.com%2Fproducts%2Ffifa-12-xbox-360%26ctbm%3Dshop%26ei%3D-VK5TrONFo_Osgbn3oG5Bg%26usg%3DAFQjCNG_OUOFDar932LMnomAsSAkxM8rHA%26sig2%3Ddc4acBdmxUkr048RaEFtjA&pdf=1&qt=1&realp=0&wma=1&dir=0&fla=1&java=1&gears=0&ag=1&res=1920x1080&cookie=1

@zawadzinski
Copy link
Contributor Author

Attachment:
1.jpg

@mattab
Copy link
Member

mattab commented Nov 25, 2011

Expected behavior (the user has a referrer stored in his cookie, so when direct entry, we use the "last known non empty referrer").

See the faq Why are there sometimes 0 visits, but some conversions recorded, for example for a Keyword, a Website or a Custom Variable?

@mattab
Copy link
Member

mattab commented Nov 25, 2011

Note the problem will mostly happen on "day" reports. The data will look better on Week or monthly reports, because most visitors come back and convert within a few days.

@zawadzinski zawadzinski added this to the 1.7 Piwik 1.7 milestone Jul 8, 2014
This issue was closed.
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

2 participants