Custom User ID

I Ivan

Want to improve your website?

Try the Plerdy Chrome extensions: SEO Analyzer + UX Testing. Get instant SEO insights, AI-powered SEO reports, predictive heatmaps & scroll maps, quick usability checks, and AI-driven UX tips to boost conversions.

You need to add before the Plerdy tracking code:
<script type='text/javascript' defer>
window.customPlerdyVisitorId = "ewewewewqq";
</script>

ewewewewqq – add a unique User ID, up to 64 characters.

Once installed on the site pages, the User ID will be automatically replaced in new video sessions.

2

GB
1ecde9adb5c0e8b420d212fa4

For the user who started the previous session, the ID will change automatically when the new session starts after 30 minutes.

This code can record and add user IPs to the video session:

<script defer>
fetch('https://api.ipify.org?format=json')
.then(function(response) {
return response.json();
})
.then(function(data) {
window.customPlerdyVisitorId = data.ip;
})
.catch(function(error) {
console.error('Error fetching user IP:', error);
});
</script>

Was this helpful?