Target audience: Site Administrators
The Campaign Trackers in the Web Management System (WMS) are for Site Administrators who run marketing campaigns that use tracking methods offered by various services. A Campaign Tracker allows the Site Administrator to embed the necessary JavaScript code for the tracker that they are using.
Site Administrators create the Campaign Tracker block and then configure it to embed the code for the tracker on the desired page(s). The underlying campaign and access to the analytics or data are managed by signing into the service itself, i.e., Facebook, Google AdWords, DoubleClick, Twitter, LinkedIn.
In this article:
Support for X (former known as Twitter) has been deprecated.
The block is invisible. The Campaign Tracker block will not change how the page looks so site visitors and Site Managers will not see it.
To create a Campaign Tracker block:
In addition to fields that are specific to each type of service, all the Campaign Tracker blocks have the following fields:
Label: The name of the block that appears on the Block Administration page
Title: Optional
ID: A number generated by the service provider
View Mode: The block will not be seen by site visitors so the view mode has no effect and can be left in the default selection of “Full”
When you select Google AdWords Tracker, depending on the "Type" of tracking you select (e.g., Conversion or Remarketing), you will be presented with a different set of field options.
The block will not be visible but must be enabled for the code to be embedded on the page(s) that you specify. The block can be set to any region unless the tracking service recommends otherwise. For example, if the code should reside close to the opening <body> tag, the block can be placed in the Top of page region.
To configure the block, from the Administration toolbar, go to Structure > Blocks. Locate the block and click Configure. See Manage Blocks in the WMS.
Once the block is configured, you can verify that the JavaScript for the tracker is embedded in the page by viewing the source code in whichever browser you’re using. You can use the “Find” command (Control + F on Windows, Command + F on Mac) to search the code for "doubleclick," "facebook," "google," "twitter" or "linkedin."