October 22, 2026
In this article we will discuss:
- Overview of Tapfiliate’s tracking
- Detect New vs. Existing Users
- Capture Attribution Source at Signup
- Track Conversions Based on Original Attribution
- Separate new and recurring conversions in your data
- Conclusion
Overview
If you’re using Tapfiliate for your affiliate marketing program, you might have noticed that by default, it attributes conversions based on the last-click model. This means that if a user clicks an affiliate link at any point, subsequent conversions are credited to that affiliate. While this approach works well for many businesses, you might prefer to ensure that only affiliates who were responsible for the initial acquisition of a new user are credited for conversions.Here’s how you can set up Tapfiliate to achieve this:
Detect New vs. Existing Users
During a user’s visit, determine whether they are a new or returning user. This can be achieved by checking their login status or session data.- New Users: Users who are not logged in or do not have an active session are considered new users.
- Existing Users: Users who are logged in or have an active session are considered existing users.
Capture Attribution Source at Signup
When a new user signs up, check for the presence of Tapfiliate’s tracking cookie (tap_vid). This cookie contains attribution data that points to the affiliate that referred that user.
- Cookie Present: If the
tap_vidcookie is found, store the attribution source as “affiliate.” - Cookie Not Present: If the
tap_vidcookie is not found, tag the source as “direct” or another channel.
Track Conversions Based on Original Attribution
For subsequent conversions, reference the attribution source stored during signup:-
Affiliate Source: If the original attribution source was “affiliate,” trigger the conversion tracking script:
- Non-Affiliate Source: If the original attribution source was not “affiliate,” do not trigger the conversion tracking script.
Separate new and recurring conversions in your data
Every conversion in Tapfiliate stores its tracking source – how the conversion was tracked. You can use it to see which conversions are recurring payments from an existing customer and which are new.- Recurring conversions have a tracking source that starts with
recurring:recurring-js,recurring-apiorrecurring-auto. - Other conversions have a tracking source such as
cookie-js,coupon-js,cookie-api,coupon-apiorclick-id-api.
- Conversion side panel – click a conversion on the Conversions page and look for Tracking source.
- Conversions CSV export – the
tracking_sourcecolumn. See How to Export Performance Data to CSV/XLSX. - REST API – the
tracking_sourcefield when you retrieve or list conversions. See the Conversions section of our REST API docs.
📌 Important Considerations
- Cookie Duration: Tapfiliate uses first-party cookies to track conversions. The default cookie duration is 45 days, but it can be adjusted up to 365 days. Ensure that the cookie duration aligns with your attribution model.
- Cross-Domain Tracking: Tapfiliate does not support cross-domain tracking. Ensure that your tracking scripts are implemented within the same domain to maintain accurate attribution.
- Ad Blockers and Privacy Settings: Be aware that ad blockers and strict browser privacy settings can interfere with cookie-based tracking, potentially affecting attribution accuracy.
✅ Conclusion
By implementing the steps outlined above, you can ensure that Tapfiliate’s last-click attribution model credits affiliates only for conversions resulting from new user acquisitions. This approach aligns with your business requirements while leveraging Tapfiliate’s robust tracking capabilities.You can reach out to us directly at support@tapfiliate.com in case you require any other help regarding the implementation of this setup.