Apply a campaign code to an online campaign
A campaign activity is a promotion or advertising initiative designed to encourage people to visit a website. Campaigns run for a defined amount of time. You can use campaigns to get visitors to perform certain actions on your website.
When you create a campaign, the Campaign Creator generates a campaign tracking code. You apply this code to track external interactions, such as email campaigns or traffic coming from an external web source. This enables you to gather more detailed information about campaign traffic and efficiency using the dashboards in Experience Analytics.
When creating a new campaign activity, you must save the campaign activity before the Campaign Creator generates a campaign code.
To apply a campaign code to an online campaign:
From the Sitecore Launchpad, open the Campaign Creator.
On the landing page, click the campaign activity you want to associate with the online activity.
In the campaign activity panel, under Campaign execution, in the Campaign link field, select the campaign link.
Add the campaign link to the website URL where it is appropriate. This may vary from website to website.
In this example, the website URL is: www.sitecore.net/default.aspx
The query string provided for this campaign is:
After you insert the query string, you must insert a question mark to complete the path because this is not included in the Campaign link field.
In this example, the new query string is: