Custom CTA trackers allow publishers to offer more targeted and personalized advertising options to their advertisers. By tracking the behavior of readers who engage with branded content, publishers can gather valuable data that can be used to design more effective campaigns.
Custom CTAs can help publishers monetize their content more effectively. By offering advertisers the option to include custom CTAs, publishers can charge higher rates for branded content and generate more revenue from their content.
Instructions
Insert this code at the beginning of the Code View CLP.
`<script> (function() { var links = prdom.query(".ntv-body a[data-ntv-custom-cta]"); for (var i =0; i != links.length;i++) { var hrefElement = prdom.query(links[i]); var customValue = hrefElement.data("ntv-custom-cta"); if (customValue) { customValue += 1100; links[i].href = links[i].href.replace("ntv_at=4", "ntv_at=" + customValue); } } })();</script>`
2. To each of the CTAs you want to track separately, find the element and add the following attribute:
data-ntv-custom-cta="1", for example:
Features
*Will support up to 10 custom click outs (1 to 10)
*Can be used in unison with 3rd party trackers (tested for DCM trackers)