Hi, I have added the stape.io braze sGTM tag.
At the moment, the tag only fires when I provide an external_id or braze_id - so it does not track anonymous users. The braze Client SDK instead tracks customers without a login as anonymous users and provides a random braze_id.
So two questions:
Do you have any information if braze prefers a hybrid setup or a server-only setup?
If hybrid, how can we deduplicate the events?
If server-only: How can we identify anonymous users as well?
Unfortunately, no. We haven’t found anything about that in their docs.
I’m not sure this is currently possible. They don’t offer any parameters to send an Event ID or something like that.
Do you mean: track anonymous users? If so, we can add a task to our backlog for adding this feature to the template. (A checkbox that enables generating a random Anonymous ID, use it as the braze_id and save it into a cookie).
Hi, sorry for the late reply.
I reached out to the braze team about it. So what basically happens:
braze creates an anonymous user when no external_id is passed to the SDK
all subsequent events are attached to this anonymous user profile
once the user logs in or registers, a changeUser can be triggered (passing the external_id to the SDK) and the SDK will merge the two profiles (anonymous + external_id).
Maybe this helps to improve the braze sGTM template.
I had already created a task to improve the template with the Anonymous ID after your first message. It’s in our backlog, but we currently don’t have an ETA.