---
title: "GoHighLevel Integration"
description: "Learn how to connect OneClick Tracking to GoHighLevel to accurately track lead and sale conversions in your Meta Ads campaigns via UTM."
---

> Learn how to set up OneClick Tracking.

**OneClick Tracking** is a new feature for Meta Ads advertisers who use GoHighLevel as their CRM. It provides accurate tracking of qualified leads.

This solution **corrects wrong attributions made by Meta**, delivering **real data based on UTMs** and enabling safer scaling decisions.

**With OneClick Tracking you see the volume of real conversions per period right in your Ads Manager, making for a quick, clear audit without dashboards that are a hassle to keep up to date.**

Note: **OneClick Tracking** removes the need for extra tracking tools!

---

:::tip[You can connect several platforms at the same time]
OneClick Tracking lets you connect **more than one platform to the same ad account** at the same time (for example, Hotmart and Eduzz together). Each platform has its own integration — with its own Webhook link or access credential — and they coexist without competing with each other; just repeat the **"New Integration"** steps for each one you want to connect.

Each sale is attributed to the right campaign by its **UTM**, not by the platform. So if one campaign sells through one platform and other campaigns sell through another, each conversion is automatically linked to the campaign it came from, regardless of which platform generated the sale. The recommended setup is **each campaign serving a single platform** — avoid having the same campaign sell on two platforms at once.
:::

## Setting up GoHighLevel to generate the Access Token

Before connecting OneClick Tracking to GoHighLevel, create a **Private Integration** in the sub-account that receives your leads and generate its token. Follow the steps in the [video](https://youtu.be/ssDO6tz6b1w?t=96):

1. In GoHighLevel, open the sub-account and go to **Settings → Private Integrations**.
2. Create a new integration and, under **Scopes**, select all three permissions:
   - `opportunities.readonly`
   - `pipelines.readonly`
   - `contacts.readonly`
3. Click **Generate Token**.

**Attention:** the token is shown only once.

- Copy the generated token
- Keep it somewhere safe
- Use this token in **OneClick Tracking**

### Finding the Location ID

Besides the token, OneClick Tracking asks for the sub-account's **Location ID**. It is part of the GoHighLevel URL itself: open the sub-account and look at the browser URL. For example, in `https://app.gohighlevel.com/location/abc123XYZ/dashboard`, the Location ID is `abc123XYZ`.

---

## Setting up OneClick Tracking

1. Log in to your OneClick Ads account.
2. Go to the "OneClick Tracking" tab, available in the left sidebar of [OneClick Ads](https://app.oneclickads.com.br/oneclick-tracking).

   ![The OneClick Tracking tab in the OneClick Ads sidebar, with the New Integration card](../../../../../public/oneclick-tracking/common/image-1.png)

3. Click "New Integration".

4. Select the "Lead Generation" product type and click Continue.

5. Select the "GoHighLevel" platform and click Continue.

5.1. In the "Step 2.1: GoHighLevel Integration" step, fill in both fields and click **Connect GoHighLevel**:

- **Location ID**: the sub-account identifier, copied from the GoHighLevel URL.
- **Access token**: the token generated in the Private Integration.

![Step 2.1 of the OneClick Tracking wizard with the Location ID and Access token fields and the Connect GoHighLevel button](../../../../../public/oneclick-tracking/gohighlevel/image-4.png)

5.2. Once the account is connected, you see "GoHighLevel connected successfully!" and the list of your pipelines. Under "Select the conversion steps", open the pipeline and check the stage at which the conversion will fire, then click **Continue**. If you set the conversion to happen at "link de pagamento enviado" (payment link sent), as in the example below, OneClick Tracking will record that conversion in your Ads Manager when a lead is moved into that stage.

6. Copy the Webhook URL and add it in GoHighLevel by following the steps below:
   a. Each ad account gets a unique, automatically generated link.
   b. This link is what connects your account and tracks conversions by UTM.
   c. In GoHighLevel, go to "Settings >> Automation >> Create Workflow" (example in the [video](https://youtu.be/bz_d6EkC6cc)).
   **d. Add a trigger with the "Opportunity Stage Changed" event** to capture every time an opportunity is moved between stages in a pipeline.
   This event reports changes in the funnel, such as when a lead moves forward a stage, goes back to a previous stage, or is marked as **Won** or **Lost**.
   If you also want to record the moment a lead enters the pipeline for the first time, you can add **another trigger** with the **"Opportunity Created"** event. That way your system receives both the **opportunity creation** and **every move between stages**.

   ![image3](../../../../../public/oneclick-tracking/gohighlevel/image-1.png)

   e. Add the webhook with the link shown in the tracking setup.

   ![image4](../../../../../public/oneclick-tracking/gohighlevel/image-2.png)
   ![image5](../../../../../public/oneclick-tracking/gohighlevel/image-3.png)

7. Copy the UTM Script generated in OneClick Tracking.

   ![The UTM parameters step of OneClick Tracking, with the parameter to copy](../../../../../public/oneclick-tracking/common/image-2.png)

   7.1. Paste it into the "URL parameters" field in ALL of your ads in Ads Manager, as shown below:

   ![The URL parameters field of an ad in Meta Ads Manager](../../../../../public/oneclick-tracking/common/image-3.png)

8. Add the **UTM Passthrough Script** to all your sales pages, so the UTMs are automatically carried into the card of each lead generated.
   a. You can install it on your website via Google Tag Manager or, preferably, directly in your website's header.

9. Set the Attribution Mode.
   - [Watch this video](https://www.youtube.com/watch?v=JgWkvv4ZNLY) to understand each model.
   - Click Continue.

   ![The Attribution Mode step of OneClick Tracking](../../../../../public/oneclick-tracking/common/image-4.png)

10. Set the Naming Convention that your campaigns, ad sets and ads will receive in your Ads Manager and click next.

:::caution[Campaign renaming depends on processed conversions]
The naming set here **will only be applied to the campaign name in Ads Manager once there is at least 1 processed conversion**. Receiving raw webhook data from the integrated platform is not enough — the system must have structured the conversion and attributed it to a campaign. If the webhook is arriving but the campaign name hasn't changed yet, wait for the first conversion to be recorded.
:::

![The Campaign Naming step of OneClick Tracking](../../../../../public/oneclick-tracking/common/image-5.png)
![Analysis periods and the Naming Convention preview](../../../../../public/oneclick-tracking/common/image-6.png)

---

## Done!

Wait at least 24 hours for the setup to take effect, and all your campaigns (those that receive conversions) will start recording conversions right inside Ads Manager.

![Campaigns with the OneClick Tracking prefix in Ads Manager](../../../../../public/oneclick-tracking/common/image-7.png)

---

## Important Notes

- Only campaigns created after the setup will have access to the "Maximum Period" data. This **does not affect** OneClick Ads optimization on older campaigns in any way.
