Name modification
This commit is contained in:
parent
7a253c82ad
commit
bbe76cd085
|
|
@ -68,56 +68,6 @@ tarteaucitron.services.addtoanyshare = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// adwordsconversion
|
|
||||||
tarteaucitron.services.adwordsconversion = {
|
|
||||||
"key": "adwordsconversion",
|
|
||||||
"type": "ads",
|
|
||||||
"name": "Adwords (conversion)",
|
|
||||||
"uri": "https://www.google.com/settings/ads",
|
|
||||||
"needConsent": true,
|
|
||||||
"cookies": [],
|
|
||||||
"js": function () {
|
|
||||||
"use strict";
|
|
||||||
if (tarteaucitron.user.adwordsconversionId === undefined) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
|
|
||||||
window.google_trackConversion({
|
|
||||||
google_conversion_id: tarteaucitron.user.adwordsconversionId,
|
|
||||||
google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
|
|
||||||
google_custom_params: {
|
|
||||||
parameter1: tarteaucitron.user.adwordsconversionCustom1,
|
|
||||||
parameter2: tarteaucitron.user.adwordsconversionCustom2
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// adwordsremarketing
|
|
||||||
tarteaucitron.services.adwordsremarketing = {
|
|
||||||
"key": "adwordsremarketing",
|
|
||||||
"type": "ads",
|
|
||||||
"name": "Adwords (remarketing)",
|
|
||||||
"uri": "https://www.google.com/settings/ads",
|
|
||||||
"needConsent": true,
|
|
||||||
"cookies": [],
|
|
||||||
"js": function () {
|
|
||||||
"use strict";
|
|
||||||
if (tarteaucitron.user.adwordsremarketingId === undefined) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
|
|
||||||
window.google_trackConversion({
|
|
||||||
google_conversion_id: tarteaucitron.user.adwordsremarketingId,
|
|
||||||
google_remarketing_only: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// alexa
|
// alexa
|
||||||
tarteaucitron.services.alexa = {
|
tarteaucitron.services.alexa = {
|
||||||
"key": "alexa",
|
"key": "alexa",
|
||||||
|
|
@ -386,6 +336,56 @@ tarteaucitron.services.adsense = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// googleadwordsconversion
|
||||||
|
tarteaucitron.services.googleadwordsconversion = {
|
||||||
|
"key": "googleadwordsconversion",
|
||||||
|
"type": "ads",
|
||||||
|
"name": "Google Adwords (conversion)",
|
||||||
|
"uri": "https://www.google.com/settings/ads",
|
||||||
|
"needConsent": true,
|
||||||
|
"cookies": [],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
if (tarteaucitron.user.adwordsconversionId === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
|
||||||
|
window.google_trackConversion({
|
||||||
|
google_conversion_id: tarteaucitron.user.adwordsconversionId,
|
||||||
|
google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
|
||||||
|
google_custom_params: {
|
||||||
|
parameter1: tarteaucitron.user.adwordsconversionCustom1,
|
||||||
|
parameter2: tarteaucitron.user.adwordsconversionCustom2
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// googleadwordsremarketing
|
||||||
|
tarteaucitron.services.googleadwordsremarketing = {
|
||||||
|
"key": "googleadwordsremarketing",
|
||||||
|
"type": "ads",
|
||||||
|
"name": "Google Adwords (remarketing)",
|
||||||
|
"uri": "https://www.google.com/settings/ads",
|
||||||
|
"needConsent": true,
|
||||||
|
"cookies": [],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
if (tarteaucitron.user.adwordsremarketingId === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
|
||||||
|
window.google_trackConversion({
|
||||||
|
google_conversion_id: tarteaucitron.user.adwordsremarketingId,
|
||||||
|
google_remarketing_only: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// google analytics (old)
|
// google analytics (old)
|
||||||
tarteaucitron.services.gajs = {
|
tarteaucitron.services.gajs = {
|
||||||
"key": "gajs",
|
"key": "gajs",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue