fix remarketing code
This commit is contained in:
parent
a70429d722
commit
3a364750cb
@ -10,20 +10,21 @@
|
||||
---------------------------------------------------*}]
|
||||
|
||||
<script type="text/javascript">
|
||||
let google_tag_params = {
|
||||
var google_tag_params = {
|
||||
ecomm_prodid: [{$sD3GARemarketingProdId}],
|
||||
ecomm_pagetype: '[{$sD3GARemarketingPageType}]',
|
||||
ecomm_totalvalue: [{$sD3GARemarketingPrice}]
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
[{*** don't change to "let ..." because of required global scope ***}]
|
||||
/* <![CDATA[ */
|
||||
let google_conversion_id = [{$oD3GASettings->getValue('sD3GARemarketingConversionId')}];
|
||||
var google_conversion_id = [{$oD3GASettings->getValue('sD3GARemarketingConversionId')}];
|
||||
[{if $oD3GASettings->getValue('sD3GARemarketingConversionLabel')}]
|
||||
var google_conversion_label = "[{$oD3GASettings->getValue('sD3GARemarketingConversionLabel')}]";
|
||||
[{/if}]
|
||||
let google_custom_params = window.google_tag_params;
|
||||
let google_remarketing_only = true;
|
||||
var google_custom_params = window.google_tag_params;
|
||||
var google_remarketing_only = true;
|
||||
/* ]]> */
|
||||
</script>
|
||||
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
|
||||
|
Loading…
Reference in New Issue
Block a user