# How to Track New Wix Forms (V2) with Google Tag Manager

**URL:** <https://forum.wixstudio.com/t/how-to-track-new-wix-forms-v2-with-google-tag-manager/75120>\
**Category:** Ask the community\
**Tags:** wix-forms, cms, wix, code, wix-studio\
**Created:** [November 21, 2025, 11:38pm UTC](https://forum.wixstudio.com/t/how-to-track-new-wix-forms-v2-with-google-tag-manager/75120 "2025-11-21T23:38:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![enton](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/enton/32/26296_2.png) [@enton](https://forum.wixstudio.com/u/enton)\
**Post date:** [November 21, 2025, 11:38pm UTC](https://forum.wixstudio.com/t/how-to-track-new-wix-forms-v2-with-google-tag-manager/75120/1 "2025-11-21T23:38:33Z")

</div>

Please note worked with gemini , but final version was redacted from me:)

* * *

# [Guide] How to Track New Wix Forms (V2) with Google Tag Manager

I recently worked through the setup for the **New Wix Forms (V2)** with Gemini. While Gemini initially suggested tracking via `formName`, we discovered that this method wasn’t reliable for my specific setup because the “Native” GTM triggers are blind to the new Wix forms.

After further debugging and inspecting the Data Layer myself, I found the robust solution.

### ⚡ The Main Difference: Old vs. New

- **Old Wix Forms:** Relied on standard HTML “Element IDs” (e.g., `#comp-1234`) or generic submit listeners.

- **New Wix Forms:** Now use **Data Layer Events**. Wix automatically pushes a clean signal to GTM when a lead is generated, so we no longer need to “listen” for button clicks or HTML IDs (which no longer work).

Here are the **two proven methods** to track specific forms (e.g., “Contact Us” vs. “Newsletter”).

* * *

### Step 1: Find Your Form’s ID or Name

The new forms send both a unique ID and a Name to the Data Layer upon submission. You need to find these values first.

1. Open GTM **Preview Mode** and submit your form on your live site.

2. In the Preview window sidebar, look for the event **`generate_lead`**.

3. Click the event and open the **Data Layer** tab in the main panel.

4. Look for these two lines:

* * *

### Step 2: Create the Variable (To Read the Data)

We need to teach GTM how to read that specific data from the code. Choose **one** of the methods below.

#### Method A: The “Form ID” Variable (Recommended)

This is the most robust method because IDs never change, even if you rename the form.

1. Go to **Variables** \> **New** \> **Data Layer Variable**.

2. **Data Layer Variable Name:** `form_id` _(Type exactly as seen in Data Layer)_.

3. **Variable Name:** `DLV - Form ID`.

#### Method B: The “Form Name” Variable

Use this if you prefer to track by the human-readable name you gave the form in Wix.

1. Go to **Variables** \> **New** \> **Data Layer Variable**.

2. **Data Layer Variable Name:** `label` _(Type exactly as seen in Data Layer)_.

3. **Variable Name:** `DLV - Form Label`.

> **Note:** “DLV” stands for **D** ata **L** ayer **V** ariable. This naming convention helps keep your GTM organized.

* * *

### Step 3: Create the Trigger (The Rule)

Now we create the rule that fires ONLY when this specific form is submitted.

1. Go to **Triggers** \> **New**.

2. **Trigger Type:** Custom Event.

3. **Event Name:** `generate_lead` _(Must match exactly)_.

4. **This trigger fires on:** Some Custom Events.

5. **Define the Condition:**

6. **Name:** `Trigger - Contact Form Success`.

7. Click **Save**.

* * *

### Step 4: Create Your Tags (GA4, Google Ads, Microsoft)

Now that you have a working trigger, you can use it for **any** marketing platform. This works perfectly for conversions because `generate_lead` only fires on a successful submission.

#### Option A: Google Analytics 4 (GA4)

1. **Tag Type:** Google Analytics: GA4 Event.

2. **Event Name:** `generate_lead`

3. **Triggering:** Select `Trigger - Contact Form Success`.

#### Option B: Google Ads Conversion

1. **Tag Type:** Google Ads Conversion Tracking.

2. **Conversion ID / Label:** Enter your details from Google Ads.

3. **Triggering:** Select `Trigger - Contact Form Success`.

#### Option C: Microsoft (Bing) Ads

1. **Tag Type:** Microsoft Advertising Universal Event Tracking.

2. **Triggering:** Select `Trigger - Contact Form Success`.

* * *

### Reference Note

Wix does have a support article titled _“Tracking Google Ads conversions using Wix custom code”_ (Method 3). While it mentions using GTM, it is quite vague and does not explain the crucial `form_id` vs. `label` distinction or the specific Data Layer variables needed for V2 forms. The steps above are the specific, tested solution for the new infrastructure.

 ![image](https://us1.discourse-cdn.com/wix/original/3X/1/1/11af0133c9272f58ce959f3bf63d13940c2f725d.png)
