Send your event data from RudderStack to comScore.
4 minute read
comScore is a self-service portal that helps you tag all your digital assets and ensure the right exposure of your online content like web pages, videos, mobile apps, ad networks, and more.
RudderStack supports sending events to comScore only in mobile device mode.
Get started
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.
Connection settings
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.
Note that:
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.
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.
implementation'com.google.android.gms:play-services-appset:16.+'
Change the SDK initialization in your Application class:
After adding the dependency, register RudderComscoreFactory with your SDK initialization as a factory or RudderConfig. To do so, import the RudderComScoreFactory.h in your AppDelegate.m file:
For both track and screen events, RudderStack maps the event name with comScore’s name field. It sends all the other properties to comScore as is, without any modifications.
Reset
Use the reset call to reset userId and the associated traits.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
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.
This site uses cookies to improve your experience. If you want to
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.