matomo-org / matomo-sdk-android

SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
BSD 3-Clause "New" or "Revised" License
387 stars 163 forks source link

Single session with actions from multiple visitor ids #320

Closed ColeKainz closed 2 years ago

ColeKainz commented 2 years ago

Hey all.

My company seeing sessions with actions from multiple visitors stitched together. Basically, I see action from user 1 -> action from user two -> action from user 1.

The users have different user and visitor IDs, in many cases user 1 has no user ID. I noticed this thread discussing visit stitching (d4rken's second comment). Could this be what I'm running in to?

Through the Matomo portal I only see one vistor ID per session, despite actions from different users existing in the session. When querying the data through the Matomo API, each user in a session has a different visitor ID.

As far as I know these users have nothing to do with each other, other then when they opened the app. These sessions seem to have users who opened the app around the same time, so Matomo may be resolving them to the same visit ID? This is just a guess, and if this is true it doesn't happen consistently at all (this hasn't happened in our development Matomo server, where QA is switching between testing accounts all the time).

Any thoughts?

ColeKainz commented 2 years ago

Does anyone have an idea as to what's going on here?

ColeKainz commented 2 years ago

This is in the way of my company's business objectives. Does someone want to meet up in a live chat (telegram) to discuss this?

d4rken commented 2 years ago

If this is business critical, consider enterprise support.

ColeKainz commented 2 years ago

I'll look into it, thanks.