2020.1

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
page509).
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.
Generating Web output
The Web context outputs one HTML web page. In addition to the HTML text it contains either
the resources or references to the resources necessary to display it.
JavaScript files are added to the <head> in the generated HTML file. JavaScript toolboxes like
Page 1453