Skip to content

Commit e742aa1

Browse files
✨ Updated Neodata configuration to include GDPR in pageview and added new cookiematching (#40245)
* Updated configu to include GDPR in pageview and added ADFORM and MEDIAMATH cookie matching 1. Added GDPR Consent to Pageview 2. Added ADFORM Cookie Matching 3. Added MEDIAMATH Cookie Matching * Fix calls in vendors requests for neodata * minor fix pageview call for Neodata * fix calls * fix call's placeholders for neodata config * fix cmDbm call for neodata * fix Mediamath cm call * minor fix mediamath call * fix mediamath call
1 parent a9b7857 commit e742aa1

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

extensions/amp-analytics/0.1/test/vendor-requests.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,10 @@
351351
"sysId": "999",
352352
"tagId": "12321",
353353
"advId": "56785",
354-
"pageview": "https://tra.neodatagroup.com/pv?sid=!sysId&rnd=_random_&id=!tagId&ad=!advId&rs=_screen_width_x_screen_height_&lg=_browser_language_&tz=_timezone_&re=_document_referrer_&co=_screen_color_depth_&ur=_ampdoc_url_",
355-
"cmDbm": "https://cm.g.doubleclick.net/pixel?google_nid=neodata_dmp&google_cm&pv=dbm&sid=!sysId&rt=img&rnd=_random_"
354+
"pageview": "https://tra.neodatagroup.com/pv?sid=!sysId&rnd=_random_&id=!tagId&ad=!advId&gdpr_consent=_consent_string_&rs=_screen_width_x_screen_height_&lg=_browser_language_&tz=_timezone_&re=_document_referrer_&co=_screen_color_depth_&ur=_ampdoc_url_",
355+
"cmDbm": "https://cm.g.doubleclick.net/pixel?google_nid=neodata_dmp&google_cm&pv=dbm&sid=!sysId&rt=img&rnd=_random_",
356+
"ADFORM": "https://dmp.adform.net/serving/cookie/match?party=1056&rt=img&rnd=_random_",
357+
"MEDIAMATH": "https://pixel.mathtag.com/sync/js?sync=auto&mt_exid=10082&exsync=https://tra.neodatagroup.com/cm?sid=!sysId&pv=MEDIAMATH&eid=[MM_UUID]&rt=img&rnd=_random_"
356358
},
357359
"newrelic": {
358360
"pageview": "https://bam.nr-data.net/amp?appId=!appId&licenseKey=!licenseKey&ampUrl=_ampdoc_url_&canonicalUrl=_canonical_url_&timeToDomContentLoadedEventEnd=_nav_timing(domContentLoadedEventEnd)_&timeToDomInteractive=_nav_timing(domInteractive)_&timeToDomComplete=_nav_timing(domComplete)_&timeToDomLoading=_nav_timing(domLoading)_&timeToResponseStart=_nav_timing(responseStart)_&timeToResponseEnd=_nav_timing(responseEnd)_&timeToLoadEventStart=_nav_timing(loadEventStart)_&timeToLoadEventEnd=_nav_timing(loadEventEnd)_&timeToConnectStart=_nav_timing(connectStart)_&timeToConnectEnd=_nav_timing(connectEnd)_&timeToFetchStart=_nav_timing(fetchStart)_&timeToRequestStart=_nav_timing(requestStart)_&timeToUnloadEventStart=_nav_timing(unloadEventStart)_&timeToUnloadEventEnd=_nav_timing(unloadEventEnd)_&timeToDomainLookupStart=_nav_timing(domainLookupStart)_&timeToDomainLookupEnd=_nav_timing(domainLookupEnd)_&timeToRedirectStart=_nav_timing(redirectStart)_&timeToRedirectEnd=_nav_timing(redirectEnd)_&timeToSecureConnection=_nav_timing(secureConnectionStart)_&timestamp=_timestamp_&ampVersion=_amp_version_&pageLoadTime=_page_load_time_"

extensions/amp-analytics/0.1/vendors/neodata.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"requests": {
33
"base": "https://tra.neodatagroup.com",
4-
"pageview": "${base}/pv?sid=${sysId}&rnd=${random}&id=${tagId}&ad=${advId}&rs=${screenWidth}x${screenHeight}&lg=${browserLanguage}&tz=${timezone}&re=${documentReferrer}&co=${screenColorDepth}&ur=${ampdocUrl}",
5-
"cmDbm": "https://cm.g.doubleclick.net/pixel?google_nid=neodata_dmp&google_cm&pv=dbm&sid=${sysId}&rt=img&rnd=${random}"
4+
"pageview": "${base}/pv?sid=${sysId}&rnd=${random}&id=${tagId}&ad=${advId}&gdpr_consent=${consentString}&rs=${screenWidth}x${screenHeight}&lg=${browserLanguage}&tz=${timezone}&re=${documentReferrer}&co=${screenColorDepth}&ur=${ampdocUrl}",
5+
"cmDbm": "https://cm.g.doubleclick.net/pixel?google_nid=neodata_dmp&google_cm&pv=dbm&sid=${sysId}&rt=img&rnd=${random}",
6+
"ADFORM": "https://dmp.adform.net/serving/cookie/match?party=1056&rt=img&rnd=${random}",
7+
"MEDIAMATH" :"https://pixel.mathtag.com/sync/js?sync=auto&mt_exid=10082&exsync=${base}/cm?sid=${sysId}&pv=MEDIAMATH&eid=[MM_UUID]&rt=img&rnd=${random}"
68
},
79
"triggers": {
810
"trackPageview": {
911
"on": "visible",
10-
"request": ["pageview", "cmDbm"]
12+
"request": ["pageview"]
13+
},
14+
"trackCookieMatch":{
15+
"on":"visible",
16+
"request": ["cmDbm", "ADFORM", "MEDIAMATH"]
1117
}
1218
},
1319
"transport": {

0 commit comments

Comments
 (0)