This repository was archived by the owner on May 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Server side cookie management
Benjamin Diolez edited this page May 5, 2026
·
1 revision
These methods are only available for custom domains data collection (CDDC)
We provide several methods to manipulate your users’ server cookie.
These are GET HTTPS methods, to be carried out on your collection domain.
Return the user identifier
/cookie/get
If the user has an identifier:
{
"atid": "XXXX-XXXXX",
"opt-out": false
}If the user has opted out:
{
"atid": "opt-out",
"opt-out": true
}If the user doesn’t have an identifier:
{
"atid": null,
"opt-out": null
}Return the user status (opt-out)
/cookie/status
If the user has opted out:
{
"opt-out": true
}If the user has not opted out:
{
"opt-out": false
}If the user doesn’t have an identifier:
{
"opt-out": null
}Switch the user to opt-out
/cookie/optout
{
"atid": "opt-out",
"opt-out": true
}Switch the user to opt-in
/cookie/optin
{
"atid": "XXXX-XXXXX",
"opt-out": false
}Create a new identifier for the user
/cookie/reset
{
"atid": "XXXX-XXXXX"
}Delete the user identifier (cookie)
/cookie/delete
{
"atid": null
}// Switching to opt-out
if (typeof XMLHttpRequest === 'function') {
var xhr = new XMLHttpRequest();
xhr.withCredentials = true; // Mandatory if the current page domain differs from CDDC
xhr.open('GET', 'https://c.atinternet-solutions.com/cookie/optout', true);
xhr.send();
}Last update: 11/02/2020
-
Data API
- Data flow
- Advice optimizations data flow
- Error codes data flow
- Faq data flow
- General information data flow
- Technical information data flow
- Reporting API v3
- Getting started
- Methods
- Parameters
- Technical information
- REST API
- Campaigns
- Custom variables
- Getting started rest
- Methods rest
- Response structure parameters rest
- Fixed periods
- Parameters compatibility
- Relative periods
- Structure of the response
- “code” parameter
- “columns” parameter
- “evo” parameter
- “filter” parameter
- “include” parameter
- “lng” parameter
- “max-results” parameter
- “page-num” parameter
- “period” parameter
- “period” parameter: “H” v. “He” & “MN” v. “MNe”
- “retention” parameter
- “segmentdesc” parameter
- “segment” parameter
- “sep” parameter
- “sort” parameter
- “space” parameter
- Technical specifications rest
- Data flow
-
Data collection
- Android
- Advanced features
- Campaigns
- Changelog
- Content
- Ecommerce
- Getting started
- Users
- Apple
- Advanced features
- Campaigns
- Changelog
- Content
- Ecommerce
- Getting started
- Users
- General
- Cddc renew staging process
- Changelog
- Craft your hit
- Encoded parameters
- Server side cookie management
- Supported taggings
- Tagging deletion
- Utilisation of dispatch sdks
- JavaScript
- Advanced features
- Campaigns
- Changelog
- Content
- Ecommerce
- Getting started
- Partners javascript
- Users
- Piano Analytics
- Event tagging piano analytics
- Getting started piano analytics
- Piano analytics tagging
- Feeding piano analytics with as2 tagging
- Tagging custom properties sdk
- Android