Introduction to API (Online Sale)
Online sale conversions can be tracked and reported to impact.com via a server-side API integration.
How it works
A visitor is redirected to your site from an impact.com partner tracking link, which appends a unique impact.com
im_refquery string parameter to the landing page URL and populates with a unique value.The
im_refquery string parameter value is captured by your site and stored in either a first-party cookie, or stored server-side. The effective lifetime of the cookie must match how long your contracts' referral window is set to, typically 30 days.When that visitor converts, a POST request is made to the Conversions endpoint, with a payload that includes the stored
ClickIdvalue for the visitor along with the associated conversion data.
What to expect
This integration guide is simplified into two primary steps.
Complete the Implementation steps on your site. This involves developing and implementing a method to capture the
im_refvalue and make server-side API calls to the Conversions endpoint of the impact.com Brand API.Complete an End-to-End Test on your site.
Check before integrating
See Create an Event Type for the steps to create your API event type.
Last updated

