Integration: Opt-out Pages
Opt Out Pages
If you’re doing business in the EU, the odds are your site already has an opt-out mechanism available to visitors. Including this code with your site’s opt-out mechanism will handle all Algonomy cookies for you.
RR.setOptOut: This function sets the opt-out status for the user, making a request to the Algonomy opt-out servlet and persisting the opt-out setting in the client-side cookie. You’ll need to pass the site API key and a Boolean value (distinguishing between opt-out and opt-in).
Also Included: Optional cookie management and JSONP frameworks, in case you’re not using frameworks that manage and cookies and JSONP.