> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Connect Ad conversion tracking

> Send your rated call conversions to Google Ads and Meta so their bidding learns which ad clicks became real customers on the phone.

To connect Ad conversion tracking, open its card, pick Google Ads or Meta Ads, and enter the account details the platform needs. Google Ads needs a Customer ID and a user invite, and Meta needs a Dataset ID and access token. SmartAlex then rates each call and sends the good ones back to the platform, matched to the ad click that started them. The platform's bidding then favours ads that bring real customers.

* **You will have:** call conversions flowing to Google Ads, Meta, or both.
* **Time:** about twenty minutes for Google Ads (an admin must approve an invite) and about ten for Meta.
* **You need:** a plan with marketing access (the card only shows on these plans) and a SmartAlex role that can edit marketing settings. For Google Ads, a Google Ads account with its 10-digit Customer ID and an admin who can invite a user. For Meta, a dataset in Events Manager.

> [!NOTE]
>
> In the app: **Sidebar → Agent Settings → Connectors** (`/home?settings=connectors`), then **Ad conversion tracking** under **Marketing**.

## What does ad conversion tracking do?

It runs in the background after calls. Your agent gets no new tool and talks the same way. Only callers who gave marketing consent, and whose call carried a click ID from your ad, can be sent.

The diagram below shows an ad click becoming a conversion in the ad platform.

```mermaid theme={null}
flowchart LR
    A[Ad click] --> W[Caller reaches your agent]
    W --> R[SmartAlex rates the call]
    R --> G[Google Ads]
    R --> M[Meta Conversions API]
```

| Step | What happens |
| - | - |
| **Every call is rated** | SmartAlex rates each conversation automatically: fair, good or great. |
| **Rated calls convert** | For Google, fair conversations feed one conversion action and good and great feed another, so your agency can optimise toward quality. |
| **Bidding gets smarter** | Google and Meta shift spend toward the calls that become customers, not just clicks. |

> [card] Google Ads
>
> Smart Bidding conversions, uploaded through Google Data Manager.

> [card] Meta Ads
>
> Conversions API, sent with your dataset and access token.

## How do I connect Google Ads?

**1. Open the card**

Click **Sidebar → Agent Settings → Connectors**, pick **Marketing** and click **Ad conversion tracking** ("Send call conversions to Google Ads and Meta for ad optimisation."). Under **How it works** you see the three steps. Click the **Google Ads** card ("Smart Bidding conversions") and switch it on.

![The Ad conversion tracking card](https://mintcdn.com/smartalex/B19K8M9fDg-qW6ro/images/screens/integrations-hub/adtrack-platform-chooser.webp?fit=max\&auto=format\&n=B19K8M9fDg-qW6ro\&q=85\&s=26af7cf097e62da47fb75143c3a25380)

Pick Google Ads or Meta Ads.

**2. Find your Customer ID**

In Google Ads, look at the top corner of the page for the 10-digit Customer ID.

**3. Save the account**

In SmartAlex, step **Account connected**: type the **Customer ID**. If an agency manages the account, also fill in the **Manager account ID**. Click **Save account**. You see "Google Ads account saved".

**4. Invite SmartAlex in Google Ads**

In Google Ads, click **Admin → Access and security**, then **+**. Paste the SmartAlex service account email shown in the **Access verified** step, choose **Standard** and send the invite. The account admin must approve it. If a manager account runs the ads, invite the service account at manager level too.

**5. Check access**

Back in SmartAlex, click **Check access**. The button reads "Checking". You see "Access verified". Until the admin approves the invite, it reports access denied.

**6. Create the conversion actions**

In step **Conversion actions created**, click **Create both in Google Ads**. SmartAlex creates **SmartAlex Qualified Conversations** (good and great, the primary action) and **SmartAlex Fair Conversations** (secondary). Do not create them yourself. You see "Both conversion actions are set up in Google Ads".

**7. Run the test**

In step **Test passed**, click **Test connection**. A passing test checks the upload path and queues a backfill of past calls from the last 90 days. You see "Upload path verified".

**8. Wait for Live**

The last step, **Live**, reads "Waiting for Google to confirm the first upload (30 minutes to 24 hours)", then shows the last confirmed upload.

Keep auto-tagging on in Google Ads. It adds a click ID to your landing pages, and SmartAlex needs that ID to link a call to a click. Google reports each conversion against the click date, not the call date.

## How do I connect Meta Ads?

**1. Find your Dataset ID**

In Meta Events Manager, click **Data sources** and select your dataset. The ID under the name is the old Pixel ID with a new label.

**2. Generate the access token**

Open the dataset, click **Settings → Conversions API → Generate access token**, and copy it straight away: it is shown once. Agencies managing the dataset through a business portfolio can use a System User token instead. The path: Business Settings, System Users, assign the dataset with full control, generate a token with `ads_management`.

**3. Open Meta Ads in SmartAlex**

On the **Ad conversion tracking** card, click **Meta Ads** ("Conversions API") and switch **Meta Ads conversions** on.

**4. Enter the details**

Type the **Dataset ID** and paste the **Access token** (placeholder "Conversions API access token").

**5. Set the lead score threshold**

Drag the **Lead score threshold** slider, from 20 to 90 in steps of 5. Calls scoring at or above it are sent to Meta as conversions.

**6. Save and test**

Click **Save**. You see "Meta Ads settings saved". Then click **Test connection**. It sends a test event you can watch arrive in Events Manager under **Test Events**.

Meta's one-click Conversions API setup only covers your website's browser events. This connection sends your call outcomes and still needs the token.

## Settings

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Google Ads** switch | Turns on uploads of rated calls for Smart Bidding. | Off | Switch on once you have a Customer ID. |
| **Customer ID** | The Google Ads account the conversions go to. 10 digits. | Empty | Change it to use another account. You walk the steps again. |
| **Manager account ID** | Needed only when an agency manager account runs the ads. | Empty | Fill in if an agency manages the account. |
| **Save account** | Saves the Google account details. | n/a | After editing them. |
| **Check access** | Confirms SmartAlex can read the Google Ads account. | n/a | After the invite is approved. |
| **Create both in Google Ads** | Creates the Qualified and Fair conversion actions. | n/a | Once, after access is verified. |
| **Test connection** | Sends a test and verifies the upload path. For Meta it sends a test event. | n/a | After setup, or when something stops. |
| **Meta Ads conversions** switch | Turns on sending qualified calls to the Conversions API. | Off | Switch on when you have a Dataset ID and token. |
| **Dataset ID** | The Meta dataset that receives the events. | Empty | Change it to use another dataset. |
| **Access token** | The Conversions API token for that dataset. Stored once saved. | Empty | Paste a new one if you regenerate it. |
| **Lead score threshold** | The call score at or above which a call is sent to Meta, from 20 to 90. | Set by the slider | Raise it to send only the best calls, lower it to send more. |
| **Save** (Meta) | Saves the Meta details. | n/a | After editing them. |
| **Disconnect Google Ads** / **Disconnect Meta Ads** | Removes that platform's connection. | n/a | When you stop sending conversions. |

Once either platform is on, **Conversion value** appears.

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Conversion value** | What each uploaded conversion is worth in the platform's reporting. Must be above zero. | Your saved value | Set it to the typical value of a customer. |
| **Currency** | The currency of that value, for example AUD, NZD, ZAR or SGD. | Your saved currency | Match your ad account's currency. |
| **Save** | Saves the value. You see "Conversion value saved". | n/a | After changing it. |

## What does Recent uploads show?

**Recent uploads** lists the latest conversions with **Time**, **Platform**, **Bucket** (Qualified or Fair), **Click ID**, **Score** and **Status**. Counters show **Confirmed**, **Awaiting Google**, **Failed** and **Skipped**. A row shows "Not linked" when the call carried no click ID. Google confirms each upload within 30 minutes to 24 hours.

## What permissions does ad conversion tracking ask for?

| Platform | What you give SmartAlex |
| - | - |
| Google Ads | A Standard user invite for SmartAlex's service account, so it can read the account and upload conversions. |
| Meta | A Conversions API access token for one dataset. |

## Check it worked

1. The platform card shows **Connected**, and for Google the last step reads **Live**.
2. **Recent uploads** lists conversions with a **Confirmed** status.
3. In Meta Events Manager, the test event appears under **Test Events**.

## How do I disconnect ad conversion tracking?

**1. Open the platform**

Click **Sidebar → Agent Settings → Connectors → Ad conversion tracking**, then **Google Ads** or **Meta Ads**.

**2. Disconnect**

Click **Disconnect Google Ads** or **Disconnect Meta Ads** and confirm. Uploads stop immediately and the saved connection is deleted. Upload history stays for your records, and the Google conversion actions stay in your Google Ads account. You see "Google Ads disconnected" or "Meta Ads disconnected". You can reconnect at any time.

## If it does not work

| What you see | What to do |
| - | - |
| "Customer ID is required." | Enter the 10-digit Customer ID. |
| "Dataset ID is required." | Enter your Meta Dataset ID. |
| "Conversion value must be a number greater than zero." | Enter a value above zero. |
| Check access says access denied | Add the service account as a **Standard** user and have the admin approve the invite. |
| Invite not approved yet | Ask the Google Ads admin, or the manager account admin, to approve the pending invite, then test again. |
| Customer data terms not accepted | In Google Ads go to **Goals → Conversions → Settings**, accept the customer data terms, then re-run the test. |
| Click not found in this account | The Customer ID belongs to a different account than the one running the ads. Confirm it with your agency. |
| No marketing consent | Nothing to do. Only consenting callers can be sent. |
| No ad click on this call | Nothing to do. Only ad-driven calls can be claimed. |
| Call too long after the click | Nothing to do. Google does not count calls more than 90 days after the click. |
| "The last event could not be sent to Meta. If this keeps happening, test the connection or reconnect the account." | Click **Test connection**, or reconnect with a new token. |
| Awaiting Google | Wait. Google confirms within 30 minutes to 24 hours. |

## Questions people ask

> [accordion] Which calls are sent?
>
> Calls that came from an ad click, whose caller gave marketing consent. For Google, good and great calls go to one action and fair calls to another. For Meta, calls at or above your lead score threshold.

> [accordion] Do I have to create the conversion actions in Google Ads?
>
> No. SmartAlex creates and selects both actions itself.

> [accordion] Why does it say Not linked?
>
> The call did not carry a click ID. Check auto-tagging is on in Google Ads and nothing on your site rewrites your landing page addresses.

> [accordion] Can I send past calls?
>
> Yes. When the Google test passes, SmartAlex queues a backfill of past calls from the last 90 days.

> [accordion] Why is the card missing?
>
> It only shows on plans with marketing access.

## Next

> [card] [How connectors work](https://docs.getsmartalex.com/integrations/how-connectors-work.md)
>
> Connectors that give tools and connectors that feed other things.

> [card] [Connect Shopify](https://docs.getsmartalex.com/integrations/shopify.md)
>
> Another Marketing connector.

> [card] [Connect Lob](https://docs.getsmartalex.com/integrations/lob.md)
>
> Postcards with a tracked QR code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.