Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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="//">


<div style="display:inline;">

<img height="1" width="1" style="border-style:none;" alt="" src="//;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