Add Tag weborama
This commit is contained in:
parent
ead411f255
commit
41c4c13089
@ -86,7 +86,7 @@ class OrderConfirmationControllerCore extends FrontController
|
|||||||
'HOOK_ORDER_CONFIRMATION' => $this->displayOrderConfirmation(),
|
'HOOK_ORDER_CONFIRMATION' => $this->displayOrderConfirmation(),
|
||||||
'HOOK_PAYMENT_RETURN' => $this->displayPaymentReturn()
|
'HOOK_PAYMENT_RETURN' => $this->displayPaymentReturn()
|
||||||
));
|
));
|
||||||
|
|
||||||
if ($this->context->customer->is_guest)
|
if ($this->context->customer->is_guest)
|
||||||
{
|
{
|
||||||
$order = new Order($this->id_order);
|
$order = new Order($this->id_order);
|
||||||
|
@ -43,4 +43,30 @@
|
|||||||
</p>
|
</p>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bgOrderConfirmationBot"></div>
|
<div class="bgOrderConfirmationBot"></div>
|
||||||
|
|
||||||
|
<!-- CONVERSION TAG -->
|
||||||
|
{literal}
|
||||||
|
<script type="text/javascript" src="https://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var adperftrackobj = {
|
||||||
|
client : "{/literal}{$client}{literal}",
|
||||||
|
amount : "{/literal}{$amount}{literal}",
|
||||||
|
invoice_id : "{/literal}{$invoice_id}{literal}",
|
||||||
|
quantity : {/literal}{$quantity}{literal},
|
||||||
|
is_client : {/literal}{$is_client}{literal},
|
||||||
|
,optional_parameters : {
|
||||||
|
"N1" : "0" /* to set */
|
||||||
|
,"N2" : "0" /* to set */
|
||||||
|
,"N3" : "0" /* to set */
|
||||||
|
/* to set free parameter follow this pattern : */
|
||||||
|
/* ,"customer_type" : "abc" */
|
||||||
|
}
|
||||||
|
/* don't edit below this point */
|
||||||
|
,fullhost : 'garancia.solution.weborama.fr'
|
||||||
|
,site : 4476
|
||||||
|
,conversion_page : 1
|
||||||
|
};
|
||||||
|
try{adperfTracker.track( adperftrackobj );}catch(err){}
|
||||||
|
</script>
|
||||||
|
{/literal}
|
||||||
|
Loading…
Reference in New Issue
Block a user