Expand my Community achievements bar.

Google Re-Marketing Tag not working


Level 1

Hi @all,

I have to implement the following code. When I do it with non sequential HTML it doesn´t work.


<script type="text/javascript">

var google_tag_params = {

ecomm_prodid: 'REPLACE_WITH_VALUE',

ecomm_pagetype: 'REPLACE_WITH_VALUE',

ecomm_totalvalue: 'REPLACE_WITH_VALUE',



<script type="text/javascript">

/* <![CDATA[ */

var google_conversion_id = 103726256213;

var google_custom_params = window.google_tag_params;

var google_remarketing_only = true;

/* ]]> */


<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">


<div style="display:inline;">

<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1005415280/?guid=ON&amp;script=0"/>


1. How do I have to implement?

2. How can I get the variables in this code?

On my page I have the following variables:

ecomm_prodid = '' (I don´t have it)

ecomm_pagetype = _satellite.getVar("pagePageType"),

ecomm_totalvalue = _satellite.getVar("transactionRevenue"),

Thank you!

0 Replies