Tracking of events of any type for logging and future analysis purposes
Endpoints to capture events.
In each endpoint, the complete requested will be captured. Thus, additional query parameters and json properties in the request payload can be added on top of the ones described here.
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters and all request headers (including CDP-specific cookies).
This endpoint then returns the string "OK".
id_{idType} | string Overrides the request UserId which is extracted by Cookie by default. The |
user[type] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
user[id] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
cookieCheck | string If missing along with the adstax_uid Cookie, the request will be redirected to self to test cookie stickiness. The redirect will have this query param set to true. |
clientId | string The client identifier |
siteId | string The site identifier |
type | string The event type |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
Cookie | string
|
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters, the body payload and all request headers (including CDP-specific cookies).
This endpoint then returns the string "OK".
id_{idType} | string Overrides the request UserId which is extracted by Cookie by default. The |
cookieCheck | string If missing along with the adstax_uid Cookie, the request will be redirected to self to test cookie stickiness. The redirect will have this query param set to true. |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
Cookie | string
|
Event to capture. Fields declared here take precendence over query parameters. The event can have more properties (nested properties as well) than the ones defined below.
clientId | string The client identifier. |
siteId | string The site identifier. |
type | string The event type. |
object Overrides the request UserId which is extracted by Cookie by default. It has less precedence than the |
{- "clientId": "string",
- "siteId": "string",
- "type": "string",
- "user": {
- "type": "string",
- "id": "string"
}
}
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters and all request headers (including CDP-specific cookies).
This endpoint then redirects to the given URL.
id_{idType} | string Overrides the request UserId which is extracted by Cookie by default. The |
user[type] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
user[id] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
cookieCheck | string If missing along with the adstax_uid Cookie, the request will be redirected to self to test cookie stickiness. The redirect will have this query param set to true. |
ourl required | string The URL to which the browser will be redirected. This field must be URL-encoded. |
clientId | string The client identifier |
siteId | string The site identifier |
type | string The event type |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
Cookie | string
|
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters, the body payload and all request headers (including CDP-specific cookies).
This endpoint then redirects to the given URL.
id_{idType} | string Overrides the request UserId which is extracted by Cookie by default. The |
cookieCheck | string If missing along with the adstax_uid Cookie, the request will be redirected to self to test cookie stickiness. The redirect will have this query param set to true. |
ourl required | string The URL to which the browser will be redirected. This field must be URL-encoded. |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
Cookie | string
|
Event to capture. Fields declared here take precendence over query parameters. The event can have more properties (nested properties as well) than the ones defined below.
clientId | string The client identifier. |
siteId | string The site identifier. |
type | string The event type. |
object Overrides the request UserId which is extracted by Cookie by default. It has less precedence than the |
{- "clientId": "string",
- "siteId": "string",
- "type": "string",
- "user": {
- "type": "string",
- "id": "string"
}
}
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters and all request headers (including CDP-specific cookies).
This endpoint then redirects to the given URL with some differences from the events/click
endpoint.
It deals with query parameters in a more permissive way. All query
parameters declared after the ourl will be appended to the specified URL.
For example, the request /events/click0?a=1&ourl=http://test.com?b=1&c=1
will redirect to
http://test.com?b=1&c=1
, whereas with /events/click?a=1&ourl=http://test.com?b=1&c=1
would
redirect to http://test.com?b=1
.
id_{idType} | string Overrides the request UserId which is extracted by Cookie by default. The |
user[type] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
user[id] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
cookieCheck | string If missing along with the adstax_uid Cookie, the request will be redirected to self to test cookie stickiness. The redirect will have this query param set to true. |
ourl required | string The URL to which the browser will be redirected. All query parameters defined after this will be added as query params to the URL defined here. |
clientId | string The client identifier |
siteId | string The site identifier |
type | string The event type |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
Cookie | string
|
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters, the body payload and all request headers (including CDP-specific cookies).
This endpoint then redirects to the given URL with some differences from the events/click
endpoint.
It deals with query parameters in a more permissive way. All query
parameters declared after the ourl will be appended to the specified URL.
For example, the request /events/click0?a=1&ourl=http://test.com?b=1&c=1
will redirect to
http://test.com?b=1&c=1
, whereas with /events/click?a=1&ourl=http://test.com?b=1&c=1
would
redirect to http://test.com?b=1
.
id_{idType} | string Overrides the request UserId which is extracted by Cookie by default. The |
cookieCheck | string If missing along with the adstax_uid Cookie, the request will be redirected to self to test cookie stickiness. The redirect will have this query param set to true. |
ourl required | string The URL to which the browser will be redirected. All query parameters defined after this will be added as query params to the URL defined here. |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
Cookie | string
|
Event to capture. Fields declared here take precendence over query parameters. The event can have more properties (nested properties as well) than the ones defined below.
clientId | string The client identifier. |
siteId | string The site identifier. |
type | string The event type. |
object Overrides the request UserId which is extracted by Cookie by default. It has less precedence than the |
{- "clientId": "string",
- "siteId": "string",
- "type": "string",
- "user": {
- "type": "string",
- "id": "string"
}
}
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters and all request headers (including CDP-specific cookies).
This endpoint then returns a pixel image.
id_{idType} | string Overrides the request UserId which is extracted by Cookie by default. The |
user[type] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
user[id] | string Overrides the request UserId which is extracted by Cookie by default. It must be defined together with |
cookieCheck | string If missing along with the adstax_uid Cookie, the request will be redirected to self to test cookie stickiness. The redirect will have this query param set to true. |
clientId | string The client identifier |
siteId | string The site identifier |
type | string The event type |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
Cookie | string
|
Parses an event as JSON based on a template and converts it to an AdStax event.
This endpoint then returns the string "OK".
template required | string The id of the template to apply. |
clientId | string The client identifier |
siteId | string The site identifier |
type | string The event type |
cookies | boolean Default: true If false, a new adstax_uid Cookie won't be generated if it is missing from the request. |
This endpoint is meant to be used for server-side requests sent on behalf of the user. It does not derive any additional details from the HTTP request, such as from the request IP or headers, and instead allows user metadata to be optionally provided, such as: User-Agent and Referer Headers, IP, documentLocation, and referrer at the time of the request.
All the contents of the HTTP request are logged and indexed for future analysis. That includes the full URL with query parameters, the body payload and all request headers (including CDP-specific cookies).
This endpoint then returns the string "OK".
Event to capture. The event can have more properties (nested properties as well) than the ones defined below.
clientId | string The client identifier. |
siteId | string The site identifier. |
type | string The event type. |
object Overrides the request UserId which is extracted by Cookie by default. It has less precedence than the | |
userAgentHeader | string The value of the User-Agent Header at the time the event was triggered on the user client. |
refererHeader | string The value of the Referer Header at the time the event was triggered on the user client. For example: |
documentLocation | string The Document.location of the page the user was at when it made the event. For example: |
referrer | string URL of the page the user was at before traveling to the page where the event was made.
This field can be obtained, for example, by using the For example: |
ip | string The user IP. |
timestamp | string Specifies the timestamp of the event, which must follow the following ISO 8601 format: Some examples of valid timestamps are |
{- "clientId": "string",
- "siteId": "string",
- "type": "string",
- "user": {
- "type": "string",
- "id": "string"
}, - "userAgentHeader": "string",
- "refererHeader": "string",
- "documentLocation": "string",
- "referrer": "string",
- "ip": "string",
- "timestamp": "string"
}
Timestamp is out of range. The event must not have occurred more than 24 hours ago.
The CDP privacy cookie is updated so that future match requests for that user are ignored.
token required | string A token needed for alteration to the cookie privacy status.
It must match the token found inside the cookie |
{- "status": "cookie",
- "token": "string"
}
The CDP privacy cookie is updated so that future match requests for that user are ignored.
token required | string A token needed for alteration to the cookie privacy status.
It must match the token found inside the cookie |
{- "status": "cookie",
- "token": "string"
}
The CDP privacy cookie is updated so that future match requests are considered normally.
token required | string A token needed for alteration to the cookie privacy status.
It must match the token found inside the cookie |
{- "status": "cookie",
- "token": "string"
}
The CDP privacy cookie is updated so that future match requests are considered normally.
token required | string A token needed for alteration to the cookie privacy status.
It must match the token found inside the cookie |
{- "status": "cookie",
- "token": "string"
}