Add GetQuanty
This commit is contained in:
parent
9c3b0ce765
commit
4b40224f35
|
|
@ -2279,7 +2279,7 @@ tarteaucitron.services.koban = {
|
||||||
window.KobanObject = 'kb';
|
window.KobanObject = 'kb';
|
||||||
window.kb = window.kb || function() {
|
window.kb = window.kb || function() {
|
||||||
window.kb.q = window.kb.q || [];
|
window.kb.q = window.kb.q || [];
|
||||||
window.kb.q.push(arguments);
|
window.kb.q.push(arguments);
|
||||||
};
|
};
|
||||||
window.kb.l = new Date();
|
window.kb.l = new Date();
|
||||||
kb('reg', tarteaucitron.user.kobanapi);
|
kb('reg', tarteaucitron.user.kobanapi);
|
||||||
|
|
@ -2324,18 +2324,18 @@ tarteaucitron.services.matomo = {
|
||||||
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
|
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
|
||||||
window._paq.push(["enableLinkTracking"]);
|
window._paq.push(["enableLinkTracking"]);
|
||||||
window._paq.push([function() {
|
window._paq.push([function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
function getOriginalVisitorCookieTimeout() {
|
function getOriginalVisitorCookieTimeout() {
|
||||||
var now = new Date(),
|
var now = new Date(),
|
||||||
nowTs = Math.round(now.getTime() / 1000),
|
nowTs = Math.round(now.getTime() / 1000),
|
||||||
visitorInfo = self.getVisitorInfo();
|
visitorInfo = self.getVisitorInfo();
|
||||||
var createTs = parseInt(visitorInfo[2]);
|
var createTs = parseInt(visitorInfo[2]);
|
||||||
var cookieTimeout = 33696000; // 13 mois en secondes
|
var cookieTimeout = 33696000; // 13 mois en secondes
|
||||||
var originalTimeout = createTs + cookieTimeout - nowTs;
|
var originalTimeout = createTs + cookieTimeout - nowTs;
|
||||||
return originalTimeout;
|
return originalTimeout;
|
||||||
}
|
}
|
||||||
this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
|
this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
|
tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
|
||||||
}
|
}
|
||||||
|
|
@ -2476,22 +2476,44 @@ tarteaucitron.services.activecampaign = {
|
||||||
|
|
||||||
// tawk.to
|
// tawk.to
|
||||||
tarteaucitron.services.tawkto = {
|
tarteaucitron.services.tawkto = {
|
||||||
"key": "tawkto",
|
"key": "tawkto",
|
||||||
"type": "support",
|
"type": "support",
|
||||||
"name": "Tawk.to chat",
|
"name": "Tawk.to chat",
|
||||||
"uri": "https://www.tawk.to/data-protection/",
|
"uri": "https://www.tawk.to/data-protection/",
|
||||||
"needConsent": true,
|
"needConsent": true,
|
||||||
"cookies": [],
|
"cookies": [],
|
||||||
"js": function () {
|
"js": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
if (tarteaucitron.user.tawktoId === undefined) {
|
if (tarteaucitron.user.tawktoId === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.Tawk_API=window.Tawk_API||{};
|
window.Tawk_API=window.Tawk_API||{};
|
||||||
window.Tawk_LoadStart=new Date();
|
window.Tawk_LoadStart=new Date();
|
||||||
|
|
||||||
tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
|
tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// getquanty
|
||||||
|
tarteaucitron.services.getquanty = {
|
||||||
|
"key": "getquanty",
|
||||||
|
"type": "analytic",
|
||||||
|
"name": "GetQuanty",
|
||||||
|
"uri": "https://www.getquanty.com/mentions-legales/",
|
||||||
|
"needConsent": true,
|
||||||
|
"cookies": [],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
if (tarteaucitron.user.getguanty === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
window.webleads_site_ids = window.webleads_site_ids || [];
|
||||||
|
window.webleads_site_ids.push(tarteaucitron.user.getguanty);
|
||||||
|
|
||||||
|
tarteaucitron.addScript('https://stats.webleads-tracker.com/js');
|
||||||
|
tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue