Landing Page Tracking
This page is Part 1 in a 3-part series on how to develop a custom integration with Katalys.
Katalys requires Advertisers to include our tracking pixel 1) on Landing Pages (for fraud detection, user verification, and direct linking) and 2) on Thank-You pages (for capturing conversions). On this page, we will talk considerations for placing the Katalys Tracking Script on Landing Pages.
Basics
Add our tracking JavaScript snippet site-wide to your website. You should place it as high on the page as possible directly into the page HTML source. Optionally, it can be implemented via Google Tag Manager.
The URL in the snippet below may vary slightly based on your account’s needs. Please confirm your snippet is correct before implementing it.
<script type="text/javascript" src="{{YOUR-CUSTOM-URL}}" async></script>
Minimally this must be done on pages that will potentially receive traffic from our affiliates, but it’s safer to simply launch site-wide. This will enable us to support your program with direct linking campaigns and additional traffic types.
Optional Configuration
For customers with multiple domains or carts, it’s important to correlate those customers so your business rules work correctly. This is needed when you have multiple domains serving your websites such as both http://mystore.myshopify.com
and http://mystore.com
.
(Note: the “www.” is removed from the beginning of the domain, so this step is not required if you use only http://www.mydomain.com
or http://mydomain.com
)
<script>
_revoffers_track = window._revoffers_track || [];
_revoffers_track.push({ site_id: "{CUSTOM_VALUE}" })
</script>
<script type="text/javascript" src="{{YOUR-CUSTOM-URL}}" async></script>
How To Validate
The Katalys JavaScript tag is easy to debug by using any browser debugging tools, such as the Chrome DevTools window.
Open your website inside of Chrome, and open up the DevTools (documentation).
Click on the “Network” panel to view all the network requests being made by your website.
Reload the website to get the latest view of the data.
Search for
revoffers
or_tr
. Find a ping tohttps://db.revoffers.com/v2/_tr
.
Note on Performance
Our JavaScript snippet loads asynchronously, and uses non-render-blocking network requests by leveraging the latest Browser APIs available. We work hard to ensure that our JavaScript files can never impact your user’s experience on your website.