Custom Integrations - Using Device Tracker Documentation


This API allows you to request a new device tracker URL for your users so that they or you can embed a JavaScript fraud tracker into their domain.

Calling Request Token

https://www.ipqualityscore.com/webhooks/ExampleIntegration/json/generate_device_tracker

Request Parameters
Parameter Description Example Value / Format
key Your site's domain or the domain that requested this integration. REQUIRED google.com
secret Your user's current secret created during the authentication process. REQUIRED char(128)
domain The domain this JavaScript/pixel will be placed on. If this parameter is not passed the domain will default to your key. varchar(256)

Result

Note: Only JSON responses are available from this API and this API should ONLY be called server side for security reasons.

The result of this API will provide you with both the tracking JavaScript link and the pixel link. It is possible to use both provided the pixel is wrapped in a noscript tag.

Parameter Description Example Value / Format
message Description of the status of this call. May contain errors if errors exist. text
success Boolean result of if the request was successful or not. boolean
domain The domain which these URLs can be used on. varchar(256)
tracker The unique authentication key for these tracker links. This can also be found in the URLs below. char(256)
script_url The URL to the device tracking JavaScript without the script open/closing tags. string
pixel_url The URL to the device tracking pixel without the img open/closing tags. string
Example Code