# Referral Tracking

Referral Rocket provides robust tracking capabilities that allow you to monitor and analyze your referral program's performance in real-time. This guide will walk you through the different ways you can track referrals.

**Add Tracking script to the the pages where new users will land**

```
// Add this script in the HEAD tag
<script type="text/javascript" campaign-id="YOUR-CAMPAIGN-ID" defer src="https://app.referralrocket.io/widget/widgetIndex.js"></script>
```

1. [Automated referral tracking with Stripe](https://referral-rocket.gitbook.io/docs/integrations/stripe/referral-tracking-with-stripe)
2. [Tracking referrals on signup](https://referral-rocket.gitbook.io/docs/getting-started/campaigns/installing-tracking-your-referral-campaign/referral-tracking/track-referral-on-sign-up-page)
3. [Tracking referrals on payments](https://referral-rocket.gitbook.io/docs/getting-started/campaigns/installing-tracking-your-referral-campaign/referral-tracking/track-referral-on-payments)

{% hint style="info" %}
Ensure that Referral Rocket script is added to any page that the new user would be taken to.&#x20;
{% endhint %}
