dcsimg

How do I track campaigns using the campaign ID parameter (WT.mc_id)?

Products

Webtrends Analytics 8.x
Webtrends Analytics 9.x

Cause

Tracking campaigns with Webtrends can provide valuable insight into multi-channel marketing activities. For example, marketers can use this insight to determine which channels and creative types are the most successful in driving visitors to the site, how engaged visitors were by the content on the campaign landing page, and whether those visits lead to conversions. With Visitor History enabled for campaigns, marketers can correlate future activity such as return visits, orders and revenue with the campaign recorded on a vistor’s very first clickthrough.

Webtrends uses the WT.mc_id parameter, short for “Marketing Campaign ID,” to identify campaigns. Campaigns can be tracked by adding WT.mc_id=YourCampaignName to the campaign’s target URL. The Campaign IDs report in Webtrends displays the value in its literal form, however, additional classification and information can be specified in the campaigns.csv translation file. Other reports, such as the Campaigns report, use this translation file to display more meaningful information for campaign activity. For more information on using a translation file, refer to http://kb.webtrends.com/How_To/How-do-I-create-lookup-tables-and-upload-translation-files-using-the-Translation-File-Import-TFI-service-1365447696782 .

Resolution

WT.mc_id must be set in the query string of the URL, which is the part of the URL that begins with a question mark (?). The question mark (?) acts as a flag which instructs the browser to treat all subsequent text as a query string.

For a target URL without a query string, prefix WT.mc_id with a question mark (?). For example, an email campaign link might look as follows:

http://www.domain.com/landing.aspx?WT.mc_id=EmailCampaign1

For a target URL with a query string, do not add another question mark. Instead, prefix WT.mc_id with an ampersand (&) and add it to the end of the URL. The example link used above would appear as follows:

http://www.domain.com/landing.aspx?country=US&WT.mc_id=EmailCampaign1

The value of WT.mc_id may be alphanumeric and as complex or as simple as preferred. Refer to “What characters are allowed in translation files?for more information regarding the use of punctuation, non-alphanumeric and other characters.

More Information

Webtrends On Premises customers who are not using the SmartSource Data Collector (SDC) must create an intermediary page containing the Webtrends tag and code to redirect the client browser to the desired page on the site. This will ensure that the hit containing WT.mc_id is collected in the log file. This must be an actual page and not a server-side redirect. On Premises customers using the SDC, as well as On Demand customers, do not need to create an intermediary page as the Webtrends tag automatically captures the campaign ID value when the target URL page loads.