Skip to content

Instantly share code, notes, and snippets.

@flegoff
Created September 6, 2013 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flegoff/6460664 to your computer and use it in GitHub Desktop.
Save flegoff/6460664 to your computer and use it in GitHub Desktop.
Mailjet EventAPI JSON samples
// Body payload received from Mailjet when using the EventAPI / Tracking
// click event
{"event":"click","time":1378380428,"email":"demouser@mailjet.com","mj_campaign_id":1210530799,"mj_contact_id":740195877,"customcampaign":"mj.nl=672019","url":"http://www.mailjet.com","ip":"82.132.244.150","geo":"GB","agent":"Mozilla/5.0 (Linux; U; Android 4.1.2; en-gb; GT-I9100 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"}
// open event
{"event":"open","time":1378377304,"email":"demouser@mailjet.com","mj_campaign_id":"1210245103","mj_contact_id":"740125873","customcampaign":"mj.nl=671862","ip":"194.73.233.179","geo":null,"agent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/29.0.1547.65 Safari\/537.36"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment