---
title: "GA4 web tracker"
url: https://docs.woolytech.com/en/articles/231-ga4-web-tracker
collection: "Tracking"
updated: 2026-10-01
language: en
---

# GA4 web tracker

## Purpose / when to use

Use **GA4 (Web) Tracker** to send ecommerce events to Google Analytics 4 for reporting and attribution.

  

If you don’t have a GA4 account or GA4 property yet, create them first:

[https://support.google.com/analytics/answer/9304153](https://support.google.com/analytics/answer/9304153)

  

## Requirements

-   A **GTM Web container** connected in Multifeeds
    
-   **GA4 Measurement ID** (format `G-XXXXXXXXXX` )
    

  

## Getting the Measurement ID

A Google Analytics Measurement ID is a unique code that connects your website to Google Analytics 4.

  

You can find your Measurement ID here:

  

![](https://p16-cc-image-search-sign-sg.ibyteimg.com/tos-alisg-i-h9hire4aei-sg/image/86f5c194e5e026347117b04f601dc3f7~tplv-h9hire4aei-image.jpeg?rk3s=add9cc80&x-expires=1783911957&x-signature=dX5EE1AT1uzUhHYkDMnwPGf5YBU%3D)

  

Open the data stream and copy the Measurement ID:

  

![](https://p16-cc-image-search-sign-sg.ibyteimg.com/tos-alisg-i-h9hire4aei-sg/image/43ce79b8d788f6f991362f5296f4fe44~tplv-h9hire4aei-image.jpeg?rk3s=add9cc80&x-expires=1783911957&x-signature=wZ53iimGLDtIZ63KlEwiEQTWwPA%3D)

  

Paste it into the app:

  

![](https://p16-cc-image-search-sign-sg.ibyteimg.com/tos-alisg-i-h9hire4aei-sg/image/9a6f0bcce4e84dd48e5caf56c6ff6fa3~tplv-h9hire4aei-image.jpeg?rk3s=add9cc80&x-expires=1783911957&x-signature=ZbXuCVZO77L1Q3pqVagi9rZgHi4%3D)

  

## Field reference (tracker-specific)

### Measurement ID (required)

Your GA4 Measurement ID (`G-...` ).

  

## Setup steps in Multifeeds

1.  Go to **Pixels & Tracking**
    
2.  Open the **Client Trackers** tab
    
3.  Click **Add tracker**
    
4.  Choose **Google Analytics 4**
    
5.  Select event(s) to track (multi-event supported; **page\_view is mandatory**)
    
6.  Enter **Measurement ID**
    
7.  Click **Save/Connect**
    

  

## Supported events (ecommerce)

Most of the recommended events for online sales are supported out of the box:

[https://support.google.com/analytics/answer/9267735#online-sales](https://support.google.com/analytics/answer/9267735#online-sales)

  

<table style="min-width: 25px;"><colgroup><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p>EventTrigger when a user...Supported</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>add_payment_info</code></p></td><td colspan="1" rowspan="1"><p>submits payment information during checkout</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>add_shipping_info</code></p></td><td colspan="1" rowspan="1"><p>submits shipping information during checkout</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>add_to_cart</code></p></td><td colspan="1" rowspan="1"><p>adds items to cart</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>begin_checkout</code></p></td><td colspan="1" rowspan="1"><p>begins checkout</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>purchase</code></p></td><td colspan="1" rowspan="1"><p>completes a purchase</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>remove_from_cart</code></p></td><td colspan="1" rowspan="1"><p>removes items from cart</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>view_cart</code></p></td><td colspan="1" rowspan="1"><p>views the cart</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>view_item</code></p></td><td colspan="1" rowspan="1"><p>views an item</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>view_item_list</code></p></td><td colspan="1" rowspan="1"><p>views a list of items</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr></tbody></table>

## Testing + troubleshooting

### Testing

**Option A — Realtime report (recommended, easiest)**

1.  In Google Analytics, go to **Reports → Realtime overview**
    
2.  Open your Shopify store in another browser/tab
    
3.  Navigate product pages, cart, and checkout steps
    
4.  Confirm realtime users/events appear as you browse
    

  

Realtime report:

  

![](https://p16-cc-image-search-sign-sg.ibyteimg.com/tos-alisg-i-h9hire4aei-sg/image/45eac77a361b38ead6ec85a302fa9551~tplv-h9hire4aei-image.jpeg?rk3s=add9cc80&x-expires=1783911957&x-signature=ONxlcChpssMtwa%2FgT%2BfPf90XrCg%3D)

  

**Option B — Debugging tools (advanced)**

-   Use **GTM Preview** to confirm tags fire for selected events.
    
-   Use **GA4 DebugView** if you have debug mode enabled (availability may vary by setup).
    

  

### Troubleshooting

-   **Invalid Measurement ID:** must match `G-`  + 10 uppercase letters/numbers.
    
-   **Missing events:** verify selected events and your consent/market filters.
    
-   **No realtime data:** allow a few minutes, confirm the correct property/data stream, and verify the tracker is **Enabled**.
    

  

Last updated on May 14, 2026

GA4 (Web) tracker
