> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getreditus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Tracking Script Installation

# How to install the tracking script?

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/yZs1QepZMj0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

## Ading the Tracking Script to an HTML Website

To ensure proper tracking, add the script (which you can find in your Reditus settings) before the closing `</head>` tag of your HTML. This ensures the script is available on all pages, including the crucial referral landing and sign-up pages (e.g., *app.getreditus.com*).

**The script must be added on all pages and subdomains.**

## Adding the Tracking Script to Google Tag Manager

Watch our tutorial on how to add the script via Google Tag Manager: [Loom Tutorial](https://www.loom.com/share/836ca0ff14904cba885387794685a153?sid=3fb8dd6b-de0e-420c-9662-cbda52e99d4c)

Steps:

1. Log into your [Tag Manager Account](https://tagmanager.google.com/).
2. Create a new Tag.
   <img src="https://mintcdn.com/reditus/k9VWOYTf4IrFBVvu/affiliate-program/tracking-script/assets/tag1.png?fit=max&auto=format&n=k9VWOYTf4IrFBVvu&q=85&s=c3ca04ae797772f554a64b9c4fdbd7fd" alt="tag1" width="1600" height="570" data-path="affiliate-program/tracking-script/assets/tag1.png" />
3. Set up the tag like the image below and hit Save.
   <img src="https://mintcdn.com/reditus/k9VWOYTf4IrFBVvu/affiliate-program/tracking-script/assets/tag2.png?fit=max&auto=format&n=k9VWOYTf4IrFBVvu&q=85&s=30190d350572bca627e096e6737e608a" alt="tag2" width="1600" height="1200" data-path="affiliate-program/tracking-script/assets/tag2.png" />
4. Submit your changes via the dashboard.
   <img src="https://mintcdn.com/reditus/k9VWOYTf4IrFBVvu/affiliate-program/tracking-script/assets/tag3.png?fit=max&auto=format&n=k9VWOYTf4IrFBVvu&q=85&s=6088451a3026d3a1f253dfa1d1b79dc8" alt="tag3" width="1600" height="297" data-path="affiliate-program/tracking-script/assets/tag3.png" />

## Adding the Reditus Tracking Script to a WordPress Website

1. Log in to your WordPress admin panel.
2. Install a Header & Footer Script plugin (if you haven’t already).
3. Navigate to Settings > Header and Footer Scripts.
4. Paste the tracking script into the Header box.
   <img src="https://mintcdn.com/reditus/k9VWOYTf4IrFBVvu/affiliate-program/tracking-script/assets/wp1.png?fit=max&auto=format&n=k9VWOYTf4IrFBVvu&q=85&s=5120aee733cdb97a19d00c18c99c8d05" alt="wp1" width="954" height="1600" data-path="affiliate-program/tracking-script/assets/wp1.png" />

**In this case, you must add the tracking script before the closing \</head> tag.**
