Attributes
CampaignId
integer
CampaignId
integerUnique identifier for your program (or campaign) on impact.com. Viewable in the platform by selecting your account name from the top left corner—your campaign ID is the integer in gray type under Programs section.
PageUrl
string
PageUrl
stringDestination URL that is intercepted by the app.
- If the app open occurs from an impact.com tracking link, send the full tracking link (e.g.,
https://mysite.pxf.io/c/1234567/12345/1234?sharedid=abcd
)
Tip
When testing clicks and events, be sure to append the
?impacttest=1
parameter to yourPageUrl
.
- If the app is opened directly (e.g., not redirected from a URL), do not send any value
- If the app open occurs from a non-Impact URL, send the actual URL with
https:
(e.g.,https://www.example.com?name=value
) - If the app open occurs using a custom URI scheme, send the full URI (e.g.
app://view?sharedid=abcd
)
PropertyId
integer
PropertyId
integerFor mobile app opens, this value is the "System App ID" of your app in impact.com. Found in Settings → Mobile Apps.
AppleIfa
string
AppleIfa
stringApple ID for Advertising (IDFA) associated with the mobile device the customer converted on. Used for attribution purposes. Typically only available for iOS in-app conversions.
GoogAid
string
GoogAid
stringGoogle Advertising ID associated with the mobile device the customer converted on. Used for attribution purposes. Typically only available for Android in-app conversions.
EventDate
string
EventDate
stringTime and date when the conversion event actually took place, in ISO 8601 format.
ReferringUrl
string
ReferringUrl
stringURL of the website that the click originated from, such as the partner's website.
CustomProfileId
string
CustomProfileId
stringUnique identifier used to identify a visitor on your website (regardless of whether they're signed in). Common examples include anonymous user cookies and other anonymous user identifiers.
CustomerId
string
CustomerId
stringUnique identifier that you generate for your customers. Plain text email addresses are not permitted. Used for Insights reporting and conversion chaining.
CustomerEmail
string
CustomerEmail
stringThe email address you have on file for this customer. Primarily used to improve attribution for the conversion (particularly in cross-device situations). This field can either be hashed ahead of time using the SHA1 function or can be sent in plain text and will be subsequently hashed by the system. All values are hashed a second time using a SHA-256 function before storing.
TrackingConsent
boolean
TrackingConsent
booleanIndicates whether the user has provided consent to be tracked at the moment of the request. Derived from your consent management platform or through frameworks like Apple’s ATT (App Tracking Transparency) available on iOS.
To implement TrackingConsent
for iOS traffic, your app must request user permission to be tracked (available on iOS 14+, see Apple's App Tracking Transparency). Once your app starts requesting this permission, you can start passing the TrackingConsent
parameter. The TrackingConsent
value you pass is based on the user's AuthorizationStatus
.
Tracking Consent | Authorization Status |
---|---|
true | authorized |
false | denied notDetermined restricted |
UserAgent
string
UserAgent
stringUser agent of the customer, used to provide device reporting. Primarily used for web traffic. See DeviceMfr
and DeviceModel
for the equivalent for in-app requests.
AppleIfv
string
AppleIfv
stringApple ID for Vendors (IDFV) associated with the mobile device the customer converted on. Used for attribution purposes. Typically only available for iOS in-app conversions.
IpAddress
string
IpAddress
stringIP address of the customer. The IP address is used to help the system identify fraudulent activity. The IP address can be used for attribution in the case of installs.
AppName
string
AppName
stringName of the mobile app. Only for mobile events.
AppPackage
string
AppPackage
stringPackage name for the mobile app the user installed. Only for mobile events.
AppVer
string
AppVer
stringVersion of the mobile app. Only for mobile events.
DeviceMfr
string
DeviceMfr
stringReports the manufacturer of the user's device. This value is expected to programmatically retrieved from your app and passed in the request.
DeviceModel
string
DeviceModel
stringReports the model of the device. This value is expected to programmatically retrieved from your app and passed in the request.
Response
landingPage
string
landingPage
stringPresent only when PageUrl
is a gateway tracking link. Returns the Landing Page URL as passed as a deep link by the publisher in the u= parameter or the default configured on the Ad or Program. Can be used to route users to the appropriate in-app view.
clickId
string
clickId
stringUnique click ID value generated by impact.com.
sessionStart
datetime
sessionStart
datetimeThe time when the session started. impact.com uses the user identifiers provided to track the user session and deduplicate multiple requests.
warnings
object
warnings
objectReturns with any warnings about the request.
View more attributes
field
string
field
stringIndicates which field in the request body the warning is about.
level
enum
level
enumIndicates if the response is a warning or an error.
Possible enum values | |
---|---|
WARNING | The response is a warning about a certain field. In most cases, this means the request was still successfully received, but something about the data passed in a field was incorrect. |
ERROR | The response is an error about a certain field or field(s). The request could not be received and must be correctly resubmitted. |
message
string
message
stringA brief message about the warning.
errors
object
errors
objectFor a 400 Bad Request
, returns with the errors in the request.
View more attributes
field
string
field
stringIndicates which field in the request body the error is about.
level
enum
level
enumIndicates if the response is a warning or an error.
Possible enum values | |
---|---|
WARNING | The response is a warning about a certain field. In most cases, this means the request was still successfully received, but something about the data passed in a field was incorrect. |
ERROR | The response is an error about a certain field or field(s). The request could not be received and must be correctly resubmitted. |
message
string
message
stringA brief message about the error.
Example requests
{
"CampaignId": "1000",
"PageUrl": "http://mysite.pxf.io/c/1234567/12345/1234?sharedid=abcd",
"EventDate": "2024-08-01T23:55:24-08:00",
"ReferringUrl": "https://www.example.com/partnerblog",
"CustomerId": "BCZ2WVSH674563PDPYOTM3AXDQ",
"CustomerEmail": "914FEC35CE8BFA1A067581032F26B053591EE38A",
"UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15",
"IpAddress": "1.1.1.1"
}
{
"CampaignId": "1000",
"PageUrl": "http://mysite.pxf.io/c/1234567/12345/1234?sharedid=abcd",
"AppleIfa": "EA7583CD-A667-48BC-B806-42ECB2B48606",
"EventDate": "2024-08-01T23:55:24-08:00",
"ReferringUrl": "https://www.example.com/partnerblog",
"CustomerId": "BCZ2WVSH674563PDPYOTM3AXDQ",
"CustomerEmail": "914FEC35CE8BFA1A067581032F26B053591EE38A",
"IpAddress": "1.1.1.1",
"AppName": "Acme Products",
"AppPackage": "com.mysite.myapp.ios",
"AppVer": "2.0",
"DeviceMfr": "@\"Apple\"",
"DeviceModel": "iPhone13,2"
}
Example responses
{
"landingPage": "http://advertiser.com/test123?id=f03ce91d-06b3-4715-bb47-d16f6357d5f8&irclickid=RPR2vRT3hzf6TI5QkBW8EQSXUkESn2zfPwZbQM0&irgwc=1",
"clickId": "RPR2vRT3hzf6TI5QkBW8EQSXUkESn2zfPwZbQM0"
}
{
"clickId": "yv7V5RViuzloWEuXLBT3gVL:UkESnz3h3ToeXo0",
"sessionStart": "2021-04-08T21:32:20Z"
}
{
"landingPage": "http://examples.impactradius.com/antoni/test123?id=f03ce91d-06b3-4715-bb47-d16f6357d5f8&irclickid=wzdQ5hwwgz8GRb%3ARvv2WOQe3UkESn2UAW0000w0&irgwc=1",
"clickId": "wzdQ5hwwgz8GRb:Rvv2WOQe3UkESn2UAW0000w0",
"warnings": [
{
"field": "IpAddress",
"level": "WARNING",
"message": "Not a public ip address (10.0.0.1)"
}
]
}
{
"errors": [
{
"field": "CampaignId",
"level": "ERROR",
"message": "No campaign is found, check CampaignId (1095)"
}
],
"warnings": [
{
"field": "IpAddress",
"level": "WARNING",
"message": "Not a public ip address (10.0.0.1)"
}
]
}