> For the complete documentation index, see [llms.txt](https://help.leadboxer.com/leadboxer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.leadboxer.com/leadboxer/integrations/email/marketing-emails/lemlist.md).

# Lemlist

### Step 1: Track email opens

To track mail open/reads, you need to add the tracking pixel to your campaigns or templates.&#x20;

Here are the steps needed for adding the tracking pixel:

1. go to your drip campaign or template
2. edit your campaign or template and switch to HTML (\</>)
3. paste in your email tracking pixel at the bottom

{% code overflow="wrap" %}

```html
<img src="https://track.leadboxer.com/log?datasetId=YOUR DATASET ID&campaign=lemlist&email={{email}}&firstName={{firstName}}&lastName={{lastName}}&company={{companyName}}" width="1" height="1" >
```

{% endcode %}

{% hint style="info" %}
**Notes:**

* Change datasetId to reflect yours
* Optionally, change the campaign value to reflect the email title or campaign name&#x20;
* you can add other custom variables as parameters if you have them
  {% endhint %}

### Step 2: Track clicks and identify prospects on your site

To track email clicks, you need to modify your links to include these parameters&#x20;

example URL

{% code overflow="wrap" %}

```url
https://www.YOURDOMAINNAME.com?email={{email}}&companyName={{companyName}}
```

{% endcode %}

For more details see this page:

<https://help.lemlist.com/en/articles/4452688-custom-variable-format><br>


---

# 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://help.leadboxer.com/leadboxer/integrations/email/marketing-emails/lemlist.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.
