---
schema_version: "1"
id: 8fef6f5dc20af2cfabde20df01752271115ee5c43a3a6c3ae2c3209a0d69fe22
title: Web Analytics Connector
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_wa_web_analytics_connector.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_wa_web_analytics_connector.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1401991127b5c773a8095249d0313516088af7f57b61b0dc957755d123795779
description: Use the Web Analytics Connector to extend a web analytics service, such as Google Analytics, to track and analyze data based on your Marketing Cloud Engagement sends.
products:
  - Marketing
  - Marketing Cloud Engagement
release: "264"
---
# Web Analytics Connector

Use the Web Analytics Connector to extend a web analytics service, such as Google Analytics, to track and analyze data based on your Marketing Cloud Engagement sends.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>all editions</strong></td></tr></tbody></table>

Use the connector to tag links in your emails by automatically including specific variables in the target URLs. The analytics tool then tracks those URLs back to the email. For example, include the campaign ID in the target URL of your links to identify the web traffic generated by that campaign. When a subscriber clicks a link to your website from your Marketing Cloud Engagement email, your web analytics service tracks the activity.

To configure and activate the connector in your account, use the [Parameter Manager](https://help.salesforce.com/s/articleView?id=mktg.mc_overview_parameter_management.htm&release=264.0.0&type=5 "Set up or edit the tracking parameters that are appended to the links in messages sent from Marketing Cloud Engagement. The parameters you configure here are applied to all messages sent from your business unit.").

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_marketing_cloud_overview-264-0-0-production-enus/2555afdb-8049-4e3c-8043-0e04803e5f16/images/icon_note.png)

Note Configure your third-party web analytics service before using Parameter Manager to activate the Web Analytics Connector.

Include any of these data levels in your links and track the results through the connector:

- Account
- Email
- Subscriber
- Link

## Account-Level Data

Use account-level data to identify link activity as originating from your Marketing Cloud Engagement account, rather than another marketing channel. Use Parameter Manager to set up your account with one or both of these options:

- Set up a static variable, such as `src=MC` to automatically add to your links.
- Set up a variable with a personalization string that’s unique to your account. For example: `src=MC_%%memberid%%`. This option identifies the specific Marketing Cloud Engagement account that the email was sent from, which is useful for customers with multiple Marketing Cloud Engagement accounts.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_marketing_cloud_overview-264-0-0-production-enus/2555afdb-8049-4e3c-8043-0e04803e5f16/images/icon_note.png)

Note Refer to your web analytics service for string generator guidance.

## Email-Level Data

Use email-level data, such as a campaign code, to identify link activity from email messages and track campaign effectiveness. You can also track links from SMS messages and social interactions with this data.

Use one of these options to identify Marketing Cloud Engagement email-level traffic:

- Manually enter variables in links when creating an email.
- Automatically include variables for all links in an email. Enter the variable in the Additional Email Attributes section of the email properties when creating an email. Update existing emails with this information by editing the email properties and entering the variable in the Attributes field.
- Include variables during the Send Wizard by entering them in the Additional Info field.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_marketing_cloud_overview-264-0-0-production-enus/2555afdb-8049-4e3c-8043-0e04803e5f16/images/icon_note.png)

Note You can enter up to 4,000 characters for these variables in your links, but many browsers restrict URLs to 2,000 characters.

## Subscriber-Level Data

Use account-level data to identify activity from a specific subscriber. This data is applied to all links in each email so that website traffic is attributed to the subscriber who received the email. For example, include the Subscriber ID in links and identify subscribers who click links within the web analytics service. By storing the subscriber ID in a cookie, the web analytics tool can continue to track the subscriber’s progression through your site.

## Link-Level Data

Use link-level data to identify links that are clicked in Marketing Cloud Engagement emails, which is helpful when using the same alias for multiple links. For example, if you identify the email section that the link appears, you can analyze the most effective sections for generating web traffic. A coupon code can also be included as link-level data.

Use one of these options for identifying Marketing Cloud Engagement link-level data:

- Manually enter the variable in the Link URL field when creating email links.
- To insert the value of the variable, include personalization strings. For example, `content=%%linkname%%`.

## Conditional Tagging for Enhanced Tracking

Use the [Web Analytics Tracking AMPscript function](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-wat.html) to retrieve the values of a Web Analytics Tracking parameter based on its key.

- **[Plan Your Web Analytics Connector Implementation](https://help.salesforce.com/s/articleView?id=mktg.mc_wa_plan_for_web_analytics_integration.htm&release=264.0.0&type=5)**  
    Prepare to integrate tracking information from Marketing Cloud Engagement with a third-party web analytics service.
- **[Web Analytics Connector Scenario](https://help.salesforce.com/s/articleView?id=mktg.mc_wa_web_analytics_connector_scenario.htm&release=264.0.0&type=5)**  
    Learn how a fictitious company, Northern Trail Outfitters, uses the Web Analytics Connector to share tracking information between Marketing Cloud Engagement and a third-party web analytics service.