> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/settings/tracking/tracking-how-do-i-know-if-the-script-is-working.md).

# Tracking - How to know if the script is working?

<figure><img src="/files/5b0f17f9cc2636d797ca69fec12c9818a80bed04" 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="/files/179e39225f34d7e984ba72cf664e5f096531f336" 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="/files/955e2f32b770c19eb04da83e296a5c1a0ea0b054" 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;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/settings/tracking/tracking-how-do-i-know-if-the-script-is-working.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
