Google Tag Manager is, essentially a manager for JavaScript, which means that you can use it to modify and enhance your website - sometimes to test sometimes when you have a CMS that can't do something as simple as a YouTube embed. Also, because of this, understand the risks.
5. for JS insertion ….
Variables
• URL, JavaScript, dataLayers,
Triggers
• Page Loads, clicks and interactions
Tags
• JavaScript to fire (some templated such
as GA)
20. Check it out on
• Sitevisibility.co.uk
• TakeItOffline.co.uk
• SimoAhava.com
Sadly removed from some other sites …
& they’ve not let me do it to Just Eat
yet…
22. for JS insertion ….
Variables
• URL, JavaScript, dataLayers,
Triggers
• Page Loads, clicks and interactions
Tags
• JavaScript to fire (some templated such
as GA)
23.
24.
25.
26.
27.
28.
29. Auto internal linking
for hub pages
• Replace “ London “
• <a href='/london/’> London
</a>
But JS internal links won’t help
SEO will it ?
30. Name tags, triggers & variables
for use and re-use.
CJS = Custom JS, use folders and modify or remove expired.
31.
32. We couldn’t easily let people
embed scripts into wordpress
blog posts but we wanted a
“juicer.io” feed of event
imagery
Doing it “properly” would
have taken weeks we wanted
it at the last minute…
33.
34.
35.
36. • Tell visitors clearly that the page they're looking for can't be
found. Use language that is friendly and inviting.
• Make sure your 404 page uses the same look and feel
(including navigation) as the rest of your site.
• Consider adding links to your most popular articles or posts, as
well as a link to your site's home page.
• Think about providing a way for users to report a broken link.
39. It goes without saying,
don’t put a clown on
fire on your error page
….
40.
41.
42.
43.
44.
45. 404
Steps ….
1. Add in navigation
2. Add in some nice user friendly text
3. Minimise the geekiness (404)
4. Add in common links
5. Add in a search box (see what people type
in)
6. Customised according to URL
7. Monitor the conversion rate using custom
page
(custom groupings in Google analytics)
8. Monitor the popular 404s and fix
46. for JS insertion ….
Variables
• Page Title
Triggers
• Page Title = Page Not Found
Tags
• JavaScript - Add some navigation to the
page
65. Fitting | Type | Brand
Type | Fitting | Brand | Dimmable
What is best for selling
lightbulbs
66. 1. Split your products in two groups
2. Modify the title tags in group 1
3. Test using GA
4. Wait …. Ages!
67. Splitting the groups
var x = {{dl Product.Sku}}';
var y = x.charAt(z));
Last character into a Custom
Dimension (product & hit level)
68. Data -
•GA –
•Entrances
•Non-bounce,
• conversions
•GSC –
•Rankings,
•impressions and
•CTR
Why did group A outperform group B – was it from CTR, Rankings, was
there an outlier in the group…. Use stats to ensure you are confident
about your results.
83. So … one part of the site ….
• Lots and lots of “DUST”
• What if there was a way to … I don’t know magically insert an
appropriate canonical tag… and see the impact?
92. for JS insertion ….
Variables
• StockStatus
Triggers
• StockStatus = Out of Stock
Tags
• JavaScript – Message to users and display
alternative products in LightBox
94. GDPR hits in
2018 -
The right to be informed
The right of access
The right to rectification
The right to erasure
The right to restrict processing
The right to data portability
The right to object
Rights related to automated
decision making and profiling
95. GDPR hits in
2018 -
Manage & Protect users
data correctly or be fined
loads!!!
Fines upto €20m or 4% of
annual worldwide turnover,
whichever is greater
96. Konami Code Animated
Dinosaur!!!
If you can track the keystrokes for
the Konami code, think about the
impact for putting other peoples
JS on your site
99. Someone scraped our French
site… & put on adult links … but
they didn’t change our GTM acc….
Easily no indexed.
100. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
101. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
102. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
Social
1. Adding Social Scripts to the page for share buttons
2. Enhancing with Quote, feature on Facebook
3. Embedding a feed (Juicer.io for example)
103. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
Social
1. Adding Social Scripts to the page for share buttons
2. Enhancing with Quote, feature on Facebook
3. Embedding a feed (Juicer.io for example)
Metadata
1. Title Tags, improve or tweak based on scraped content
2. Canonical Tags
3. Description tags
4. Social tags don’t apear to work (test again?)
5. Mobile deeplinks (for Google Indexation)
6. Pre – load, fetch & render
104. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
Social
1. Adding Social Scripts to the page for share buttons
2. Enhancing with Quote, feature on Facebook
3. Embedding a feed (Juicer.io for example)
Metadata
1. Title Tags, improve or tweak based on scraped content
2. Canonical Tags
3. Description tags
4. Social tags don’t apear to work (test again?)
5. Mobile deeplinks (for Google Indexation)
6. Pre – load, fetch & render
1.Konami Code
1. It creates links and is just fun
2. Raptorize!
105. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
Social
1. Adding Social Scripts to the page for share buttons
2. Enhancing with Quote, feature on Facebook
3. Embedding a feed (Juicer.io for example)
Metadata
1. Title Tags, improve or tweak based on scraped content
2. Canonical Tags
3. Description tags
4. Social tags don’t apear to work (test again?)
5. Mobile deeplinks (for Google Indexation)
6. Pre – load, fetch & render
1.Konami Code
1. It creates links and is just fun
2. Raptorize!
2.Signup Scripts & Growth hacking
1. Give me your email
2. REALLY YOU WANT TO SUBSCRIBE
3. Tweet to download
106. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
Social
1. Adding Social Scripts to the page for share buttons
2. Enhancing with Quote, feature on Facebook
3. Embedding a feed (Juicer.io for example)
Metadata
1. Title Tags, improve or tweak based on scraped content
2. Canonical Tags
3. Description tags
4. Social tags don’t apear to work (test again?)
5. Mobile deeplinks (for Google Indexation)
6. Pre – load, fetch & render
1.Konami Code
1. It creates links and is just fun
2. Raptorize!
2.Signup Scripts & Growth hacking
1. Give me your email
2. REALLY YOU WANT TO SUBSCRIBE
3. Tweet to download
3.Evil
1. Capturing email addresses to retarget to …
2. Point the canonical tags to point to a
parameterised version, this then has links to a
version which embeds the links you want…. This
version, check the UA and target only Google,
when it is Google insert links to a site you want to
rank for …. (are you following?)
3. Konami code to Rick Roll
4. Update dates of WP posts to make them seem
more relevant
107. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
Social
1. Adding Social Scripts to the page for share buttons
2. Enhancing with Quote, feature on Facebook
3. Embedding a feed (Juicer.io for example)
Metadata
1. Title Tags, improve or tweak based on scraped content
2. Canonical Tags
3. Description tags
4. Social tags don’t apear to work (test again?)
5. Mobile deeplinks (for Google Indexation)
6. Pre – load, fetch & render
1.Konami Code
1. It creates links and is just fun
2. Raptorize!
2.Signup Scripts & Growth hacking
1. Give me your email
2. REALLY YOU WANT TO SUBSCRIBE
3. Tweet to download
3.Evil
1. Capturing email addresses to retarget to …
2. Point the canonical tags to point to a
parameterised version, this then has links to a
version which embeds the links you want…. This
version, check the UA and target only Google,
when it is Google insert links to a site you want to
rank for …. (are you following?)
3. Konami code to Rick Roll
4. Update dates of WP posts to make them seem
more relevant
4.Personalisation
1. Capture cookies on behaviour, use to enhance
2. Use campaign source to inject a custom message
(first
108. Inserting JSON LD into a page
1. Organisation / site search
2. Ecom (reviews & product)
3. BreadCrumbs
4. OrderAction
Editing the page
1. 404 add a search box, related links and popular related
pages, especially if you can tweak it based on url
2. Adding some internal links - mainly for SEO as you don't
want to modify viewed content and making it flash
3. Adding in a Video into a page (replace an image with
YouTube)
4. Out of stock in your size click here
5. Out of stock - similar items search
Social
1. Adding Social Scripts to the page for share buttons
2. Enhancing with Quote, feature on Facebook
3. Embedding a feed (Juicer.io for example)
Metadata
1. Title Tags, improve or tweak based on scraped content
2. Canonical Tags
3. Description tags
4. Social tags don’t apear to work (test again?)
5. Mobile deeplinks (for Google Indexation)
6. Pre – load, fetch & render
Konami Code
1. It creates links and is just fun
2. Raptorize!
Signup Scripts & Growth hacking
1. Give me your email
2. REALLY YOU WANT TO SUBSCRIBE
3. Tweet to download
Evil
1. Capturing email addresses to retarget to …
2. Point the canonical tags to point to a
parameterised version, this then has links to a
version which embeds the links you want…. This
version, check the UA and target only Google,
when it is Google insert links to a site you want to
rank for …. (are you following?)
3. Konami code to Rick Roll
4. Update dates of WP posts to make them seem
more relevant
Personalisation
1. Capture cookies on behaviour, use to enhance
2. Use campaign source to inject a custom message
(first
109. Why I am a
little paranoid
about GTM
Imagine your boss fired you, for being an
untrustworthy fellow …Imagine
Imagine you are an untrustworthy fellowImagine
Imagine they still left you GTM accessImagine
Imagine you could change the canonical URLsImagine
Imagine you could sneak relevant links into pages
that only Google could see …Imagine
112. Thanks!
• Check out awesome posts on
• Moz.com for GTM & SEO blog posts
(sadly not by me)
• Simoahava.com for GTM tips
• TakeItOffline.co.uk
for articles & a bi-monthly roundtable by me & others…
• Twitter @dergal
• Connect on linkedin.com/in/dergal