Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Same-session metric tracking

chrisw78940856
Level 2
Level 2

We've come across a use case where it's important for us to track when a visitor completes a transaction within their first session upon entry in to an activity.

My question is: What's the best way to do this?

I thought about incrementing a cookie value by 1 for each new session, and only tracking event if cookie value is 1, but I'm not sure if there's a more efficient way to do this.

Otherwise, can I pull the SessionID from the existing mbox cookie and use that value?

Appreciate any support here.

0 Replies