For audio / video measurement, in order to integrate Browser SDK into the player application, perform the following steps.

Prerequisites

Before starting the integration with Browser SDK, secure the following details from the (point of contact) Nielsen TAM.

App ID (appid): Unique ID assigned to the player/site and configured by product.

sfcode: Location of collection environment. Use the sfcode as “dcr“.

ggCom.as (For Flash Player Projects only): Nielsen ActionScript Library to compile within the Flash player project. Configure ggCom.as as mentioned in subsequent sections and include the edited file in the project.

If you do not have any of these pre-requisites or if you have any questions, please contact our SDK sales support team.

Step 1: Import Library

In the HTML head section of each page, call the Nielsen library using the script tag, as shown below.

Step 2: Define GlobalParams

For Flash integration, global parameters must be set as an object in ggCom.as, as follows.

XHTML

1

2

3

4

5

6

7

8

9

10

publicvar_nolggGlobalParams:Object=

{

apid:"PXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",

sfcode:"dcr",

apn:"test-player",

nol_sdkDebug:"DEBUG",

nsdkv:"511"

};

Step 3: Initialize SDK

Initialize Browser SDK as soon as the Parent / Main Page is loaded. During the initialization, custom parameters can be appended to the global parameter object. These custom (extended) parameters are optional. Use them only if the player application can handle the custom parameter data.

// prerollMetadataObject contains the JSON metadata for preroll ad
// playheadPosition is position of the playhead while the preroll ad is being played
// playheadPosition is position of the playhead while the preroll ad is being played

// contentMetadataObject contains the JSON metadata for the content
// playheadPosition is position of the playhead while the content is being played
// playheadPosition is position of the playhead while the content is being played

// midrollMetadataObject contains the JSON metadata for midroll ad
//playheadPosition is position of the playhead while the midroll ad is being played
// playheadPosition is position of the playhead while the midroll ad is being played

// contentMetadataObject contains the JSON metadata for the content
// playheadPosition is position of the playhead while the content is being played
//playheadPosition is position of the playhead while the content is being played

// postrollMetadataObject contains the JSON metadata for midroll ad
// playheadPosition is position of the playhead while the postroll ad is being played
// playheadPosition is position of the playhead while the postroll ad is being played

The sample event sequence can be used for reference when identifying the specific events that need to be called during content and ad playback in a Flash player.

// prerollMetadataObject contains the JSON metadata for preroll ad
// playheadPosition is position of the playhead while the preroll ad is being played
// playheadPosition is position of the playhead while the preroll ad is being played

// contentMetadataObject contains the JSON metadata for the content
// playheadPosition is position of the playhead while the content is being played
// playheadPosition is position of the playhead while the content is being played

// midrollMetadataObject contains the JSON metadata for midroll ad
//playheadPosition is position of the playhead while the midroll ad is being played
// playheadPosition is position of the playhead while the midroll ad is being played

// contentMetadataObject contains the JSON metadata for the content
// playheadPosition is position of the playhead while the content is being played
//playheadPosition is position of the playhead while the content is being played

// postrollMetadataObject contains the JSON metadata for midroll ad
// playheadPosition is position of the playhead while the postroll ad is being played
// playheadPosition is position of the playhead while the postroll ad is being played

Nielsen Measurement Opt-Out Implementation

As a global information and measurement leader, we are committed to protecting the privacy and security of the data we collect, process and use. Our digital measurement products are not used to identify the consumer in any way, but they help us and our clients measure and analyze how consumers engage with media across online, mobile and emerging technologies, and offer insights into consumer behavior.