AdWords Customised Image Remarketing Tag

In certain scenarios it may be preferable to use the image-only version of the AdWords Remarketing Tag, for example in certain tag containers. This image-only version of the AdWords Remarketing Tag is essentially the same as that found in the noscript section of the standard AdWords Remarketing Tag but with the option of including parameters which are not used in the noscript version.

The image-only version of Remarketing Tag will not append a random ID to the request. As a result some web browsers may cache the request which may lead to discrepancies in the size and makeup of your remarketing audiences.

Without using parameters

The image-only tag for use with static remarketing is very simple - you will only need to update the conversion ID (shown here as 123456789).

<img height="1" width="1" style="border-style:none;" alt="" 

Using parameters

If you want to use the image-only tag with dynamic remarketing then you can include parameters by appending them as part of the query string in the format data.<parameter name>=<parameter value> for single parameter values such as a basket total amount, or data.<parameter name>=<parameter value 1>,<parameter value 2> for parameters with multiple vales such as multiple product IDs on a basket page.

In the following example URL includes two parameters called ecomm_prodid and ecomm_pagetype. Note here that we're using a placeholder conversion ID (shown here as 123456789) - you'll need to make sure you use your account's conversion ID.

Before using this URL in an image tag the values for the parameters must be URL encoded to avoid any unsafe characters being included in the request, for example if you wanted to include a parameter with the value 123/456789# this would be encoded to 123%2F456789%23 in the request:
<img height="1" width="1" style="border-style:none;" alt="" 
These image tags could be generated via javascript and dynamically placed on the page in reaction to user events - in these scenarios you can use javascript's encodeURIComponent() to encode the parameter values.