Merge branch 'ticket-11957-removePersonalData' into develop
This commit is contained in:
commit
e43c69b94b
@ -157,7 +157,18 @@
|
||||
|
||||
{/literal}{if isset($page_name) && (($page_name == 'order-confirmation' && $isEC==0) || $page_name != 'order-confirmation')}{literal}
|
||||
// send pageview via header.tpl du module GA si isEC=1 and $page_name == 'order-confirmation'
|
||||
ga('send', 'pageview');
|
||||
|
||||
var re = new RegExp("([?&])(email=)[^&#]*", "g");
|
||||
if (document.location.href.match(re)) {
|
||||
// remove personal data from url before sending to GA
|
||||
url = window.location.search.replace(re, '$1');
|
||||
var page = window.location.pathname+url;
|
||||
console.log(page);
|
||||
ga('send', 'pageview', page);
|
||||
} else {
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
|
||||
{/literal}{/if}{literal}
|
||||
|
||||
function onStepComplete(stepNumber, option, redirect, form) {
|
||||
@ -264,7 +275,17 @@
|
||||
|
||||
{/literal}{if isset($page_name) && (($page_name == 'order-confirmation' && $isEC==0) || $page_name != 'order-confirmation')}{literal}
|
||||
// send pageview via header.tpl du module GA si isEC=1 and $page_name == 'order-confirmation'
|
||||
ga('send', 'pageview');
|
||||
|
||||
var re = new RegExp("([?&])(email=)[^&#]*", "g");
|
||||
if (document.location.href.match(re)) {
|
||||
// remove personal data from url before sending to GA
|
||||
url = window.location.search.replace(re, '$1');
|
||||
var page = window.location.pathname+url;
|
||||
console.log(page);
|
||||
ga('send', 'pageview', page);
|
||||
} else {
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
{/literal}{/if}{literal}
|
||||
|
||||
function onStepComplete(stepNumber, option, redirect, form) {
|
||||
|
@ -163,7 +163,17 @@
|
||||
|
||||
{/literal}{if isset($page_name) && (($page_name == 'order-confirmation' && $isEC==0) || $page_name != 'order-confirmation')}{literal}
|
||||
// send pageview via header.tpl du module GA si isEC=1 and $page_name == 'order-confirmation'
|
||||
ga('send', 'pageview');
|
||||
|
||||
var re = new RegExp("([?&])(email=)[^&#]*", "g");
|
||||
if (document.location.href.match(re)) {
|
||||
// remove personal data from url before sending to GA
|
||||
url = window.location.search.replace(re, '$1');
|
||||
var page = window.location.pathname+url;
|
||||
console.log(page);
|
||||
ga('send', 'pageview', page);
|
||||
} else {
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
{/literal}{/if}{literal}
|
||||
|
||||
function onStepComplete(stepNumber, option, redirect, form) {
|
||||
@ -269,7 +279,17 @@
|
||||
|
||||
{/literal}{if isset($page_name) && (($page_name == 'order-confirmation' && $isEC==0) || $page_name != 'order-confirmation')}{literal}
|
||||
// send pageview via header.tpl du module GA si isEC=1 and $page_name == 'order-confirmation'
|
||||
ga('send', 'pageview');
|
||||
|
||||
var re = new RegExp("([?&])(email=)[^&#]*", "g");
|
||||
if (document.location.href.match(re)) {
|
||||
// remove personal data from url before sending to GA
|
||||
url = window.location.search.replace(re, '$1');
|
||||
var page = window.location.pathname+url;
|
||||
console.log(page);
|
||||
ga('send', 'pageview', page);
|
||||
} else {
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
{/literal}{/if}{literal}
|
||||
|
||||
function onStepComplete(stepNumber, option, redirect, form) {
|
||||
|
Loading…
Reference in New Issue
Block a user