JS conversion pixel
The JS pixel reports a conversion from the visitor's browser. Use it when you own the thank-you page.
What it is
The JS pixel is a small piece of code you put on a page that a visitor sees after converting, such as a thank-you page. When the page loads, the code tells TrafficTaps that a conversion happened.
Why it matters
Postbacks are more reliable, but a network may not offer them, or you may sell your own product on your own page. The pixel covers those cases. Ad blockers and cookie blocking can stop a pixel from firing.
Step by step
Open the tracking code
Paste it on the thank-you page
Add the code to the page shown after a conversion, not to every page. Set the event and, if you know it, the payout and transaction ID.
Make sure the click ID is available
The pixel needs to know which visit the visitor came from. It uses the cookie set on the first visit. If the thank-you page is on another domain, pass
cid={clickid}through the funnel.Test
Open your tracking link, go through the funnel and reach the thank-you page. The conversion should show in Reports.
Example
The pixel code itself is shown in the app. This example only shows the idea:
<script src="..."></script> <!-- your pixel code from the TrafficTaps app -->Common mistakes
- Putting the pixel on every page. Each page view would count as a conversion.
- Reloading the thank-you page while testing. Use a unique transaction ID so it is not counted twice.
- Using a pixel when a postback exists. The postback is more reliable.
Related pages
Stuck? Write to support@traffictaps.com with your campaign name and a sample click ID.