Hi everyone! Has anyone enabled session replay and heatmaps using the GTM tag? I'm asking because I'm trying to set this up on GTM, but it only works in preview mode. Once it's in production, the session replay doesn't trigger at all, even with 100% recorded sessions. Thanks!
Rodrigo P. It's working for me. Can you share your Initialization tag screnshot? maybe you've done something wrong.
Please hide the Project token while sharing.
Hi Ansh A.! My Init tag is working! I have a second tag that enables session recording only when the user visits specific pages. Hereβs my setup: an Init tag to initialize Mixpanel, a second tag to register the correct anonymous_id (I'm sending all events from Segment, and since Segment doesn't have a session replay feature, I need to implement this in GTM. Therefore, I require this tag to stitch the data from GTM into the Segment events), and a third tag for session recording that triggers on specific pages. So the tag order is Init -> Register -> Session recording
I think the GTM integration isn't very smart at enabling session replay after initialization. It looks like your tag is set to require analytics_storage consent before it fires. Is it possible in production, that consent isn't being granted by the time that tag fires?
