Session recordings in PageSense use cookies to identify individual visitors' sessions, and track their behavior on your website. This cookie generates a unique name for each visitor session that combines an ‘animal name’ and an ‘adjective’, such as "Hilarious Manatee". However, you can integrate our distinctive Identity API inside the PageSense tracking snippet on your website, if you wish to identify a certain person or event from the list of recordings in your report page.
How to add PageSense Identity API using Google Tag Manager (GTM):
Please go through the steps written below in-detail to help you insert the mentioned script with ease using Google Tag Manager (GTM).
Step 1: Login to your GTM account and open the relevant container.
Step 2: Create a new Data Layer Variable with the label 'IdentityInfo’
Step 3: Click on Triggers to create a new custom event and label it ‘zohoPageSenseEvent’.
Step 4: Click on Tags.
- Create a new Custom HTML tag and paste the below code:

<script>
window.pagesense = window.pagesense || [];
window.pagesense.push(['identifyUser', {{IdentityInfo}} ]);
</script>
- Click Triggers -> Select ‘zohoPageSenseEvent’ as your trigger.
Step 5: Click on Save followed by Submit and Publish the changes made.
Now, the variable where the data is stored needs to be passed from your website into the GTM Data Layer Variable.
Step 6: Kindly add the below mentioned code to your website. Replace ‘xxxx’ with the JS Variable that contains the Identity Information on your end.

window.dataLayer.push({ 'IdentityInfo': xxxx, 'event':'zohoPageSenseEvent' });
Output:
The below attached screenshot is how your Session Recording test report output will look like. Similarly you can view results for Polls and Pop-Ups too.
We hope this documentation is self-explanatory and helps you understand the process with ease. Please feel to reach out to us anytime by dropping a mail to support@zohopagesense.com, in-case you need more explanation or have any queries.