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

Some user visit/actions are not tracked in piwik; Piwik gives successful 200 OK response but failed to update piwik database #12078

Open
BrijeshSetty opened this issue Sep 19, 2017 · 12 comments

Comments

@BrijeshSetty
Copy link

Sometimes we see few users are not tracked. Piwik able to track those users for few days & later sometime it missed to update in database. In rest response piwik says 200 OK successful in response but it is actually not updated database, it is missed to update.

Ex:
Piwik was able to track & update the events for the other/same users before & after that 1 mins, only issue occur for sometimes.

I

@sgiehl
Copy link
Member

sgiehl commented Sep 20, 2017

There are many reasons why visitors might not be tracked (like AdBlocker, DNT, Opt-Out,...).
Can you give any more detailed information that would allow us to reproduce your issue in any way?

@BrijeshSetty
Copy link
Author

We have analysed on Adblocker, DNT, Opt-Out. But this issue is not on the browser side.
From browser piwik request is going to Piwik server & Piwik server response says 200 OK. For the same user piwik able to track for 10 mins before & 10 mins after, but problem is only for that 10 mins.

We investigated http server logs & could see in that 10 mins duration server logs are captured & data is not pushed to DB. When we did replay of those users for those action then piwik able to capture data in DB.

This is inconsistent issue that happens only for some duration & works fine later.

@mattab
Copy link
Member

mattab commented Sep 22, 2017

This sounds like a server issue rather than Piwik issue. Is there any error in the web server error log?

@BrijeshSetty
Copy link
Author

10.0.3.141 - - [30/Aug/2017:13:31:37 +0000] "GET /piwik/piwik.php?action_name=MyApp&idsite=1&rec=1&r=661663&h=9&m=32&s=28&url=https%3A%2F%2Fmyapp.com%2F&uid=abc@myapp.com&_id=dda6c4dce8eefff6&_idts=1504099943&_idvc=1&_idn=0&_refts=0&_viewts=1504099943&send_image=1&pdf=0&qt=0&realp=0&wma=0&dir=0&fla=1&java=1&gears=0&ag=1&cookie=1&res=1280x1024&gt_ms=8 HTTP/1.1" 200 86 "https://myapp.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"

This is server logs. Piwik said 200 OK but not updated in database

@BrijeshSetty
Copy link
Author

There is NO error trace either in Web server or Piwik :(

@sgiehl
Copy link
Member

sgiehl commented Sep 25, 2017

How is your website configured in Piwik? Have you set all urls for the website? Is the option to only track visits for those urls active?

@BrijeshSetty
Copy link
Author

Yes it is configured & all page of mypp page we are sending calls to piwik.

Note: This issue is happening only for few minutes & again it is tracked user visits. It is only happening for 4-5 mintues duration

@sgiehl
Copy link
Member

sgiehl commented Sep 25, 2017

How is your server set up? Do you use a proxy?

@BrijeshSetty
Copy link
Author

Piwik & Myapp hosted on same server. We are not using proxy.

@BrijeshSetty
Copy link
Author

Piwik & Myapp deployed on same AWS server. We are not using proxy.

@BrijeshSetty
Copy link
Author

One more point when we do replay for missed users
then it will successfully update in database

@BrijeshSetty BrijeshSetty changed the title Some user visit/actions are not tracked in piwik Some user visit/actions are not tracked in piwik; Piwik gives successful 200 OK response but failed to update piwik database Sep 25, 2017
@mattab
Copy link
Member

mattab commented Sep 26, 2017

It sounds like a server issue rather than Piwik issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants