---
title: "Connect Google Analytics (GA4) to Boxly"
description: "Track what happens after someone becomes a lead in Boxly"
url: https://help.boxly.ai/en/articles/10182730-connect-google-analytics-ga4-to-boxly
collection: "Conversion Tracking"
updated: 2026-10-28
language: en
---

# Connect Google Analytics (GA4) to Boxly

Track what happens after someone becomes a lead in Boxly

> **Info:** This feature is part of Boxly’s [**Pro Plan**](https://www.boxly.ai/pricing)

If you use Google Analytics to track website performance, you can also use it to track what happens after someone becomes a lead in Boxly.

To connect it, you’ll need:

-   A Measurement ID
    
-   An API Secret
    

## 🔧 Connect Google Analytics (GA4) to Boxly

* * *

### Step 1: Sign In to Google Analytics

✅ Go to [analytics.google.com](analytics.google.com) and log in.  
✅ Click the **Admin** gear icon at the bottom left.

![](https://staticfiles.gleap.io/ghelparticle/eKXqdF0tCy9yQDCdmVKHLQerihOK15U6z82g4pNOSPkQ1KPSuYwFFDIIq0jMtNYau6mjSxmzo8n.png)

### Step 2: Get Your Measurement ID

✅ Under Property, click “**Data Streams”.**  
✅ Click your **Web stream.**  
✅ Copy the **Measurement ID** shown at the top (starts with "**G-**").

![](https://staticfiles.gleap.io/ghelparticle/rhTWGNg779RRSc22uSyj39qrqrHSQSzs9LEJnRwfqCgu7hjUVAVRHuSzKI7Nd8l4j2a7vHMGT5D.png)

### Step 3: Get Your API Secret

✅ In the same stream screen, scroll down to **Measurement Protocol API secrets.**  
✅ Click **Create** or use an **existing one.**

![](https://staticfiles.gleap.io/ghelparticle/Z8hiKNiN3uhJ2sUWkfJrlAAdEwbWrO73AaCiHilrEWzxdrjWLiERHP764J1m20NCyNEii6mtUio.png)

✅ Copy the **secret value.**

### Step 4: Add to Boxly

✅ Go to **Marketing** > [**Ad Tracking**](https://app.boxly.ai/marketing/tracking/ad-tracking) in Boxly.

![](https://staticfiles.gleap.io/ghelparticle/AsTF9AkGYMK4118mKBqrKYT2tRuIWFgllA60UD6gK5NMtTccV90HLEJwfbNVhGjj92T6m6HIs5w.png)

✅ Select **“Google Analytics”**  
✅ **Name** the account & paste the **Measurement ID and API Secret.**  
✅ Click **“Save”.**

![](https://staticfiles.gleap.io/ghelparticle/UqAYfzgXYzzA4VCDL3Rum01xgjvxjKkceleS7jzrqRauBle9uBLWtcaPFsLccxqGrnHw1ZjJTNc.png)

## What Events Boxly Sends to Google Analytics

* * *

When tracking is set up correctly, Boxly automatically sends key conversion events to your connected ad accounts.

How it works:

1.  When a new lead comes in
    

**Boxly classifies it as:**

-   Qualified Lead (a real potential customer)
    
-   Spam (marketing or junk)
    
-   Other (existing patients or non-sales enquiries)
    
-   Unknown (not yet classified)
    

> This event is then sent back to Google Ads so they can understand which leads are valid.

2.  When a lead moves through milestones
    

Every time a lead reaches a milestone (for example, Consultation Booked, Treatment Started, or Treatment Finished), Boxly reports that event back to Google.

> **Done!** Boxly can now send updates to your Analytics account when leads come in or progress through your stages.
