adjusting payment type sent to GA
This commit is contained in:
parent
88e42535a7
commit
ba150d8ed9
@ -54,15 +54,17 @@
|
||||
window.location = $input.val();
|
||||
}
|
||||
} else {
|
||||
$form = $input.parent().children('div.hidden').children('form');
|
||||
$name = $form.attr('data-module-name');
|
||||
// LOADER POUR PAYPAL
|
||||
if ($input.attr('data-module-name') == "paypal") {
|
||||
$('.overlay_bbb').fadeIn();
|
||||
$('.box_paypal').fadeIn();
|
||||
$name = 'paypal';
|
||||
}
|
||||
$form = $input.parent().children('div.hidden').children('form');
|
||||
if (window.ga && ga.create){
|
||||
// submit form by GA send event
|
||||
onStepComplete(4, $form.attr('data-module-name'),null,$form);
|
||||
onStepComplete(4, $name,null,$form);
|
||||
} else {
|
||||
$form.submit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user