---
title: Troubleshooting referral tracking issues
slug: troubleshooting-referral-tracking-issues
description: Fix referral tracking problems in Roster caused by browser behavior, site configuration, or device limitations, with step-by-step help.
docTags: 
createdAt: 2025-12-22T19:41:34.646Z
---

When a referral doesn't track properly, it can be frustrating for both brands and ambassadors. While Roster’s tracking system is robust, there are several external factors—browser behavior, site configuration, and device limitations—that can affect how referrals are attributed. These challenges are common across the referral and affiliate tracking industry and not unique to Roster.

This guide outlines the most common causes of untracked referrals and offers practical solutions to help you identify and resolve them.

## When a Referral Link Doesn't Track

Below are common scenarios that may prevent a referral from being attributed to an ambassador.

### 1. Ad or Script Blockers in the Browser

- Many users enable privacy settings or install ad/script blockers that can block tracking scripts, including Roster’s.&#x20;
- If your Roster script is installed via a third-party tag manager (e.g., Google Tag Manager or Adobe Launch), it’s more likely to be blocked by these tools.&#x20;

### 2. User Declines Cookies

- If your website prompts users to accept cookies and the user declines, Roster’s tracking script may be unable to store the referral data.&#x20;
- The impact depends on how your cookie consent tool is configured and how the Roster script is installed.&#x20;

### 3. Page Load Delays

- If a visitor clicks a referral link and navigates away from the page before it fully loads, the tracking script may not have time to run.&#x20;

**Recommendation:** Run a [website speed test](https://pagespeed.web.dev/) and optimize page performance to ensure tracking scripts can load quickly.

### 4. Immediate Page Redirects

- If the landing page redirects to another URL before the Roster script runs, and the referral ID is not preserved in the URL, the referral will not be tracked.&#x20;

### 5. Mobile Users Switching Browsers

- Tracking can break if a user clicks a referral link in an embedded browser (e.g., Instagram or Gmail in-app) and completes their purchase in a different browser (like Safari or Chrome).&#x20;
- Similarly, if a user starts in their default browser and is forced into an in-app browser to complete login or payment (e.g., via 2FA), the session and referral data may not transfer.&#x20;

### 6. JavaScript Not Executed Properly

- If JavaScript is missing from your page or deferred due to how scripts are ordered in your header, referral tracking may not function.&#x20;

**Recommendation:** Confirm that the Roster script is placed correctly in your site’s \<head> tag and that it’s not being delayed or blocked from running.

## When the Referral ID Is Missing During Checkout

Even when a referral click is tracked, issues during checkout can prevent final attribution. Common causes include:

### 1. Third-Party Payment Gateways

- Some gateways redirect users to a new domain for payment and don’t return them to your confirmation page. If the referral ID isn’t present on that final page, Roster can’t track the conversion.&#x20;

### 2. Headless Checkouts

- Custom checkout experiences (e.g., headless commerce) may bypass traditional tracking methods.&#x20;

**Recommendation:** Reach out to Roster support for integration guidance specific to your headless setup.

### 3. Subdomain Changes During Checkout

- If a user starts on www\.yoursite.com but checks out on shop.yoursite.com, the referral ID may not persist between subdomains unless cookies are enabled.&#x20;

**Recommendation:** Enable cross-subdomain cookie tracking to retain referral information. Be aware that this may still require cookie consent from the user, depending on your site’s privacy settings.

## Summary

Referral tracking is affected by several technical and behavioral factors, many of which are outside of Roster’s control. To ensure accurate attribution:

- Optimize your site for performance&#x20;
- Confirm your tracking script is correctly installed&#x20;
- Avoid unnecessary redirects or domain changes&#x20;
- Understand how cookies and browser environments impact user behavior&#x20;

By systematically addressing these factors, you can improve referral accuracy and ensure ambassadors receive proper credit for their referrals.

## Need Help?

If you're still experiencing issues with referral tracking, contact our support team by emailing [support@getroster.com](mailto\:support@getroster.com).
