A Man's Guide To Summer Essential Wear
23 June 2022
What Are The Major Categories of Blockchain?
22 June 2022
5 Reasons To Start Using Electronic Signatures
21 June 2022
7 Ways To Build Wellness Into Your Work Day
20 June 2022
Trending Music Hashtags To Get Your Posts Noticed
24 August 2018
Trending Fashion Hashtags To Get Your Posts Noticed
05 April 2018
Trending Wedding Hashtags To Get Your Posts Noticed
18 September 2018
Trending Beauty Hashtags To Get Your Posts Noticed
05 July 2018
What Is the Custom Image Tag In Google Tag Manager
If you know anything about setting up your own custom website tracking, you'll know what an absolute nightmare it can be, not just to install but to debug and then adjust to your specific tracking needs. For most websites out there the are plenty of out of the box solutions that will work just fine in getting collecting the data they need.
While others may need a customised solution. Regardless of your tracking needs basic or complex I would highly recommend you install and run Google Tag Manager (GTM) as a way to manage it all, from custom to 3rd party solutions.
GTM is an extremely powerful tool, and it's getting better each year. Google is constantly adding new ways to use the tool and help marketers and webmasters get the best out of their website analytics. One of the latest additions to GTM's tag template is the custom image tag, but not much is available online about this template so I thought I'd give you a quick overview of what it is and what it can do for you.
Custom image tag in a nutshell
The custom image tag requests an image from a particular URL. The exciting part is that by making the request, you’re actually transmitting information to a server.
For example, if you request an image via URL https://www.example.com/something?parameter1=goodandamp;parameter2=123, the receiving server processes parameter1 and parameter2 and acts accordingly (e.g. registers those parameters as an event).
Easy as that.
The Custom Image Tag is just another way for Google Tag Manager to send the data from your website to other tracking tools, e.g. Facebook Pixel, etc.
The custom image tag requests an image from the given URL but does not insert it into the DOM. Making the image request is enough to transmit information to a server, and GTM is not supposed to change the Layout of the page in any case.
Why the need for a custom image tag
While it may be called an IMAGE tag, it is not used to load any sort of image. Its purpose is to load a teeny tiny pixel of which URL is used to transmit the data.
Custom image tag
The Custom Image tag is used to set up a pixel tag that is not yet natively supported by Google Tag Manager.
To create a new Custom Image tag:
- Click Tags New.
- Click Tag Configuration and select Custom Image.
- Enter the Image URL. Use
"if protocol-relative versions of the image are available. Use "
"if only a secure version is available. Use of "
"is not recommended.
- To ensure that hits are registered from browsers that have cached versions of a pixel, select Enable Cache Busting. This will append the
tothe URL. To change the default query parameter, enter a value other than
inthe Cache Busting Query Parameter field.
While not the most riveting addition to GTM the Custom Image Tag in Google Tag Manager does offer some users a way out of some frustrating situations.
Then the custom image tag is exactly what you're looking for. While these cases may be few and far between it is likely the tag was added as a solution to the growing issues around tracking light web pages for mobile, such as the AMP protocal or Facebook Instant Articles.
If you want to know more about tracking solutions for your site, don’t be shy we’re happy to assist. Simply contact us