# Campaign Monitor

### Identify & track Campaign Monitor email recipients on your website&#x20;

#### Step 1: Track email opens

{% hint style="warning" %}
The **Email builder** from Campaign Monitor does not support HTML editing. Meaning we can only track email opens if your emails are created using the **Import HTML** method.
{% endhint %}

To track mail open/reads from your Campaign Monitor audience in LeadBoxer, you need to add a LeadBoxer tracking pixel to your campaigns or templates.&#x20;

Here are the steps needed for adding the tracking pixel:

1. Go to your campaigns
2. Choose the mail template you want to track
3. Edit the HTML:

   <figure><img src="https://1941892698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_u92JFMboVvSv_dif4%2Fuploads%2F1qLNmTh3B4tkxzSRvKyO%2FCreate_your_campaign___Campaign_Monitor.png?alt=media&#x26;token=ba04aa4b-96de-45e6-a49a-e1a099726b67" alt=""><figcaption></figcaption></figure>
4. In the HTML add the tracking pixel at the bottom of the email, before the end body tag:

   <figure><img src="https://1941892698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_u92JFMboVvSv_dif4%2Fuploads%2FijpI5D9njq4Ba5s6aHhQ%2FCreate_your_campaign___Campaign_Monitor_and_PLG_-_Amplitude.png?alt=media&#x26;token=fab28206-a572-4c93-a237-4b0d1b3a13e9" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```html
<img src="https://track.leadboxer.com/log?datasetId=YOUR-DATASET-ID&campaign=Campaign-monitor-email&email=[email]">
```

{% endcode %}

5. Save

**Notes:**

* Don't forget to change the DATASET ID to your own.&#x20;
* You can add additional data fields variables as parameters by simply adding these to the pixel, eg \&firstName=\[firstname], etc
* For more details on advanced data fields in Campaign Monitor see:&#x20;
  * <https://help.campaignmonitor.com/access-the-html-of-an-email>

### Step 2: Track email clicks (click-thrus) and identify prospects on your site

To track email clicks, you need to modify the links inside your email campaigns and add this parameter to the URL of the link:

**\&email=\[email]**

This will allow us to identify the individual visitors when they land on your site.

<figure><img src="https://1941892698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_u92JFMboVvSv_dif4%2Fuploads%2FtekajgnywN8v3GNe5Pna%2FBuild_your_Email___Campaign_Monitor.png?alt=media&#x26;token=6aae2f85-0076-46f3-878d-e14af8a216c7" alt=""><figcaption></figcaption></figure>

Optional, but recommended; add additional parameters to enrich visitors with additional information from your database:

**example URL**

{% code overflow="wrap" %}

```url
https://www.YOURDOMAINNAME.com/my-landing-page/?firstName=[firstname]&lastName=[lastname]&email=[email]
```

{% endcode %}

NOTE: remember to update the landing page with your url.\
Tip: Best practice is to test before sending out a mass email
