2022.1

Table Of Contents
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
jQuery and its plugins, or MooTools, are useful when you want to implement special features in
the web page. (See "Using JavaScript" on page597.)
Style sheets are also added to the <head> and are used just as they would be used in a regular
web page. (Also see: "Styling templates with CSS files" on page786.)
Page 1570