# Google Ads

Count Web Chat conversations as Google Ads conversions and export offline conversions

The Google Ads integration measures which campaigns bring in real conversations. When a visitor who came from an ad starts a chat on your Web Chat widget, Qwetty fires a Google Ads conversion. Qwetty also remembers the ad click, so you can upload the lead as an offline conversion later — for example, when it becomes a sale.

:::note
Google Ads tracking works with **Web Chat** channels only. It does not apply to WhatsApp, Instagram or Messenger conversations.
:::

## What it can do

- **Count a chat as a conversion** — The conversion fires in the visitor's browser when they start a chat
- **Configure each widget separately** — Conversion ID, label, action name, value and currency are set per Web Chat channel
- **Remember the ad click** — The widget keeps the Google click ID (`gclid`) for 90 days, so a visitor who comes back later is still attributed
- **Export offline conversions** — Download a CSV that Google Ads can import
- **Respect your consent banner** — Your consent tool can hold tracking back until the visitor agrees

## Activating Google Ads

1. Go to **Integrations** and click the **Google Ads** card on the **Catalog** tab
2. Click **Activate**

Activation does not sign in to Google Ads. It switches tracking on for your organization and shows the Google Ads settings on each Web Chat channel. You need the **Connect** permission, and Google Ads counts toward your plan's integration limit.

## Setting up tracking on a Web Chat channel

1. Go to **Settings → Channel → [Your Channel] → Details → Configuration**
2. Choose the **Tracking** section
3. Under **Google Ads tracking**, turn on **Enable Google Ads tracking**
4. Fill in the fields from your Google Ads conversion action:

| Field | What to enter |
|-------|---------------|
| **Conversion ID** | The ID from your Google tag, for example `AW-123456789` |
| **Conversion label** | The label of the conversion action |
| **Conversion action name** | Must exactly match the conversion action name in your Google Ads account. It is used in the CSV export |
| **Value per lead** | Optional value reported for each conversion |
| **Currency** | The currency of that value, for example `IDR` or `USD` |

5. Click **Save**

Changing these settings requires the **Edit** permission for Channels. Repeat the steps for each widget you want to track.

## When a conversion fires

- The widget saves the `gclid` from the page's address when a visitor arrives from an ad, and keeps it for 90 days
- The conversion fires once per visitor per widget — when they submit the pre-chat form, send their first message, or click one of your other channels on the widget's home screen, whichever comes first
- If the pre-chat form collected an email or phone number, it is passed to the Google tag for Enhanced Conversions. Google hashes it in the browser
- On Qwetty's side, every new Web Chat conversation from a visitor with a `gclid` is recorded for the offline export

### Consent

By default, tracking is allowed. If your site uses a cookie or consent banner, set `window.qwettyTrackingConsent = false` before the widget loads. The widget then loads no Google tag and fires nothing until consent is given. When the visitor agrees, call `window.QwettyChat.setConsent(true)`; a lead that happened while consent was withheld can still convert. If your page already runs the Google tag, Google Consent Mode applies as well.

## Exporting offline conversions

The **Offline conversions** card under the tracking settings shows how many conversions are ready, for example **3 of 10 ready to export**.

- **Export new** — Downloads a CSV of the conversions not exported yet and marks them as exported, so the next export skips them
- **Download all** — Downloads every recorded conversion again, without changing what counts as new

Upload the CSV in Google Ads → Tools → Conversions → Uploads. Each row holds the click ID, your **Conversion action name**, the conversion time (UTC), and the value and currency.

:::note
Only visits with a standard Google click ID (`gclid`) can be exported. Clicks that Google reports with other identifiers, such as from some iOS apps, are not included.
:::

## Deactivating

Open **Integrations**, go to the **Installed** tab, and choose **Deactivate** from the connection's **⋯** menu. Google Ads tracking stops on all your Web Chat widgets. Your per-channel settings and already-recorded conversions are kept, and you can reactivate any time.

## What data is sent to Google

- From the visitor's browser: the conversion, with the value and currency you set, and the email or phone from the pre-chat form for Enhanced Conversions
- In the CSV you upload yourself: click IDs, conversion action name, times, values and currency

No message content is sent to Google Ads.

## Troubleshooting

| Problem | What to do |
|---------|------------|
| The **Tracking** section shows no Google Ads settings | Activate Google Ads on the **Integrations** page first |
| No conversions appear in Google Ads | Check the **Conversion ID** and **Conversion label**, that consent is granted, and that the visitor arrived through an ad click. Each visitor converts only once per widget |
| Google Ads rejects the CSV | The **Conversion action name** must match the conversion action in Google Ads exactly |
| **0 of 0 ready to export** | No conversation has come from an ad click yet, or the visits only carried identifiers other than `gclid` |

## Next steps

- [Google Analytics](/en/integrations/google-analytics) — Report the widget's conversation funnel to GA4
- [Channel Configuration](/en/channel-management/configuration) — Web Chat settings
- [Web Chat Widget](/en/channels/web-chat-widget) — Install the widget on your site
