Skip to main content
All CollectionsTips & Tricks
Direct Page Tracking
Direct Page Tracking

Attribute a visitor to an affiliate without an affiliate link using our Direct Page Tracking

Emmet Gibney avatar
Written by Emmet Gibney
Updated over 3 years ago

You can now 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.

Did this answer your question?