From 9598da0bd49067455de851ef9cd88b4f59b33360 Mon Sep 17 00:00:00 2001 From: annavane <101708287+annavane@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:38:42 +0100 Subject: [PATCH] Added The Newco userId module - TNCID documentation (#5703) * - The Newco TNCID documentation updated * - userId module - name value examples list - fix * Revert "- userId module - name value examples list - fix" This reverts commit d7163bdd337ea4f91b7d26cd999b9975290fee3a. * - Lint errors fixed * Update dev-docs/modules/userid-submodules/tncIdSystem.md TNCID metadata fields Co-authored-by: Muki Seiler * > This is not going be necessary thanks to #5673 , which generates this automatically. --------- Co-authored-by: Muki Seiler --- .../modules/userid-submodules/tncIdSystem.md | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/dev-docs/modules/userid-submodules/tncIdSystem.md b/dev-docs/modules/userid-submodules/tncIdSystem.md index 6b82fd0250..d0c499e719 100644 --- a/dev-docs/modules/userid-submodules/tncIdSystem.md +++ b/dev-docs/modules/userid-submodules/tncIdSystem.md @@ -1,4 +1,15 @@ -# TNCID UserID Module +--- +layout: userid +title: TNCID by The Newco +description: TNCID UserID sub-module +useridmodule: tncIdSystem +bidRequestUserId: tncId +eidsource: thenewco.it +example: '"1111"' +--- + +TNCID is a shared persistent identifier that improves user recognition compared to both third-party and first-party cookies. This enhanced identification capability enables publishers and advertisers to consistently recognize their audiences, leading to improved monetization and more precise targeting. The Newco User ID sub-module adds powerful TNCID user identification technology to your Prebid.js bidstream. +For more details, visit our website and contact us to request your publisher-id and the on-page tag. ## Prebid Configuration @@ -8,7 +19,7 @@ First, make sure to add the TNCID submodule to your Prebid.js package with: gulp build --modules=tncIdSystem,userId ``` -## TNCIDIdSystem module Configuration +## TNCIdSystem module Configuration Disclosure: This module loads external script unreviewed by the prebid.js community @@ -20,7 +31,12 @@ pbjs.setConfig({ userIds: [{ name: 'tncId', params: { - url: 'https://js.tncid.app/remote.min.js' //Optional + url: 'TNC-fallback-script-url' // Fallback url, not required if onpage tag is present (ask TNC for it) + }, + storage: { + type: "cookie", + name: "tncid", + expires: 365 // in days } }], syncDelay: 5000 @@ -30,7 +46,11 @@ pbjs.setConfig({ ## Configuration Params -| Param Name | Required | Type | Description | -| --- | --- | --- | --- | -| name | Required | String | ID value for the TNCID module: `"tncId"` | -| params.url | Optional | String | Provide TNC fallback script URL, this script is loaded if there is no TNC script on page | +The following configuration parameters are available: + +{: .table .table-bordered .table-striped } +| Param under userSync.userIds[] | Scope | Type | Description | Example | +| --- | --- | --- | --- | --- | +| name | Required | String | The name of this sub-module | `"tncId"` | +| params ||| Details for the sub-module initialization || +| params.url | Required | String | TNC script fallback URL - This script is loaded if there is no TNC script on page | `"https://js.tncid.app/remote.min.js"` |