Product
Talk about a throwback; this was posted on August 29, 2011!
Good news everyone! Mailgun is migrating to a new and more powerful email pipeline, please expect a stream of exciting announcements very soon.
For starters, we have added the option to fune-tune message tracking. Now Mailgun users can enable/disable tracking on a per-message level by adding a special X-Mailgun-Track MIME header. Set it to “yes” if you want this message to be tracked, or “no” if you wish to turn tracking off. Message level setting overrides domain-level tracking. Enjoy!
Here’s an example of how a raw MIME message looks with a message-level tracking enabled:
To: The World
From: Mailgunners
Subject: Message-level tracking demo
X-Mailgun-Track: yes
When sending messages, you can now submit a JSON-dictionary of user-defined key-value pairs. Those variables will be passed back to your web application via Mailgun webhooks. This allows Mailgun users to build more sophisticated and flexible analytics on their end. Read more about webhooks and custom variables here.
Note that MIME allows you to have multiple headers with the same name, in that case Mailgun will merge your dictionaries as shown in this example:
To: The World
From: Mailgunners
Subject: User-defined variables demo
X-Mailgun-Variables: {"first_name": "John", "last_name": "Smith"}
X-Mailgun-Variables: {"my_message_id": 123}
When one of tracked events happens with message, Mailgun will post the following parameters via HTTP POST into your app: firstname, lastname and mymessageid.
Let’s talk email
When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalised web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
Cookie Statement
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
Cookie details
Cookie Subgroup | Cookies | Cookies used |
---|---|---|
documentation.mailgun.com | _cfuvid , __cfruid | First Party |
.mailgun.com | OptanonConsent | First Party |
mailgun.com | actualOptanonConsent , apt.sid , OptanonAlertBoxClosed , mail_session | First Party |
app.mailgun.com | connect.sid , SERVERID | First Party |
hello.mailgun.com | uvts , __cf_bm | First Party |
m.stripe.com | m | Third Party |
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
Cookie details
Cookie Subgroup | Cookies | Cookies used |
---|---|---|
hello.mailgun.com | ubpv , ubvs | First Party |
dev.mailgun.com | _an_uid | First Party |
app.mailgun.com | rl_page_init_referring_domain , rl_anonymous_id , rl_group_trait | First Party |
mailgun.com | _vwo_ds , test_rudder_cookie , _vis_opt_s , rl_group_id , rl_user_id , _ga , rl_session , rl_page_init_referrer , ubvt , _vwo_uuid , apt.uid , optimizelyEndUserId , _gat , _vwo_sn , _ga_xxxxxxxxxx , _gid , _uetvid , _vis_opt_test_cookie | First Party |
hello.learn.mailgun.com | visitor_id | Third Party |
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
Cookie details
Cookie Subgroup | Cookies | Cookies used |
---|---|---|
hello.mailgun.com | _gd_session | First Party |
mailgun.com | __q_state_zkTi4FmbUJniF8K2 , _vwo_uuid_v2 , apt.temp-xxxxxxxxxxxxxxxxxx , __tld__ | First Party |
demo.mailgun.com | _gd_visitor | First Party |
dev.mailgun.com | _pin_unauth , __uvt | First Party |
app.mailgun.com | __stripe_mid , __stripe_sid | First Party |
mailgun.zendesk.com | _cfuvid, __cf_bm, __cfruid | Third Party |
vimeo.com | _cfuvid, __cf_bm, vuid | Third Party |
producthunt.com | __cf_bm | Third Party |
goldcast.io | __cf_bm | Third Party |
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Cookie details
Cookie Subgroup | Cookies | Cookies used |
---|---|---|
www.mailgun.com | pardot | First Party |
app.mailgun.com | rl_trait | First Party |
hello.mailgun.com | visitor_id | First Party |
mailgun.com | _gat_gtag_xxxxxxxxxxxxxxxxxxxxxxxxxxx , _uetsid , _fbp , _tt_enable_cookie , _ttp , _rdt_uuid , __q_domainTest , _gcl_au | First Party |
linkedin.com | bcookie, lidc, li_gc | Third Party |
pi.pardot.com | pardot, lpv830283 | Third Party |
bing.com | MSPTC, MUID | Third Party |
hello.learn.mailgun.com | pardot | Third Party |
pardot.com | visitor_id | Third Party |
doubleclick.net | IDE, test_cookie | Third Party |
youtube.com | VISITOR_PRIVACY_METADATA, VISITOR_INFO1_LIVE, __Secure-xxxxxxx | Third Party |
www.google.com | _GRECAPTCHA | Third Party |
These cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.
Cookie details
Cookie Subgroup | Cookies | Cookies used |
---|---|---|
youtube.com | YSC | Third Party |