You can pass a custom identifier with the contacts you collect with Retention.com. This identifier will be included in the payload we send via the integrations you have set up, allowing you to connect an email to the identifier provided. You will also be able to view the identifier in your Retention.com account.
How to set up the Custom Identifier
1. Ensure you've added the Retention collection script to your website.
The code for your customer identifier should be appended between the
geq.load() function and the closing
</script> tag. See the image below:
Custom Identifier code
2. Replace the value for user_id with your respective identifier.
3. Add the code to your site:
4. Once you've added the custom identifier to your site, it will be passed to your integration as 'user_id' — and will also appear in Retention.com with the contact as Custom Identifier.
You'll also see the identifier in the CSV file if you download your contacts:
How to add an integration identifier
You can also add an integration identifier to your contacts collected by Retention.com. The identifier — "GE" — is not visible in your contact details (like the above option) since it's added post-collection.
Once this setting is enabled by support, the field value that we send is data_source = GE.
Below is an example of how the identifier will appear in an ESP once you've integrated with Retention.com:
Have questions? Email us at firstname.lastname@example.org or message us on chats