Home Pixel Integration

Pixel Integration

By Azema
2 articles

Pixel Integration

Pixel integration allows you to track conversions by placing a small piece of tracking code — usually an image pixel or JavaScript — on your thank you or confirmation page. It’s a simple alternative to postbacks, especially useful when you don’t have access to server-side tracking or are working with static pages, form builders, or email campaigns. To understand how pixel tracking works in a real scenario, let’s walk through a typical flow from click to conversion: 1. User Clicks the Tracking Link A visitor clicks on an affiliate link—this link points to your affiliate tracking platform, not directly to the merchant's website. 2. Tracking Platform Sets a Cookie The user’s browser lands on a special tracking URL. The tracking system responds by saving a cookie in the user's browser with key information (e.g., which affiliate sent the traffic, campaign ID, etc.). 3. Redirect to Merchant Page After setting the cookie, the tracking platform automatically redirects the browser to the merchant’s website. From the user’s point of view, this redirection is almost instant. 4. User Completes Purchase The user browses the site and eventually completes a purchase. On the Thank You or confirmation page, the merchant has included a tracking pixel—a small piece of code (image or JavaScript). 5. Browser Sends Pixel Request with Cookie This tracking pixel makes the browser send an HTTPS request back to the original tracking domain, carrying along the previously stored cookie. This allows the tracking platform to recognize the user. 6. Conversion Is Registered The tracking platform receives the request, reads the cookie, and matches it to the original click event. A conversion is recorded and attributed to the correct affiliate, campaign, or offer. Pixel integration offers a straightforward way to track user actions without relying on server-side communication. By using browser-based signals like cookies and image/JS requests, you can still attribute conversions accurately — even in environments where S2S postbacks aren’t possible. While it's easy to implement, keep in mind that pixel tracking depends on the user’s browser behavior. Cookie restrictions, ad blockers, or browser privacy settings may impact accuracy. For critical tracking needs, we recommend testing thoroughly and considering postback tracking whenever possible.

Last updated on Jun 20, 2025

How to set up Pixel Integration

To enable pixel tracking for your offer, follow the steps below. This setup allows the tracking platform to capture conversions through a browser-based pixel when server-to-server (S2S) postbacks aren’t available. Create an Offer and Define Goals Start by creating a new offer in your tracking platform as you normally would and as it’s described here: Enter the advertiser’s offer URL and define one or more conversion goals (e.g., lead, sale, signup) that you’d like to track for this offer. Choose a Tracking DomainIn the General settings of the offer: Select the tracking domain that will be used for all tracking links and pixel requests related to this offer. This domain must remain consistent to ensure that cookies can be read correctly when the pixel fires. For example, choose: https://www.mytracking.com Important: For pixel tracking to work properly, all publisher tracking links and the pixel request must use the same domain. Share the Tracking Pixel with the Advertiser Provide the advertiser with the following base pixel URL to place on their Thank You or order confirmation page: HTML https://www.mytracking.com/pb/pixel.jpg The advertiser can include this pixel as either an image tag or a script tag. Both methods will trigger the browser to send a request to the tracking platform, carrying the tracking cookie. Example – Using tag: HTML <img src="https://www.mytracking.com/pb/pixel.jpg" width="1" height="1" style="display:none;" /> Example – Using tag: HTML <script src="https://www.mytracking.com/pb/pixel.jpg"></script> Add Parameters to Track Conversion Details Just like with S2S postbacks, you can add parameters to track more details—such as goal name, conversion amount, and currency. Example with parameters: https://www.mytracking.com/pb/pixel.jpg?goal=PIXEL&sum=10&currency=USD When used inside an image or script tag, this link will trigger a conversion for: - Goal: PIXEL - Amount: 10 - Currency: USD - Embedded in an tag: HTML <img src="https://www.mytracking.com/pb/pixel.jpg?goal=PIXEL&sum=10&currency= USD" width="1" height="1" style="display:none;" /> Embedded in a tag: HTML <script src="https://www.mytracking.com/pb/pixel.jpg?goal=PIXEL&sum=10&currency= USD"></script> 💡 Note: The only parameter you should not include in pixel tracking is click_id, since that’s automatically linked via the cookie set during the

Last updated on Jun 20, 2025