Consentry is the easiest way for you to obtain and maintain data usage consent from your users. It automatically detects, categorises, and summarises what services you are using via Segment, and keeps up to date as you add and remove services.
Preparing to install Consentry
Finding your Segment Write Key
If you haven't already, you will need to set up a Segment account.
Getting links for your privacy and cookie policies
Find the cookie and privacy policies on your site and copy down their URLs. We recommend using the relative URLs if you can (for example,
/cookies instead of
Consentry replaces the standard Segment snippet, but all of your calls to the standard Segment API
segment.identify, etc.) will continue to work as normal. They'll simply be managed by Consentry to ensure that they're respecting your users' privacy preferences, and regional data protection regulations such as the GDPR and the CCPA.
Removing your Segment snippet
If you don't already have Segment installed, you can skip this step and continue on to installing your Consentry snippet.
1 2 3 4 5 6
You will be replacing your Segment snippet with your Consentry snippet. Consentry will automatically load the specific Segment services that your user has agreed to, so there is no need to keep the old Segment code around.
Delete the Segment snippet from within your
Installing your Consentry snippet
Paste the following Consentry snippet into the location where you just removed the Segment snippet from. If you didn't have a Segment snippet already, paste the Consentry snippet so that it's the first script in your
1 2 3 4 5 6 7 8 9 10 11 12
And you're done. Your installation validator will now confirm that you're installed, and users will begin to get prompted for consent before they are cookied by any of the services that you use.