# Spotler mail+

### 1. Track Spotler Email opens or reads:

1. Add a new HTML or code block to the footer of your template

   <figure><img src="/files/e70mPM93UxVKCnuCWmSM" alt=""><figcaption></figcaption></figure>
2. Clcik the HTML/code view and add the tracking code

   <figure><img src="/files/cKBgyhK7TVfqZR9GnR0E" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```html
<img src="https://track.leadboxer.com/log?datasetId=YOUR-DATASET-ID&campaign=Spotler-Campaign-[date:en|dd-MM-yyyy|now]&email={email}&firstName={Voornaam}&lastName={Achternaam}&companyName={Bedrijfsnaam}">
```

{% endcode %}

{% hint style="info" %}
Make sure you change YOUR-DATASET-ID in above snippet.

Unfortunatly, Spotler does not have the option to dynamically use the title of the email in the campaign variable, meaning you will need to either use a generic campaign name with a dynamically generated date or manually change this for each email that is send out.
{% endhint %}

### 2. Tracking Spotler clicks

First we recommend you enable the Google Analytics integration, so that UTM tags are added to all the URLs

Secondly, we need to add identification parameters to every URL. This can be accomplished by using the 'Extra parameters' feature. We recommend to add the email and company parameter.

<figure><img src="/files/qp8WVQAlSJ2GTs64A6C0" alt=""><figcaption></figcaption></figure>

Even though it looks like it is enabled for for all emails like this, we found It might be necessary to manually enable this again in the emails/ newsletters themselves.

&#x20;Click on the Analytics button at the top of the email

<figure><img src="/files/lFx1jwlsmj1aFHjd5RrC" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fdjl4eTxqnA1YnxHDBlm" alt=""><figcaption></figcaption></figure>

The Extra parameters feature only allows for 2 additional parameters, so if you need more you can still manually add them like this:

{% code overflow="wrap" %}

```url
https://www.leadboxer.com?firstName={vNaam}&lastName={aNaam}&email={email}&companyName={bedrijf}
```

{% endcode %}


---

# Agent Instructions: 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:

```
GET https://help.leadboxer.com/leadboxer/integrations/email/marketing-emails/spotler-mail+.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
