Update getquanty with rgpd friendly fallback
This commit is contained in:
parent
279523f18d
commit
b5fe35877f
|
|
@ -3815,11 +3815,15 @@ tarteaucitron.services.getquanty = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.webleads_site_ids = window.webleads_site_ids || [];
|
tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
|
||||||
window.webleads_site_ids.push(tarteaucitron.user.getguanty);
|
},
|
||||||
|
"fallback": function () {
|
||||||
|
"use strict";
|
||||||
|
if (tarteaucitron.user.getguanty === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
tarteaucitron.addScript('https://stats.webleads-tracker.com/js');
|
tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '¬rack=1');
|
||||||
tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue