> 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/attract/landing-page/landing-page-google-tag-manager/landing-page-testing-the-connection-between-my-lp-and-google-tag-manager.md).

# Landing Page - Testing the connection between my LP and Google Tag Manager

In this article, we will cover how to use a GTM script on a SprintHub landing page and how to use Tag Assistant to monitor and analyze this information.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7H6BlANAPbXzVGEtQcuZ%2Fundraw_Wall_post_re_y78d.png?alt=media&amp;token=73a97d86-805d-40f6-873a-8829e0a3f9f2" alt=""><figcaption></figcaption></figure>

### Introduction

Google Tag Manager (GTM) is a powerful tool that allows you to add and manage marketing and analytics tags without modifying your page's code. For SprintHub users, integrating GTM into their landing pages can significantly improve the testing and data analysis process.&#x20;

### Step by Step

**Access Tag Assistant**

{% embed url="<https://tagassistant.google.com/>" %}

* When accessing Tag Assistant, add a domain

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FLikqt6kd4Sq8qrJB9Aea%2Fimage.png?alt=media&amp;token=13aac118-7eba-4af9-9ec5-f35f2cd721d9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7byKvF3BfE9cQW4c0O2V%2Fimage.png?alt=media&amp;token=1efba887-c360-4ef6-a560-c02e0fd50744" alt=""><figcaption></figcaption></figure>

**Checking Tags on the Landing Page**

* When you click "Connect," it will open a new tab with your landing page and begin verifying Google tags.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fcv8hCq2DQbUR1zxfv1ZZ%2Fimage.png?alt=media&amp;token=16ac049d-b05f-4528-85f3-8677378a8219" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FJnkfOTKMbaE5UrgQxrYs%2Fimage.png?alt=media&amp;token=2e8200eb-5edc-4fb6-8e8b-530279993069" alt=""><figcaption></figcaption></figure>

**Analyzing the Data**

After being connected, an analysis screen also opens where you can see the tags that were viewed by the assistant and other data.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fqr7WUiGTr9HGCrgKzLb1%2Fimage.png?alt=media&amp;token=33f6bc42-a688-4702-bbe1-5a7e37e7fa5a" alt=""><figcaption></figcaption></figure>

**Conclusion**

Integrating Google Tag Manager into your SprintHub landing pages and using Tag Assistant to monitor and test these tags can provide valuable insights and help optimize your marketing campaigns. By following the steps described above, you can ensure that your tags are working correctly and that the collected data is accurate and actionable.

We hope this guide has been helpful. If you have any questions or need more details, please do not hesitate to contact SprintHub support.


---

# 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/attract/landing-page/landing-page-google-tag-manager/landing-page-testing-the-connection-between-my-lp-and-google-tag-manager.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.
