How can I track email open rates?

To track your email open rates, simply select the “Track email open rate” option on the Compose Message step when creating your message:

alt text

Background: How exactly does Mixpanel track email open rate?

Mixpanel tracks email open rates using pixel-based Event tracking. Mixpanel adds a URL directed to http://api.mixpanel.com/track/ into the src attribute of the HTML image tag within the email.

The format for the URL of the embedded image is the same as the URL for a regular Mixpanel request, except with "&img=1" added to the end. By adding "&img=1,” Mixpanel will return a 1x1 transparent gif that the program rendering the message will load. When the image renders, Mixpanel logs the Event.

Here is an example JSON array that we might generate for an Email Opened Event:

{"event": "Email Opened", 
        "properties": {
            "distinct_id": "user@domain.com", 
            "token": "e3bc4100330c35722740fb8c6f5XXXXX", 
         "campaign": "employee wellness"
                }
        }

This JSON array, once base 64 encoded and put in the proper URL format, looks like this:

https://api.mixpanel.com/track/?data=eyJldmVudCI6ICJlLW1haWwgb3BlbmVkIiwgDQogICAgCQkicHJvcGVydGllcyI6IHsNCiAgICAgICAgCSJkaXN0aW5jdF9pZCI6ICJ1c2VyQG1peHBhbmVsLmNvbSIsIA0KICAgICAgICAJInRva2VuIjogImUzYmM0MTAwMzMwYzM1NzIyNzQwZmI4YzZmNVhYWFhYIiwgDQogICAgICAgIAkiY2FtcGFpZ24iOiAiZW1wbG95ZWUgd2VsbG5lc3MiDQogICAgICAgICAgICAgICAgfQ0KICAgICAgICB9&ip=1&img=1