Direct Page Tracking is Rewardful's version of what's commonly known as "affiliate link cloaking" or "link masking" in the affiliate marketing industry. Direct page tracking allows affiliates to have clean and branded URLs that would appear professional and trustworthy compared to ordinary affiliate links, while still maintaining proper tracking and attribution.
You can automatically attribute a visitor to an affiliate without an affiliate link using our Direct Page Tracking. This is useful for creating landing pages with friendly URLs for a partner promotion, influencer page, or for creating URLs that are easier to share verbally (ie. on podcasts).
<script>
rewardful('source', AFFILIATE_LINK_TOKEN)
</script>
Example: instead of example.com/?via=bond007
you could create a page at example.com/bond
and include the snippet below to ensure all visitors to this page get attributed to James Bond:
<script>
rewardful('source', 'bond007')
</script>
It's important to note that this operation overwrites any existing referral for the visitor that's stored in the cookie. Continuing our example above, if the visitor first arrived through example.com/?via=batman
but then went on to visit example.com/bond
(where the code above is executed) then James Bond would ultimately get credited for the conversion.
More details can be found here: https://developers.getrewardful.com/javascript-api/overview#specify-traffic-source
Learn More: For an in-depth look at when and how to use this feature effectively, check out our comprehensive guide: When to Use Affiliate Link Cloaking (And When Not To)