Add Pardot
This commit is contained in:
parent
825f9fd0e1
commit
36c3ee0e4f
|
|
@ -31,6 +31,28 @@ tarteaucitron.services.iframe = {
|
|||
}
|
||||
};
|
||||
|
||||
// pardot
|
||||
tarteaucitron.services.pardot = {
|
||||
"key": "pardot",
|
||||
"type": "analytic",
|
||||
"name": "Pardot",
|
||||
"uri": "https://www.salesforce.com/company/privacy/full_privacy/",
|
||||
"needConsent": true,
|
||||
"cookies": ['visitor_id'],
|
||||
"js": function () {
|
||||
"use strict";
|
||||
if (tarteaucitron.user.piAId === undefined || tarteaucitron.user.piCId === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
window.piAId = tarteaucitron.user.piAId;
|
||||
window.piCId = tarteaucitron.user.piCId;
|
||||
window.piHostname = 'pi.pardot.com';
|
||||
|
||||
tarteaucitron.addScript('https://pi.pardot.com/pd.js');
|
||||
}
|
||||
};
|
||||
|
||||
// xandr
|
||||
tarteaucitron.services.xandr = {
|
||||
"key": "xandr",
|
||||
|
|
|
|||
Loading…
Reference in New Issue