# Tracking - How do you know if the script is working?

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FVV9TWIGlSf4XJgAljP73%2Fundraw_mobile-development_tjxm.png?alt=media&#x26;token=56eddac2-f8b7-4308-843e-ed967fdceb20" alt=""><figcaption></figcaption></figure>

### Introduction

After adding the Sprinthub tracking code to your Wix site, it is essential to verify that it is working correctly. This ensures that visitor and interaction data are collected properly for campaign analysis and optimization.

### Methods to Test the Tracking Code

#### 1. Checking Directly in the Browser

**Step-by-Step in Google Chrome (or Edge)**

1. Open your published site.
2. Press **F12** to open the developer tools.
3. Go to the **Console** tab and check for error messages related to the tracking code.
4. Go to the **Network** tab and:
   * Type "sprinthub" in the filter bar.
   * Refresh the page (F5).
   * Check for requests to Sprinthub's domain.

If requests are being sent correctly, the code is working.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FQg67Kk4uYEHhuKhBnlLD%2Fimage.png?alt=media&#x26;token=25bd6bb2-8770-4a23-9e25-0810912cc896" alt=""><figcaption></figcaption></figure>

#### 2. Testing with Google Tag Assistant

If you are using **Google Tag Assistant**, follow the steps below:

1. Install the Google Tag Assistant extension.
2. Enable the extension and visit your site.
3. Check if the Sprinthub code appears in the analysis.

{% embed url="<https://docs.sprinthub.com/topicos/atrair/landing-page/landing-page-google-tag-manager/landing-page-testando-a-conexao-entre-minha-lp-e-o-google-tag-manager>" %}

#### 3. Checking in Sprinthub

1. Access Sprinthub and go to the Leads section.
2. Check if there were anonymous Lead entries.
3. If there are no records, review the code installation and try again.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FDZgRPhiyogSGx4dLlr7C%2Fimage.png?alt=media&#x26;token=e1d56fb4-4d50-4ba6-a8d2-7d13f9ac82c7" alt=""><figcaption></figcaption></figure>

### Common Problems and How to Solve Them

* **The code does not appear in the console or Network:**
  * Check if the code was inserted correctly in the **Head**.
  * section. Make sure the site was published after adding the code.
  * Clear the browser cache and try again.
* **Data does not appear in Sprinthub:**
  * Wait a few minutes, as there may be a short delay in data updating.
  * Test accessing the site from different devices.
  * If the problem persists, contact Sprinthub support.

### Conclusion

Verifying that the Sprinthub tracking code is working correctly is an essential step to ensure accurate data collection. Using browser tools, extensions, or the Sprinthub dashboard itself, you can validate the installation and quickly fix any issues.&#x20;
