Goal is an optional campaign tracking feature available for paid accounts that lets you trigger Automation workflows based on subscriber activity from your automation emails to your website. The Goal integration can also be used to create segments that target subscribers based on their Goal activity. Below, you'll learn how to enable Goal for your account and how you can use Goal tracking information to engage your subscribers.
In this article:
- How Goal Works
- Set Up the Goal Integration
- Add Goal Tracking to a Campaign
- Goal Automation Triggers
- Advanced Trigger Options
- Goal Segments
How Goal Works
MailChimp stores a web cookie in a subscriber's browser when they click from a Goal-enabled campaign to a webpage with the Goal tracking snippet installed. The cookie assigns a unique ID to the subscriber and is present for one year or until that subscriber clears the cookies from their browser. Anytime the subscriber returns to your website, the cookie will be referenced to track their activity on your site without the subscriber having to click from a MailChimp campaign.
If a subscriber visits your site from another browser or device without clicking through from a campaign with Goal enabled, that subscriber's activity will not be tracked by Goal.
Set Up the Goal Integration
- Click your profile name to expand the Account Panel and choose Account.
- Click the Integrations tab.
- Click Goal to expand the integration options.
- Click the Enable button.
- Copy the Goal tracking code we provide and place it at the bottom of the <head> section of every page on your website you wish to track. If your website uses a template, place the code snippet in the <head> of the template to add Goal tracking to all pages on your site.
Add Goal Tracking to a Campaign
To add Goal tracking to a campaign, follow the steps below.
- Navigate to the Setup step of the Campaign Builder.
- In the
Tracking section, check the box for
- Continue with the campaign building process, then send the campaign to your list.
Goal Automation Triggers
- On the
List and Workflow step, choose the workflow type
- Fill in the Workflow configuration fields and click Next.
- Click Goal tracking under the Tracking heading if you want to track website activity from these automated emails. Click Next.
- On the
Emails step, input a target URL below the
Trigger workflow when the following conditions are met heading.
Click the Add segmentation conditions box to open more segmentation options. To send emails to subscribers who visited your target URL already, check the Send first email immediately to subscribers who meet these criteria box. Click Save to continue.
- Build your Automation workflow and emails as usual. Preview and test your emails and click Start Workflow to activate it.
Advanced Trigger Options
When viewed in a typical browser, this code would show
Test Event link will receive the workflow.
This would trigger the workflow to send to subscribers who landed on subdomains of mydomain.com that start with us. A |?| wildcard delimiter can't trigger a workflow if it's left blank. A character must be present for the |?| wildcard to trigger the workflow.
This would include anyone who visited either the http or https version of your site, rather than just a specific one.
Segmenting with Goal activity lets you target subscribers who have completed specific actions on your site. Subscribers can only be targeted if they have previously clicked a link from campaign or automation email with Goal tracking enabled and directs to a site where the Goal tracking code snippet is embedded.
Target subscribers who have navigated to certain URL's on a site. Include the full URL or a portion of a URL to segment by.
Wildcard delimiters can not be used in Goal segmenting. To target subscribers that clicked wildcard links in your campaign, use the contains segmenting option and include the portion of the URL you'd like to target with your segment.
Goal Last Visited
This option lets you use Goal activity to target subscribers based on when they last visited a website with your Goal tracking script installed.
|Was this article helpful?||
|What can we do to improve your experience with articles like this?|
At this time, we are unable to reply to any responses, but we'll use this information to keep the site up-to-date.