Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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_ref query string parameter to the landing page URL and populates with a unique value.

  • The im_ref query 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 ClickId value for the visitor along with the associated conversion data.

What to expect

This integration guide is simplified into two primary steps.

  1. Complete the Implementation steps on your site. This involves developing and implementing a method to capture the im_ref value and make server-side API calls to the Conversions endpoint of the impact.com Brand API.

  2. Complete an End-to-End Test on your site.

Check before integrating

Last updated