2019.2

Table Of Contents
To assign a campaign, set a meta tag of the type name with the value X-Mailjet-Campaign and
set its content to the name of the campaign (for example: invoices).
You can make this setting in the Email section properties (see "Meta information" on
page185).
Alternatively you could write a Control Script, for example:
merge.context.sections["Content"].addHeader("X-Mailjet-Campaign",
"invoices");
Note
Mailjet strips out their own mailheaders like X-Mailjet-Campaign. The results can only be
verified via the respective campaign stats page in the Mailjet dashboard. There is no
need to pre-create the campaign: adding it to the email header via a Control Script auto-
generates the campaign. To view the campaign, login to Mailjet and choose: Campaigns
> All.
Optimizing a template
This topic describes some ways to optimize a template in order to speed up the output process.
However, the template itself is not the only factor to be taken into account. The server
Page 952