Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

Subsequent requests from same User ID not appearing in user ID visits log

$
0
0

I’m experiencing what I feel to be a bug. Concrete description of what I’m doing for a customer:

The customer launched a marketing campaign targeting users to book an event over a landingpage. The sequence of events is:

  • Users receive an e-mail
  • click on a button on it
  • arrive on the landingpage > this should be tracked, event (A)
  • click on a button on that landingpage > this should be tracked, event (B)
  • which then redirects them to a calendly booking page, where they perform the booking > the performed booking should be tracked, event (C).

Mission: Have to track the entire event sequence A-C.

I cannot control the booking integration (I know it would be much better for the tracking of the entire event sequence to have the booking system integrated on the LP itself). Redirects after the booking process back to the LP are also not allowed.

I’m using Calendly’s Webhooks feature to forward the event of an booking through Calendly to Matomo. This works, but there is one problem with it:

  • Due to the problem mentioned here, we’ve set our configs to:
[Tracker]
enable_userid_overwrites_visitorid = 0

This successfully merges actions of an unidentified visitor to the ones of the same visitor if a user ID is assigned to later actions of the same visitor for the same visit.

But, with this config (Matomo 5.0.3), we have the problem that, when tracking (C) via webhook endpoint configured for calendly, Matomo initiates a completely new visit. Even if (A) and (B) are performed just a few seconds before (C), Matomo creates a completely new visit for the event (C).

If it would only be that problem, that’s fine, but the weird thing is that event (C) does not appear in the visitor profile of the identified user. Even if all the events (A), (B) and (C) are submitted with the cid parameter set to the same value, they are not merged into the visitor profile of the user of that cid!
I guess this must be a bug?

We’ve even programmed to omit the cip URL parameter in the tracking request URL that forwards the event (C) from Calendly to Matomo, as it was anyway not useful to submit the IP address of Calendly’s Webhook server as the client IP of our tracked request. But this did not change anything; the event (C) is still no part of the actions of the visitor profile for the concerned identified user. This makes it extremely frustrating to track the last event (C) of this event sequence. Although we track all three events with the same user ID (cid), the event (C) does not appear in the visits view of the visitor profile (Visits > Visitor Log > top right link saying “check visitor profile”, which should list all visits of the user of that user ID, but for the event (C) exclusively lists one visit (#1) with only the Calendly action tracked via webhook).

If this is not a bug, why is this happening, and how can we properly include the event (C) into the visitor profile of the concerned user?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles