> For the complete documentation index, see [llms.txt](https://docs.storylane.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.storylane.io/tips-and-tricks/im-running-paid-ads-to-my-demo.-how-do-i-report-conversions-in-google-ads-and-linkedin.md).

# I'm running paid ads to my demo. How do I report conversions in Google Ads and LinkedIn?

* [Before you start: use the /demo URL](/tips-and-tricks/im-running-paid-ads-to-my-demo.-how-do-i-report-conversions-in-google-ads-and-linkedin.md#before-you-start-use-the-demo-url)
* [Which Event Should I Use as My Conversion?](#which-event-should-i-use-as-my-conversion)
* [Step 1: Create the GA4 Event Tag](#step-1-create-the-ga4-event-tag)
* [Step 2: Add the Google Ads Conversion Tag](#step-2-add-the-google-a-ds-conversion-tag)
* [Step 3: Add the LinkedIn Conversion Tag](#step-3-add-the-linkedin-conversion-tag)
* [Step 4: Capture Campaign Source in Your CRM](#step-4-capture-campaign-source-in-your-crm)
* [Common Issues](/tips-and-tricks/im-running-paid-ads-to-my-demo.-how-do-i-report-conversions-in-google-ads-and-linkedin.md#common-issues)

### **👉 Before you start: use the /demo URL**

Cookie tracking does not work on the Direct Share URL. If your demo is embedded on an ad landing page, the embed must use the `/demo/` URL:

```
Correct:   https://app.storylane.io/demo/xxxxxxxxxxxx
Incorrect: https://app.storylane.io/share/xxxxxxxxxxxx
```

Without this, Storylane cannot link a visitor's demo activity to the email address they submit, and your conversion events will not tie back to the ad click. Direct Share URLs remain the right choice for email and outreach, where no cookie linking is needed.

{% hint style="info" %}
If a viewer expands an embedded demo to full screen, they are redirected to the Share URL for that view and cookie linking does not carry over for that session.
{% endhint %}

#### **👉 Which event should I use as my conversion?**

Use `sl_lead_identify`. This fires when an email is captured, which is the point a visitor becomes a reportable lead.

`sl_demo_open` is a page-level engagement signal and is usually too broad to optimise ad bidding against. The `sl_XX_demo_engaged` events are a good middle ground if you want an "engaged visitor" audience separate from your hard lead conversion.

{% hint style="danger" %}
Do not create a Data Layer Variable for `email` and pass it to GA4 or Google Ads.

The `sl_lead_identify` payload contains the lead's email address. Google's policies prohibit sending personally identifiable information into Google Analytics or Google Ads through event parameters, and accounts can be suspended for it.

Treat `sl_lead_identify` as a yes or no conversion signal in GTM. Let your CRM be the system of record for the email address itself.
{% endhint %}

***

#### **👉 Step 1: Create the GA4 event tag**

Follow the tag setup above, with these values:

| Setting                     | Value                              |
| --------------------------- | ---------------------------------- |
| Tag type                    | Google Analytics: GA4 Event        |
| Event Name                  | `generate_lead`                    |
| Trigger                     | Custom Event on `sl_lead_identify` |
| Event Parameters (optional) | `demo_id`, `demo_name`             |

Use `generate_lead` rather than a custom name. It is one of GA4's recommended events, which makes it straightforward to import into Google Ads as a conversion later.

***

#### **👉 Step 2: Add the Google Ads conversion tag**

1. In Google Ads, go to **Goals > Conversions > New conversion action > Website**.
2. Name the action (for example, `Storylane Demo Lead`) and save. Google Ads will provide a **Conversion ID** and **Conversion Label**.
3. In GTM, create a new tag with tag type **Google Ads Conversion Tracking**.
4. Enter the Conversion ID and Conversion Label.
5. Attach the same Custom Event trigger on `sl_lead_identify`.

***

#### **👉 Step 3: Add the LinkedIn conversion tag**

1. In LinkedIn Campaign Manager, go to **Analyze > Conversion Tracking** and create a conversion action with the Insight Tag as the source. This requires the LinkedIn Insight Tag to already be installed on your site.
2. In GTM, add the LinkedIn Insight Tag template from the Community Template Gallery, or use a Custom HTML tag containing the conversion snippet LinkedIn provides.
3. Enter your conversion ID.
4. Attach the same Custom Event trigger on `sl_lead_identify`.

***

#### **👉 Step 4: Capture campaign source in your CRM**

The tags above tell your ad platforms that a conversion occurred. To also record which campaign the lead came from on the contact record:

* If your lead form is a native CRM form (HubSpot, Marketo, Pardot) embedded as a demo step, add hidden fields for `utm_source`, `utm_medium`, `utm_campaign`, and `utm_term` to that form and confirm they populate from the page URL on submission.
* To report on campaign source in GA4 as well, create GTM variables of type **URL > Query**, read the UTM parameters from the page URL, and add them as event parameters on the `generate_lead` tag.

***

#### **👉 Common issues**

| Symptom                                                   | Likely cause                                                                                                         |
| --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| No Storylane events appear in GTM Preview                 | The embed is using a `/share/` URL, or the container ID was not saved in Storylane                                   |
| `sl_demo_open` fires but `sl_lead_identify` never does    | No email was captured. Check whether the lead appears on Storylane's Leads page                                      |
| Event appears in Preview but the tag shows as not fired   | The event name in the trigger does not match exactly. Check for capitalisation, spaces, and typos                    |
| GA4 session and event counts appear roughly doubled       | Storylane's native Google Analytics integration is connected alongside Google Tag Manager. Only one should be active |
| Conversions are not visible in Google Ads or LinkedIn yet | Ad platform conversion reporting can lag by several hours after the first conversion fires                           |

{% hint style="info" %}
Storylane Alerts can notify your team in real time when a lead is captured, which complements ad platform reporting. See [Alerts](https://docs.storylane.io/account/alerts).
{% endhint %}

***

If you need help or have any questions, feel free to contact us at <support@storylane.io>.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.storylane.io/tips-and-tricks/im-running-paid-ads-to-my-demo.-how-do-i-report-conversions-in-google-ads-and-linkedin.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
