|

Free Addon: Google Remarketing
Posted 20 June 2014 - 09:28 AM #41
Posted 21 June 2014 - 12:17 PM #42
You can create an html block with smarty support in default layout and paste the remarketing code in the block.
Thanks akistdm,
Ok I understand that, I did it, but Ι want the Google Remarketing code placed only in a specific category page and not in default layout. I don't want output this code to every page of e-shop.
In specific category page I haven't the possibility to add an html block with smarty support. Am I wrong?
Posted 22 June 2014 - 08:42 AM #43
I think I found the solution. I did an html block with smarty support in default layout with the remarketing code in this block but make this block inactive. Then, in my specific category page, under block tab make this block active.
Now, check for the remarketing code in homepage source and there is nowhere. When I go to my specific category page and make a view source I see the remarketing code there only.
Posted 28 June 2014 - 06:23 PM #44
Jack
Posted 29 July 2014 - 09:02 AM #45
Hi again
you can add the dynamic remarketing code (example)
<script type="text/javascript">
var google_tag_params = {
ecomm_prodid: 'REPLACE_WITH_VALUE',
ecomm_pagetype: 'REPLACE_WITH_VALUE',
ecomm_totalvalue: 'REPLACE_WITH_VALUE'
};
</script>
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = XXXXXXXXXX;
var google_conversion_label = "YYYYYYYYYY";
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">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/XXXXXXXXXX/?value=0&label=YYYYYYYYYY&guid=ON&script=0"/>
</div>
</noscript>
in an HTML block with Smarty Support in default location at the bottom (maybe in the same grid with copyright).
The section in green font (that ends with the </script> tag below ecomm_totalvalue: 'REPLACE_WITH_VALUE') includes the custom parameters, and the section in blue font (that ends with the </noscript> tag) includes the remarketing tag.
The above is an example of how the dynamic remarketing tag might look. This isn't the exact snippet of code you should add to your site. Learn where to find your remarketing tag.
Find more at https://support.goog...r/3103357?hl=en
Fotis
How do we get the values for ecom_prodid, ecom_pagetype and ecom_totalvalue? I'm using cs cart 3
Posted 16 September 2016 - 12:54 PM #46
Hi there,
I have added the tag in a block, but the dynamic values still stay with "REPLACE_WITH_VALUE"..
Did somebody found the correct dynamic value which is required for google ?
Here is the dynamic code where "REPLACE_WITH_VALUE" is required to be change:
dynx_itemid: 'REPLACE_WITH_VALUE',
Posted 12 October 2017 - 12:30 PM #47
Hi dvsgr,
How can we use remarketing for ultimate ?? How can we do this?
i Found Thanks.