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

Implementation

The exact method in which you implement server-side API calls to impact.com on your site is up to your discretion and specific requirements. This page describes what you'll need to do and keep in mind when implementing.

impact.com also strongly recommends implementing an intelligent retry functionality for API calls that may fail. Any call that results in a 5XX response code should be retried automatically.

Check before integrating

impact.com will complete several integration steps on your behalf. Check with your implementation engineer to ensure that the following configuration steps have been completed: Event Type, Gateway Tracking, General Tracking.

Capture & Store im_ref

  • impact.com will dynamically populate an im_ref value in your landing page URL (e.g. https://www.example.com/store/product1?im_ref=1234567) when visitors are directed to your site from an impact.com tracking link. The query string parameter name is im_ref.

  • The im_ref value should be captured and stored in the browser (e.g., in a first-party cookie) and available if the same visitor returns directly to your site in another session.

  • If, during the customer journey, the website URL changes from one domain to another, the stored im_ref value should be passed and stored under the new domain.

Report conversions to the /Conversions/ endpoint

When a conversion event occurs, you’ll need to make a server-side API call to the /Conversions/ endpoint with conversion data. When impact.com receives this data, attribution for the conversion is determined and awarded to a partner, making it a new pending action.

Example call

In the example below:

  • There are two (2) Product Name 1 items being purchased at a unit price of 14.00 each for a SKU set subtotal of 28.00.

  • There are three (3) Product Name 2 items being purchased at a unit price of 33.00 each for a SKU set subtotal of 99.00.

  • impact.com will take the $15 discount passed and apply that proportionately to all items in the purchase.

A /Conversions/ call can be customized based on your specific requirements — refer to the full endpoint documentation to learn about additional parameters.

Once the impact.com app is fully installed, you can begin end-to-end testing to ensure everything is working properly. Learn how to proceed with End-to-End Testing.

Last updated