fix remarketing code

This commit is contained in:
Daniel Stein 2022-09-23 13:53:51 +02:00
parent a70429d722
commit d25b61d66f
1 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@
---------------------------------------------------*}] ---------------------------------------------------*}]
<script type="text/javascript"> <script type="text/javascript">
let google_tag_params = { var google_tag_params = {
ecomm_prodid: [{$sD3GARemarketingProdId}], ecomm_prodid: [{$sD3GARemarketingProdId}],
ecomm_pagetype: '[{$sD3GARemarketingPageType}]', ecomm_pagetype: '[{$sD3GARemarketingPageType}]',
ecomm_totalvalue: [{$sD3GARemarketingPrice}] ecomm_totalvalue: [{$sD3GARemarketingPrice}]
@ -18,12 +18,12 @@
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
/* <![CDATA[ */ /* <![CDATA[ */
let google_conversion_id = [{$oD3GASettings->getValue('sD3GARemarketingConversionId')}]; var google_conversion_id = [{$oD3GASettings->getValue('sD3GARemarketingConversionId')}];
[{if $oD3GASettings->getValue('sD3GARemarketingConversionLabel')}] [{if $oD3GASettings->getValue('sD3GARemarketingConversionLabel')}]
var google_conversion_label = "[{$oD3GASettings->getValue('sD3GARemarketingConversionLabel')}]"; var google_conversion_label = "[{$oD3GASettings->getValue('sD3GARemarketingConversionLabel')}]";
[{/if}] [{/if}]
let google_custom_params = window.google_tag_params; var google_custom_params = window.google_tag_params;
let google_remarketing_only = true; var google_remarketing_only = true;
/* ]]> */ /* ]]> */
</script> </script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">