Add Adform page name
This commit is contained in:
parent
6614bd008a
commit
5753a54194
|
|
@ -2349,14 +2349,14 @@ tarteaucitron.services.adform = {
|
||||||
"cookies": [],
|
"cookies": [],
|
||||||
"js": function () {
|
"js": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
if (tarteaucitron.user.adformpm === undefined) {
|
if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
window._adftrack = {
|
window._adftrack = {
|
||||||
pm: tarteaucitron.user.adformpm,
|
pm: tarteaucitron.user.adformpm,
|
||||||
divider: encodeURIComponent('|'),
|
divider: encodeURIComponent('|'),
|
||||||
pagename: encodeURIComponent('WebsiteName|SectionName|SubSection|PageName')
|
pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
|
||||||
};
|
};
|
||||||
|
|
||||||
tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
|
tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue