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

# Results and Attribution

> Know which ad brought a customer, and start an automation when someone taps an ad.

## What is this?

When someone opens a chat by tapping one of your Meta ads, the message arrives with the ad it came from. The platform keeps that, so you can see which ad brought a contact, and you can run an automation just for those chats.

## What can I do here?

* Find contacts that came from a Meta ad by their source
* See the ad details on a contact's profile
* Start an automation when someone taps an ad, for every ad, one campaign or one ad
* Compare ad results with the chats and leads they brought

## How to use it

### See where a contact came from

A contact that started from an ad shows **Meta Ads** as its source, with the ad details, on its [Contact profile](https://docs.wappigate.com/workspace/contacts/contact-profile.md). In [Contacts](https://docs.wappigate.com/workspace/contacts/overview.md) you can filter by the **Meta Ads** source. People who came from a lead form have the source **Meta lead ads (lead forms)**. See [Lead forms and leads](https://docs.wappigate.com/workspace/meta-ads/lead-forms.md).

Only a tap on an ad counts. A chat started from a QR code, a link or an organic post is not an ad.

### Start an automation from an ad

The **Started from an ad** trigger runs when someone starts a chat by tapping one of your Meta ads — Click to WhatsApp, Instagram or Messenger.

**1. Create the automation**

In **Automation**, create an automation on the **WhatsApp**, **Instagram** or **Facebook** channel type and choose the trigger **Started from an ad**.

**2. Choose which ads**

Pick a **Campaign** (default **Any campaign**) and an **Ad** (default **Any ad**). Only this channel's ads are listed. Leave both empty to run for every ad.

**3. Build and activate**

Add the steps you want, test with a real contact, then activate it. See [Create a Workflow](https://docs.wappigate.com/workspace/automation/create-a-workflow.md).

This automation answers the first message **instead of** the usual new conversation and first-message automations. The trigger needs a Meta ad account connected to the channel — without it you see **Connect a Meta ad account to this channel to use the Started from an ad trigger.**

### How results are counted

| Measure | Where it comes from |
| - | - |
| **Spend**, **Clicks**, **Impressions** | Meta |
| **Chats started** | Meta's count of conversations started from your ads |
| **Leads** | Lead form submissions |
| **Results** and **Cost per result** | The campaign's goal: chats, leads, website visits or purchases |

Numbers are cached for about two minutes — click **Refresh** for the latest.

## Troubleshooting / Technical Notes

* **The automation didn't start.** The trigger only works on WhatsApp, Instagram and Facebook, and only for taps on an ad. Check the **Campaign** and **Ad** filters. A campaign filter can't be checked without a connected ad account, and then it never runs rather than running for everything.
* **"The Started from an ad trigger works only on WhatsApp, Instagram and Messenger."** Change the automation's channel type.
* **"This channel has no ads that send people to this app yet."** Create an ad whose goal is a chat. See [Create an ad](https://docs.wappigate.com/workspace/meta-ads/create-an-ad.md).
* **A contact has no ad details.** The chat didn't start from an ad tap, or Meta did not send the ad with the message.

## Related docs

* [Meta Ads](https://docs.wappigate.com/workspace/meta-ads/overview.md)
* [Triggers](https://docs.wappigate.com/workspace/automation/triggers/overview.md)
* [Contact profile](https://docs.wappigate.com/workspace/contacts/contact-profile.md)
* [Campaigns and budget](https://docs.wappigate.com/workspace/meta-ads/campaigns.md)


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