Track email Opens
The 'track_opens' API will generate a unique image to place in your email marketing campaign to track user opens
Important: You will need an API key to use this API. Register for a free account here.
Features:
- track_opens/create/ - Create a unique image to track email opens
- track_opens/opens/ - Track the total and unique opens of your email marketing campaign
- More coming soon..
Usage
Create - http://msapi.com/track_opens/create/{API-KEY}/{CAMPAIGN-TITLE}/{USER-REFERENCE}
Opens - http://msapi.com/track_opens/opens/{API-KEY}/{CAMPAIGN-TITLE}
Sample output
Create - http://durl.im/pact/8or/Aab.gif
Opens - {"result":"success","total_opens":2,"distinct_opens":2}
Parameters
| Preference | Default Value | Options | Description |
|---|---|---|---|
| api_key | Required | None | Your API Key |
| campaign-title | Required | None | An identifier for your email marketing campaign, usually the campaign subject |
| user-reference | Required | None | An identifier for the recipient of the email marketing campaign, usually the users email address in plain text or hashed |
Error codes
| Error notice | Cause |
|---|---|
| Error | Invalid API Key |
| Failed | Campaign title not found |