Once you have confirmed that the source platform supports sending events to comScore, follow these steps:
In your RudderStack dashboard, go to Directory > Destinations > Cloud Destinations and search for Comscore.
Connect your source and click Continue.
Configure the following settings to set up comScore as a destination in RudderStack:
Publisher ID: Enter the client ID/C2 value associated with your mobile app. See FAQ for more information on obtaining this value.
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.
Note that if turned on, this setting will override the Only auto update when app is in foreground setting.
Auto Update Interval: Use this setting to specify the time interval between the updates.
This setting is applicable only if the auto updates are turned on.
The default value of this field is 60 seconds.
Client-side Event Filtering: This setting lets you specify which events should be blocked or allowed to flow through to comScore. See Client-side Event Filtering for more information.
OneTrust Cookie Categories: This setting lets you associate the OneTrust cookie consent groups to comScore.
iOS/Android SDK Settings: As this is a device mode-only integration, the Use device mode to send events setting is toggled on by default.
Adding device mode integration
Once you add comScore as a destination in the RudderStack dashboard, follow these steps to add the native mobile SDK to your project depending on your integration platform:
To add comScore to your Android project:
Open your app/build.gradle (Module: app) file and add the following under dependencies:
implementation'com.rudderstack.android.sdk:core:[1.17.0, 2.0.0)'implementation'com.rudderstack.android.integration:comscore:[1.1.0,)'// It enables Comscore to collect a privacy-friendly publisher-specific device identifier, App Set ID, for estimating the number of unique users for audience research purposes.
Change the SDK initialization in your Application class:
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
for the working of basic functionalities of the website. We also use third-party cookies that
analyze and understand how you use this website. These cookies will be stored in your browser
consent. You also have the option to opt-out of these cookies. But opting out of some of these
have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.