Add Adobe Analytics
This commit is contained in:
parent
4832682dde
commit
2db53e215e
|
|
@ -3115,4 +3115,21 @@ tarteaucitron.services.userlike = {
|
|||
tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
|
||||
}
|
||||
};
|
||||
|
||||
// adobeanalytics
|
||||
tarteaucitron.services.adobeanalytics = {
|
||||
"key": "adobeanalytics",
|
||||
"type": "analytic",
|
||||
"name": "Adobe Analytics",
|
||||
"uri": "https://www.adobe.com/privacy/policy.html",
|
||||
"needConsent": true,
|
||||
"cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
|
||||
"js": function () {
|
||||
"use strict";
|
||||
if (tarteaucitron.user.adobeanalyticskey === undefined) {
|
||||
return;
|
||||
}
|
||||
tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue