# HubSpot tracking code in Google Tag Manager

**URL:** <https://community.hubspot.com/t/hubspot-tracking-code-in-google-tag-manager/89546>\
**Category:** Reporting & Analytics\
**Tags:** analytics-tools\
**Created:** [September 13, 2023, 12:52pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-in-google-tag-manager/89546 "2023-09-13T12:52:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benvenisti](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benvenisti/32/62956_2.png) [@Benvenisti](https://community.hubspot.com/u/Benvenisti)\
**Post date:** [September 13, 2023, 12:52pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-in-google-tag-manager/89546/1 "2023-09-13T12:52:11Z")

</div>

Hello,

one of our clients has a Wordpress website and we’d like HubSpot to track the traffic on this website (non only the blog).

Is it possible to insert the HubSpot tracking code in the Google Tag Manager container or should we use the HubSpot Wordpress plugin?

Which one is better?

Thanks

Ron

---

<div class="post-metadata">

**Author:** ![Jigar\_Thakker](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jigar_thakker/32/63606_2.png) [@Jigar\_Thakker](https://community.hubspot.com/u/Jigar_Thakker)\
**Post date:** [September 13, 2023, 1:12pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-in-google-tag-manager/89546/2 "2023-09-13T13:12:49Z")

</div>

Hey @Benvenisti

Yes, you can Install the HubSpot tracking code in the Google Tag Manager container to monitor your website traffic here is a Complete guide: [Install the HubSpot tracking code](https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code)

 ![JigarT_0-1694610656937.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/f/ff95a599bfedea7f8e34cd62d7baf292f0e096ed.png)

Let me know if you have any follow-up questions. I’d be happy to help.

If my post was helpful in addressing your query, Support the community by indicating it as the solution.

---

<div class="post-metadata">

**Author:** ![Benvenisti](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benvenisti/32/62956_2.png) [@Benvenisti](https://community.hubspot.com/u/Benvenisti)\
**Post date:** [September 13, 2023, 1:18pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-in-google-tag-manager/89546/3 "2023-09-13T13:18:27Z")

</div>

Hy Jigar, thanks so much for your quick repsond, this is exactly what I was looking for.

all the best

Ron

---

<div class="post-metadata">

**Author:** ![Jigar\_Thakker](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jigar_thakker/32/63606_2.png) [@Jigar\_Thakker](https://community.hubspot.com/u/Jigar_Thakker)\
**Post date:** [September 13, 2023, 1:25pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-in-google-tag-manager/89546/4 "2023-09-13T13:25:11Z")

</div>

@Benvenisti you’re welcome : )
