# comScore Setup Guide

This guide will help you set up comScore as a destination in the RudderStack dashboard. It also lists the configuration settings required to correctly send data from the supported sources to comScore.

## Connection compatibility

{{< destination-config >}}

## Setup

1. In your [RudderStack dashboard](https://app.rudderstack.com/), set up a source.
2. Go to the **Overview** tab of your source and select **Add Destination** > **Create new destination**.

{{< image src="images/event-stream-destinations/add-new-destination.webp" alt="Add new destination in RudderStack dashboard" >}}

3. Select **comScore** from the list of destinations. Then, click **Continue**.

## Connection settings

| Setting | Description |
| :----| :-----|
| Publisher ID | Enter the client ID/C2 value associated with your mobile app. <br /><br />See [FAQ](#faq) for more information on obtaining this value. |

## Web SDK settings

| Setting | Description |
| :----| :-----|
| Use device mode to send events | This setting is turned on by default as this is a device mode-only integration. |
| Map RudderStack page properties to comScore parameters | Use this setting to map the RudderStack `page` event properties to specific comScore parameters.  <br /><br />{{< warning >}}If you do not specify these mappings, RudderStack uses the [default mappings]() instead.{{< /warning >}} |

## Android/iOS SDK settings

| Setting | Description |
| :----| :-----|
| App Name | Enter your source app name. RudderStack includes this parameter in the events to specify the source app for getting the tags and data. |
| Only auto update when app is in foreground | This setting is turned on by default and updates your app usage data only when the application runs in the foreground. |
| Auto update when app is in foreground and background | Turn on this setting to update your app usage data when the application is running in the foreground and background. <br /><br />{{< warning >}}If turned on, this setting overrides the **Only auto update when app is in foreground** setting.{{< /warning >}} |
| Auto update interval | Use this setting to specify the time interval between the updates. <br /><br />{{< info >}}This setting is applicable only if the auto updates are turned on.{{< /info >}} |
| Use device mode to send events | This setting is turned on by default as this is a device mode-only integration. |

## Other settings

| Setting | Description |
| :----| :-----|
| Client-side event filtering | These settings let you specify which events should be blocked or allowed to flow through to comScore. <br /><br />See [Client-side Event Filtering]({{< ref "sources/event-streams/sdks/event-filtering.md" >}}) for more information. |
| Consent management settings | Configure the consent management settings for the specified source by choosing the **Consent management provider** from the dropdown and entering the relevant consent category IDs. <br /><br />See [Consent Management in RudderStack]({{< ref "data-governance/consent-management/overview.md" >}}) for more information on this feature. |

## FAQ

#### Where can I find the comScore Publisher ID?

You can find the comScore Publisher ID by logging in to your comScore Direct account.

##### **Mobile**

1. Log in to your [comScore Direct account](https://direct.comscore.com/).
2. Go to the **Mobile app** tab.
3. Click **Get Tag** and copy the C2 value.

{{< image src="images/event-stream-destinations/comscore-c2-value.webp" alt="comScore Publisher ID" >}}

##### **Web**

1. Log in to your [comScore Direct account](https://direct.comscore.com/clients/Default.aspx).
2. Click **Get Tag**.

{{< image src="images/event-stream-destinations/get-tag-comscore.webp" alt="comScore Get Tag option" >}}

3. In the **Website Tag** popup, copy the value corresponding to the **C2** field.

{{< image src="images/event-stream-destinations/comscore-publisher-id-tag.webp" alt="comScore Publisher ID" >}}
