# Tracking Integrations

**URL:** <https://community.hubspot.com/t/tracking-integrations/125084>\
**Category:** Reporting & Analytics\
**Tags:** integrations\
**Created:** [January 30, 2025, 5:08am UTC](https://community.hubspot.com/t/tracking-integrations/125084 "2025-01-30T05:08:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LK8](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@LK8](https://community.hubspot.com/u/LK8)\
**Post date:** [January 30, 2025, 5:08am UTC](https://community.hubspot.com/t/tracking-integrations/125084/1 "2025-01-30T05:08:28Z")

</div>

Hi everyone - we’ve been in the process of setting up our hubspot account and had some questions re: the tracking integrations within the settings.

Basically we have an external site that’s connected to our GA4 account via GTM.

Since we have a new hubspot account, we wanted to see some of the data come through so have connected this via GTM also.

I noticed that someone’s added our GA4 measurement ID and also added our GTM ID.

Could this cause duplicate tracking?

 ![Screenshot 2025-01-30 at 3.57.16 pm.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/9/6929ab16e0986747c784c8c99a784363a87b095d.png)

---

<div class="post-metadata">

**Author:** ![TKrypas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tkrypas/32/18522_2.png) [@TKrypas](https://community.hubspot.com/u/TKrypas)\
**Post date:** [January 30, 2025, 8:55am UTC](https://community.hubspot.com/t/tracking-integrations/125084/2 "2025-01-30T08:55:03Z")

</div>

_\*Note from the moderator:_  
_This content appears to be created with the help of AI tools and **might be of low relevance or could contain incorrect information.** _  
_We recommend fact-checking the content._  
_Please use AI responsibly going forward (see [Community Guidelines](https://community.hubspot.com/t5/Getting-Started-on-the-Community/HubSpot-Community-Guidelines/ba-p/384050#:~:text=revoked%20Community%20membership.-,2.%20Be%20relevant.,-There%E2%80%99s%20a%20lot))._  
Yes, adding both the GA4 Measurement ID and GTM ID separately in HubSpot can cause duplicate tracking issues.

Here’s why and how to fix it:

* * *

### Why This Causes Duplicate Tracking

1. Tracking via GTM:

2. Direct GA4 Integration in HubSpot:

3. Double Events & Skewed Data:

* * *

### How to Check if You Have Duplicate Tracking

#### Step 1: Use GA4 DebugView

- Go to GA4 \> Admin \> DebugView
- Open your website in incognito mode and click around.
- If you see two identical pageviews per page load, you have a duplicate tracking issue.

#### Step 2: Use Tag Assistant or GTM Preview Mode

- Open Google Tag Manager and click Preview.
- Navigate through your website and check if GA4 pageviews are firing twice.
- Alternatively, use Google Tag Assistant Chrome extension.

* * *

### How to Fix It

#### Option 1: Remove Direct GA4 Integration in HubSpot

- If you’re managing GA4 via GTM, remove the direct GA4 Measurement ID from HubSpot.
  - Go to Settings \> Tracking & Analytics \> Google Analytics
  - If GA4 is manually connected here, remove it and rely on GTM instead.

#### Option 2: Remove GA4 Tag from GTM (Not Recommended)

- If you prefer using HubSpot’s built-in GA4 tracking, you can remove GA4 from GTM and let HubSpot send events instead.
- However, GTM gives more flexibility and control over tracking, so this isn’t ideal.

#### Option 3: Use GTM to Block Duplicate Events

- If you must keep both GTM and HubSpot tracking, modify your GTM settings:
  - Add a trigger exception in GTM to prevent GA4 pageviews from firing twice.
  - Use custom variables to detect existing tracking and block duplicates.

* * *

### Best Practice Recommendation 🚀

✅ Use only GTM to handle GA4 tracking.  
❌ Avoid adding GA4 directly in HubSpot if GTM is already used.

Let me know if you need help debugging!
