SlideShare a Scribd company logo
1 of 76
#SMX #24B @SWallaceSEO
Stephanie Wallace, Vice President, Owned Media, Nebo
Google Tag Manager Can
Do What?
G O I NG ABO VE & BEYO ND
CO NVERSI O N TRACKI NG
#SMX #24B @SWallaceSEO
We are going to cover a lot!
#SMX #24B @SWallaceSEO
Google Tag Manager:
The best only way to deploy Analytics tracking.
#SMX #24B @SWallaceSEO
But, we’re not going to cover the basics.
#SMX #24B @SWallaceSEO
Are we using GTM to it’s full potential?
#SMX #24B @SWallaceSEO
GTM allows you to make
changes to code on your site…
#SMX #24B @SWallaceSEO
Without touching your site’s code.
#SMX #24B @SWallaceSEO
Puts us, the marketers, back in control.
#SMX #24B @SWallaceSEO
We’re not relying on developers*.
#SMX #24B @SWallaceSEO
We’re not relying on developers*.
*Caveat: Developers have a process for a reason…
#SMX #24B @SWallaceSEO
Special features make GTM
a game changer.
#SMX #24B @SWallaceSEO
7 SEO Specific
Tactics to
Leverage GTM
#SMX #24B @SWallaceSEO
Add Structured Data Markup
Implement Custom Header Tags
Implement Canonical Tags
Define Metadata
Track Right Clicks
Measure Scroll Depth
Measure Dwell Time
We’ll Review
How To:
#SMX #24B @SWallaceSEO
We’ll Review
How To:
Add Structured Data Markup
Implement Custom Header Tags
Implement Canonical Tags
Define Metadata
Track Right Clicks
Measure Scroll Depth
Measure Dwell Time
#SMX #24B @SWallaceSEO
We’ll Review
How To:
Add Structured Data Markup
Implement Custom Header Tags
Implement Canonical Tags
Define Metadata
Track Right Clicks
Measure Scroll Depth
Measure Dwell Time
#SMX #24B @SWallaceSEO
We’ll Review
How To:
Add Structured Data Markup
Implement Custom Header Tags
Implement Canonical Tags
Define Metadata
Track Right Clicks
Measure Scroll Depth
Measure Dwell Time
#SMX #24B @SWallaceSEO
We’ll Review
How To:
Add Structured Data Markup
Implement Custom Header Tags
Implement Canonical Tags
Define Metadata
Track Right Clicks
Measure Scroll Depth
Measure Dwell Time
#SMX #24B @SWallaceSEO
We’ll Review
How To:
Add Structured Data Markup
Implement Custom Header Tags
Implement Canonical Tags
Define Metadata
Track Right Clicks
Measure Scroll Depth
Measure Dwell Time
#SMX #24B @SWallaceSEO
We’ll Review
How To:
Add Structured Data Markup
Implement Custom Header Tags
Implement Canonical Tags
Define Metadata
Track Right Clicks
Measure Scroll Depth
Measure Dwell Time
#SMX #24B @SWallaceSEO
Add
Structured
Data Markup
#SMX #24B @SWallaceSEO
Use Schema to annotate elements on a page making it easier for search engines to
understand your content.
Structured Data Markup
#SMX #24B @SWallaceSEO
Create your snippet of Schema in J-SON LD format.
Example: Organization Schema
#SMX #24B @SWallaceSEO
Create a new tag using the Custom HTML type.
Implementation
#SMX #24B @SWallaceSEO
Paste the schema markup into GTM to dynamically insert J-SON LD on all pages you
define.
Implementation: Tag Configuration
#SMX #24B @SWallaceSEO
Define your trigger pages for this
code to fire on.
Depends on the type of Schema
you’re implementing.
Click Save and Publish your
changes.
Implementation: Trigger Configuration
#SMX #24B @SWallaceSEO
Verify via Google’s Structured DataTestingTool.
Testing & QA
#SMX #24B @SWallaceSEO
Implement
Custom
Header Tags
#SMX #24B @SWallaceSEO
Implement directives via GTM to control crawling & indexing with the robots meta tags.
Custom Header Tags
Directive
noindex
Meaning
nofollow
noarchive
noodp
nosnippet
Do not show this page in search results
Do not follow the links on this page
Do not show a “Cached” link in search results
Do not show a text snippet or video preview in SERPs
Do not use business info from Open Directory
Project
#SMX #24B @SWallaceSEO
Implement header tags with JavaScript by creating a new tag using the custom HTML
type.
Implementation
#SMX #24B @SWallaceSEO
Paste your code and specify within the JavaScript to fire code in the head section.
Implementation: Tag Configuration
#SMX #24B @SWallaceSEO
Define a new trigger that specifies the page(s) to which the header tag will apply.
Implementation: Trigger Configuration
#SMX #24B @SWallaceSEO
Verify that the tag is firing usingView Source or via Chrome DevTools.
Testing & QA
#SMX #24B @SWallaceSEO
Implement
Canonical
Tags
#SMX #24B @SWallaceSEO
Canonical Tags
Use custom variables in GoogleTag Manager to create auto generated canonical URLs
for every page.
rel=“canonical”
Canonical version
Duplicate version Parameter version
#SMX #24B @SWallaceSEO
Create variables for the Page URL Canonical, Page Protocol, Page Hostname Canonical, &
Page Path.
Implementation: Start with Variables
#SMX #24B @SWallaceSEO
Protocol
https://www.example.com/products/?s=seo101#results
Hostname Path Query Fragment
Quick refresher on URL components these variables are referencing.
Implementation
#SMX #24B @SWallaceSEO
Again, using the custom HTML
tag copy and paste this code.
Set code to fire code in the head
section.
Trigger should fire on all pages.
Implementation: Tag Configuration
#SMX #24B @SWallaceSEO
Verify the tag via Chrome DevTools.
Testing & QA
#SMX #24B @SWallaceSEO
Implement
Metadata
#SMX #24B @SWallaceSEO
Metadata
Add title tags and meta descriptions to your site when this cannot be done any other
way.
<title>ExampleTitle</title>
<meta name="description"
content="This is an example of a
meta description.">
#SMX #24B @SWallaceSEO
For a single page, implement the JavaScript as a Custom HTML tag, specified to fire in the
head section.
Implementation: Tag Configuration
#SMX #24B @SWallaceSEO
Implementation: Tag Configuration
Does it have to be this
manual?
For a single page, implement the JavaScript as a Custom HTML tag, specified to fire in the
head section.
#SMX #24B @SWallaceSEO
Add title tags and meta descriptions to your site in bulk usingVariable LookupTables.
Alternate Implementation: Create a New Variable
#SMX #24B @SWallaceSEO
Testing & QA
This is admittedly pretty hacky… But sometimes it’s the only way.
#SMX #24B @SWallaceSEO
Track Right
Clicks
#SMX #24B @SWallaceSEO
Track Right Clicks
Track right or middle clicks with custom tags to truly measure the number of events on a
website.
Users often right click
to download or open in
a new tab.
#SMX #24B @SWallaceSEO
Create a Click ListenerTag using
JavaScript to fire on all non-left
clicks on links.
Set the trigger to DOM ready
pageview.
The page is now “listening” for
the mousedown action from a
right or middle click.
Implementation: Tag Configuration
#SMX #24B @SWallaceSEO
Create data layer variables to match the variables to be sent by the listener tag.
Implementation: Create Variables
#SMX #24B @SWallaceSEO
Define a new Custom Event trigger ready for ourGoogle Analytics tag to track users
clicking on non-left button links, right-button links, and middle-button links.
Implementation: Trigger Configuration
#SMX #24B @SWallaceSEO
Create a new Universal Analytics
event tracking tag to fire on all
right-clicked links.
Use the defined variables to set
up the event and the defined
non-left trigger.
Now you’re tracking in Google
Analytics!
Implementation: Tracking in Google Analytics
#SMX #24B @SWallaceSEO
Testing & QA
Testing has shown we are missing somewhere between 1/3 and 1/2 of all clicks on a variety
of links and resources.
#SMX #24B @SWallaceSEO
Measure
Scroll Depth
#SMX #24B @SWallaceSEO
Capture how far down a given page users scroll to improve engagement tracking.
Measure Scroll Depth
#SMX #24B @SWallaceSEO
Use the native Scroll Depth trigger in GTM.
Implementation: Define New Trigger
#SMX #24B @SWallaceSEO
Create a trigger based on
vertical or horizontal scroll
depths of 25%*, 50%, 75% and
100%.
Define pages on which to fire.
*The 25% mark will cause
bounce rate to artificially
decrease.
Implementation: Trigger Configuration
#SMX #24B @SWallaceSEO
Create a Universal Google
Analytics event tag to collect
scroll tracking data.
Use the Scroll Depth trigger we
just defined.
Implementation: Tag Configuration
#SMX #24B @SWallaceSEO
Testing & QA
To avoid affecting your site’s
bounce rate, when creating
events in GTM configure the
“non-interaction” field asTRUE
for 25%.
Or choose to exclude 25% from
the trigger altogether.
25%
50%
75%
100%
#SMX #24B @SWallaceSEO
Measure
Dwell Time
#SMX #24B @SWallaceSEO
Use theTimer trigger to measure quality visits based on dwell time rather than average
time on page.
Measure Dwell Time
Trigger Fires
After
X Seconds
GTM Tag Fires,
Event Passes to
Analytics
Visitor
Enters
#SMX #24B @SWallaceSEO
Create theTimer trigger.
Define milliseconds between
events and set a limit on number
events to be fired.
Ideal to specify content heavy
pages, similar to scroll depth.
Implementation: Trigger Configuration
#SMX #24B @SWallaceSEO
Calculate ideal dwell time intervals per page based on number of words on the page.
Implementation: Trigger Configuration
words
on the page
15 * 1000
150 words
on the page
15 * 1000 = 10 second intervals
#SMX #24B @SWallaceSEO
Use thoseTimer triggers to
create Create a Universal Google
Analytics event tag to collect
scroll tracking data.
Define event tracking
parameters.
Select “Enable override settings
in this tag”.
Implementation: Tag Configuration
#SMX #24B @SWallaceSEO
Testing & QA
Confirm the tag data is firing in GoogleAnalytics.
#SMX #24B @SWallaceSEO
We covered a lot!
#SMX #24B @SWallaceSEO
We covered a lot!
http://bit.ly/SMX-GTM
#SMX #24B @SWallaceSEO
Share these #SMXInsights on your social channels!
#SMXInsights
We know that a large portion of
metrics from Google Analytics are
either bullsh*t, spam or plain wrong
GTM can help improve the quality of
metrics we’re tracking
#SMX #24B @SWallaceSEO
Share these #SMXInsights on your social channels!
#SMXInsights
Google Tag Manager loads JavaScript
• Google may crawl these changes on a
page, but they are not the only search
engine
Remember these are hacks
#SMX #24B @SWallaceSEO
Share these #SMXInsights on your social channels!
#SMXInsights
Google Tag Manager Resources:
• Simo Ahava
• LunaMetrics GTM Recipes
• Moz Blog: SEO Changes Using GTM
#SMX #24B @SWallaceSEO
Google Tag Manager is a
game changer.
#SMX #24B @SWallaceSEO
Thank You!
Stephanie Wallace
Vice President, Owned Media
Nebo
LEARN MORE: UPCOMING @SMX EVENTS
See You at the next #SMX!
#SMX #24B @SWallaceSEO
Supplement:
Custom Code
Examples
#SMX #24B @SWallaceSEO
Structured Data Markup Code
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type": "Organization",
"name": "NeboAgency",
"sameAs": [
"www.neboagency.com",
"https://www.facebook.com/NeboWeb/",
"https://twitter.com/neboagency",
"https://www.linkedin.com/company/nebo-agency/"
],
"brand": "Nebo",
"description": "Nebo is a full-service agency headquartered in Atlanta,GA.We believe great work comes from a deep understanding the needs, wants and desires of your audience.
Discover more about Nebo and our human-centered philosophy.",
"address": {
"@type": "PostalAddress",
"addressLocality": "Atlanta",
"addressRegion": "GA",
"postalCode": "30318",
"streetAddress": "1000 MARIETTA ST NW SUITE 270" },
"telephone": "1.800.908.6326",
}
</script>
#SMX #24B @SWallaceSEO
Custom Header Tags / NOINDEX Code
<script>
jQuery('meta[name="robots"]').remove();
Var meta = document.createElement ('meta');
meta .name = "robots";
Meta.content = "noindex";
docuemnt.getElementsByTagName('head')[0].appendChild(meta);
</script>
#SMX #24B @SWallaceSEO
Canonical Tag Code
<script>
var c = document.createElement('link');
c.;
c.href = {{Page URL Canonical}};
document.head.appendChild(c);
</script>
#SMX #24B @SWallaceSEO
Metadata Code
<script>
jQuery('meta[name="description"]').remove();
jQuery((title').remove();
var md_en = document.createElement('meta');
md_en.name = 'description';
md_en.content - 'This is a test for Metadata replacement with GTM.';
jQuery('head').append(md_en);
var tt_en = document.createElement('title');
tt_en.text = 'GoogleTag Manager Can Do What? | SMX';
jQuery('head').append(tt_en);
</script>
#SMX #24B @SWallaceSEO
Right Click Code
<script type='text/javascript'>
if (window.jQuery) {
jQuery('a').mousedown(function(event) {
if (event.which == 3)
dataLayer.push({ "nonleft.linkclick.href": this.href,
"nonleft.linkclick.linktext": this.text,
"event": "nonleft.linkclick.right"});
if (event.which == 2)
dataLayer.push({ "nonleft.linkclick.href": this.href,
"nonleft.linkclick.linktext": this.text,
"event": "nonleft.linkclick.middle"});
});
}
</script>

More Related Content

Similar to SMX London: Google Tag Manager Can Do What?

Google Tag Manager Can Do What? | SMX London
Google Tag Manager Can Do What? | SMX LondonGoogle Tag Manager Can Do What? | SMX London
Google Tag Manager Can Do What? | SMX LondonBuiltvisible
 
SMX Advanced 2018 Solving Complex SEO Problems by Patrick Stox
SMX Advanced 2018 Solving Complex SEO Problems by Patrick StoxSMX Advanced 2018 Solving Complex SEO Problems by Patrick Stox
SMX Advanced 2018 Solving Complex SEO Problems by Patrick Stoxpatrickstox
 
Inbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEOInbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEOStephanie Wallace
 
Create Powerful Custom Automations With AdWords Scripts By Frederick Vallaeys
Create Powerful Custom Automations With AdWords Scripts By Frederick VallaeysCreate Powerful Custom Automations With AdWords Scripts By Frederick Vallaeys
Create Powerful Custom Automations With AdWords Scripts By Frederick VallaeysSearch Marketing Expo - SMX
 
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...Bastian Grimm
 
SMX West 2015: Bing Ads UET
SMX West 2015: Bing Ads UET SMX West 2015: Bing Ads UET
SMX West 2015: Bing Ads UET Christi Olson
 
TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...
TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...
TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...Catalyst
 
Consumer driven contract testing
Consumer driven contract testingConsumer driven contract testing
Consumer driven contract testingMike van Vendeloo
 
Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?Simo Ahava
 
6 Critical SEO Steps for Website Redesign Webmarketing123 slides
6 Critical SEO Steps for Website Redesign Webmarketing123 slides6 Critical SEO Steps for Website Redesign Webmarketing123 slides
6 Critical SEO Steps for Website Redesign Webmarketing123 slidesDemandWave
 
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...MobileMoxie
 
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Hamlet Batista
 
Using AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch Larson
Using AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch LarsonUsing AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch Larson
Using AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch LarsonSearch Marketing Expo - SMX
 
Migration Best Practices - SMX London 2018
Migration Best Practices - SMX London 2018Migration Best Practices - SMX London 2018
Migration Best Practices - SMX London 2018Bastian Grimm
 
Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...
Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...
Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...Max Prin
 
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick StoxSMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stoxpatrickstox
 
Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...
Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...
Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...Pam Ann Marketing
 
Migration Best Practices - Search Y 2019, Paris
Migration Best Practices - Search Y 2019, ParisMigration Best Practices - Search Y 2019, Paris
Migration Best Practices - Search Y 2019, ParisBastian Grimm
 
The Essential Guide to Website Redesign - Slides
The Essential Guide to Website Redesign - SlidesThe Essential Guide to Website Redesign - Slides
The Essential Guide to Website Redesign - SlidesDemandWave
 

Similar to SMX London: Google Tag Manager Can Do What? (20)

Google Tag Manager Can Do What? | SMX London
Google Tag Manager Can Do What? | SMX LondonGoogle Tag Manager Can Do What? | SMX London
Google Tag Manager Can Do What? | SMX London
 
SMX Advanced 2018 Solving Complex SEO Problems by Patrick Stox
SMX Advanced 2018 Solving Complex SEO Problems by Patrick StoxSMX Advanced 2018 Solving Complex SEO Problems by Patrick Stox
SMX Advanced 2018 Solving Complex SEO Problems by Patrick Stox
 
Inbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEOInbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEO
 
Create Powerful Custom Automations With AdWords Scripts By Frederick Vallaeys
Create Powerful Custom Automations With AdWords Scripts By Frederick VallaeysCreate Powerful Custom Automations With AdWords Scripts By Frederick Vallaeys
Create Powerful Custom Automations With AdWords Scripts By Frederick Vallaeys
 
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
Migration Best-Practices: Successfully re-launching your website - SMX New Yo...
 
SMX West 2015: Bing Ads UET
SMX West 2015: Bing Ads UET SMX West 2015: Bing Ads UET
SMX West 2015: Bing Ads UET
 
TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...
TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...
TechSEO Boost 2021 - Rendering Strategies: Measuring the Devil’s Details in C...
 
Consumer driven contract testing
Consumer driven contract testingConsumer driven contract testing
Consumer driven contract testing
 
Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?Google Tag Manager - 5 years. What have we learned?
Google Tag Manager - 5 years. What have we learned?
 
6 Critical SEO Steps for Website Redesign Webmarketing123 slides
6 Critical SEO Steps for Website Redesign Webmarketing123 slides6 Critical SEO Steps for Website Redesign Webmarketing123 slides
6 Critical SEO Steps for Website Redesign Webmarketing123 slides
 
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
 
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
 
Using AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch Larson
Using AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch LarsonUsing AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch Larson
Using AdWords Scripts to Create Your Own Ad Tech Landscape By Mitch Larson
 
Migration Best Practices - SMX London 2018
Migration Best Practices - SMX London 2018Migration Best Practices - SMX London 2018
Migration Best Practices - SMX London 2018
 
Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...
Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...
Max Prin - SMX West 2017 - What to do when Google can't understand your JavaS...
 
SEARCH Y - Bastian Grimm - Migrations Best Practices
SEARCH Y - Bastian Grimm -  Migrations Best PracticesSEARCH Y - Bastian Grimm -  Migrations Best Practices
SEARCH Y - Bastian Grimm - Migrations Best Practices
 
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick StoxSMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
 
Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...
Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...
Technical SEO Checklist: How to Optimize a WordPress Site for Search Engine C...
 
Migration Best Practices - Search Y 2019, Paris
Migration Best Practices - Search Y 2019, ParisMigration Best Practices - Search Y 2019, Paris
Migration Best Practices - Search Y 2019, Paris
 
The Essential Guide to Website Redesign - Slides
The Essential Guide to Website Redesign - SlidesThe Essential Guide to Website Redesign - Slides
The Essential Guide to Website Redesign - Slides
 

More from Stephanie Wallace

SMX London: What Really Matters for SEO Success
SMX London: What Really Matters for SEO SuccessSMX London: What Really Matters for SEO Success
SMX London: What Really Matters for SEO SuccessStephanie Wallace
 
PubCon Vegas: Sustainable SEO
PubCon Vegas: Sustainable SEOPubCon Vegas: Sustainable SEO
PubCon Vegas: Sustainable SEOStephanie Wallace
 
S wallace-pub con-austin-2018
S wallace-pub con-austin-2018S wallace-pub con-austin-2018
S wallace-pub con-austin-2018Stephanie Wallace
 
AMA Atlanta Marketing Series: SEO 101 with Stephanie Wallace
AMA Atlanta Marketing Series: SEO 101 with Stephanie WallaceAMA Atlanta Marketing Series: SEO 101 with Stephanie Wallace
AMA Atlanta Marketing Series: SEO 101 with Stephanie WallaceStephanie Wallace
 
SEO Team Lunch & Learn - App Indexing
SEO Team Lunch & Learn - App IndexingSEO Team Lunch & Learn - App Indexing
SEO Team Lunch & Learn - App IndexingStephanie Wallace
 
Connect | Search Engine Watch 2016 - Integrating PPC Data with SEO Strategies
Connect | Search Engine Watch 2016 - Integrating PPC Data with SEO StrategiesConnect | Search Engine Watch 2016 - Integrating PPC Data with SEO Strategies
Connect | Search Engine Watch 2016 - Integrating PPC Data with SEO StrategiesStephanie Wallace
 
AiMA Oct. 2016 Search SIG Event
AiMA Oct. 2016 Search SIG EventAiMA Oct. 2016 Search SIG Event
AiMA Oct. 2016 Search SIG EventStephanie Wallace
 
MozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEO
MozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEOMozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEO
MozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEOStephanie Wallace
 
A Look Into Search Engine Optimization
A Look Into Search Engine OptimizationA Look Into Search Engine Optimization
A Look Into Search Engine OptimizationStephanie Wallace
 

More from Stephanie Wallace (9)

SMX London: What Really Matters for SEO Success
SMX London: What Really Matters for SEO SuccessSMX London: What Really Matters for SEO Success
SMX London: What Really Matters for SEO Success
 
PubCon Vegas: Sustainable SEO
PubCon Vegas: Sustainable SEOPubCon Vegas: Sustainable SEO
PubCon Vegas: Sustainable SEO
 
S wallace-pub con-austin-2018
S wallace-pub con-austin-2018S wallace-pub con-austin-2018
S wallace-pub con-austin-2018
 
AMA Atlanta Marketing Series: SEO 101 with Stephanie Wallace
AMA Atlanta Marketing Series: SEO 101 with Stephanie WallaceAMA Atlanta Marketing Series: SEO 101 with Stephanie Wallace
AMA Atlanta Marketing Series: SEO 101 with Stephanie Wallace
 
SEO Team Lunch & Learn - App Indexing
SEO Team Lunch & Learn - App IndexingSEO Team Lunch & Learn - App Indexing
SEO Team Lunch & Learn - App Indexing
 
Connect | Search Engine Watch 2016 - Integrating PPC Data with SEO Strategies
Connect | Search Engine Watch 2016 - Integrating PPC Data with SEO StrategiesConnect | Search Engine Watch 2016 - Integrating PPC Data with SEO Strategies
Connect | Search Engine Watch 2016 - Integrating PPC Data with SEO Strategies
 
AiMA Oct. 2016 Search SIG Event
AiMA Oct. 2016 Search SIG EventAiMA Oct. 2016 Search SIG Event
AiMA Oct. 2016 Search SIG Event
 
MozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEO
MozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEOMozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEO
MozCon 2015 - The Perfect Pair: Using PPC Data to Influence SEO
 
A Look Into Search Engine Optimization
A Look Into Search Engine OptimizationA Look Into Search Engine Optimization
A Look Into Search Engine Optimization
 

Recently uploaded

The+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdfThe+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdfSocial Samosa
 
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15SearchNorwich
 
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Brighton SEO April 2024 - The Good, the Bad & the Ugly of SEO Success
Brighton SEO April 2024 - The Good, the Bad & the Ugly of SEO SuccessBrighton SEO April 2024 - The Good, the Bad & the Ugly of SEO Success
Brighton SEO April 2024 - The Good, the Bad & the Ugly of SEO SuccessVarn
 
Kraft Mac and Cheese campaign presentation
Kraft Mac and Cheese campaign presentationKraft Mac and Cheese campaign presentation
Kraft Mac and Cheese campaign presentationtbatkhuu1
 
Uncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 ReportsUncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 ReportsVWO
 
Call Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCRCall Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCRSapana Sha
 
Unraveling the Mystery of The Circleville Letters.pptx
Unraveling the Mystery of The Circleville Letters.pptxUnraveling the Mystery of The Circleville Letters.pptx
Unraveling the Mystery of The Circleville Letters.pptxelizabethella096
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...aditipandeya
 
Moving beyond multi-touch attribution - DigiMarCon CanWest 2024
Moving beyond multi-touch attribution - DigiMarCon CanWest 2024Moving beyond multi-touch attribution - DigiMarCon CanWest 2024
Moving beyond multi-touch attribution - DigiMarCon CanWest 2024Richard Ingilby
 
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdftbatkhuu1
 
Factors-Influencing-Branding-Strategies.pptx
Factors-Influencing-Branding-Strategies.pptxFactors-Influencing-Branding-Strategies.pptx
Factors-Influencing-Branding-Strategies.pptxVikasTiwari846641
 
BLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly BulletinBLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly BulletinBalmerLawrie
 
Branding strategies of new company .pptx
Branding strategies of new company .pptxBranding strategies of new company .pptx
Branding strategies of new company .pptxVikasTiwari846641
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfVWO
 
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 

Recently uploaded (20)

The+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdfThe+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdf
 
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
 
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 39 Noida Escorts Escorts >༒8448380779 Escort Service
 
BUY GMAIL ACCOUNTS PVA USA IP INDIAN IP GMAIL
BUY GMAIL ACCOUNTS PVA USA IP INDIAN IP GMAILBUY GMAIL ACCOUNTS PVA USA IP INDIAN IP GMAIL
BUY GMAIL ACCOUNTS PVA USA IP INDIAN IP GMAIL
 
Brighton SEO April 2024 - The Good, the Bad & the Ugly of SEO Success
Brighton SEO April 2024 - The Good, the Bad & the Ugly of SEO SuccessBrighton SEO April 2024 - The Good, the Bad & the Ugly of SEO Success
Brighton SEO April 2024 - The Good, the Bad & the Ugly of SEO Success
 
Kraft Mac and Cheese campaign presentation
Kraft Mac and Cheese campaign presentationKraft Mac and Cheese campaign presentation
Kraft Mac and Cheese campaign presentation
 
Uncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 ReportsUncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 Reports
 
Call Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCRCall Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCR
 
No Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found OnlineNo Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found Online
 
Unraveling the Mystery of The Circleville Letters.pptx
Unraveling the Mystery of The Circleville Letters.pptxUnraveling the Mystery of The Circleville Letters.pptx
Unraveling the Mystery of The Circleville Letters.pptx
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
 
Moving beyond multi-touch attribution - DigiMarCon CanWest 2024
Moving beyond multi-touch attribution - DigiMarCon CanWest 2024Moving beyond multi-touch attribution - DigiMarCon CanWest 2024
Moving beyond multi-touch attribution - DigiMarCon CanWest 2024
 
The Future of Brands on LinkedIn - Alison Kaltman
The Future of Brands on LinkedIn - Alison KaltmanThe Future of Brands on LinkedIn - Alison Kaltman
The Future of Brands on LinkedIn - Alison Kaltman
 
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdf
 
Digital Strategy Master Class - Andrew Rupert
Digital Strategy Master Class - Andrew RupertDigital Strategy Master Class - Andrew Rupert
Digital Strategy Master Class - Andrew Rupert
 
Factors-Influencing-Branding-Strategies.pptx
Factors-Influencing-Branding-Strategies.pptxFactors-Influencing-Branding-Strategies.pptx
Factors-Influencing-Branding-Strategies.pptx
 
BLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly BulletinBLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
 
Branding strategies of new company .pptx
Branding strategies of new company .pptxBranding strategies of new company .pptx
Branding strategies of new company .pptx
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdf
 
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
 

SMX London: Google Tag Manager Can Do What?

  • 1. #SMX #24B @SWallaceSEO Stephanie Wallace, Vice President, Owned Media, Nebo Google Tag Manager Can Do What? G O I NG ABO VE & BEYO ND CO NVERSI O N TRACKI NG
  • 2. #SMX #24B @SWallaceSEO We are going to cover a lot!
  • 3. #SMX #24B @SWallaceSEO Google Tag Manager: The best only way to deploy Analytics tracking.
  • 4. #SMX #24B @SWallaceSEO But, we’re not going to cover the basics.
  • 5. #SMX #24B @SWallaceSEO Are we using GTM to it’s full potential?
  • 6. #SMX #24B @SWallaceSEO GTM allows you to make changes to code on your site…
  • 7. #SMX #24B @SWallaceSEO Without touching your site’s code.
  • 8. #SMX #24B @SWallaceSEO Puts us, the marketers, back in control.
  • 9. #SMX #24B @SWallaceSEO We’re not relying on developers*.
  • 10. #SMX #24B @SWallaceSEO We’re not relying on developers*. *Caveat: Developers have a process for a reason…
  • 11. #SMX #24B @SWallaceSEO Special features make GTM a game changer.
  • 12. #SMX #24B @SWallaceSEO 7 SEO Specific Tactics to Leverage GTM
  • 13. #SMX #24B @SWallaceSEO Add Structured Data Markup Implement Custom Header Tags Implement Canonical Tags Define Metadata Track Right Clicks Measure Scroll Depth Measure Dwell Time We’ll Review How To:
  • 14. #SMX #24B @SWallaceSEO We’ll Review How To: Add Structured Data Markup Implement Custom Header Tags Implement Canonical Tags Define Metadata Track Right Clicks Measure Scroll Depth Measure Dwell Time
  • 15. #SMX #24B @SWallaceSEO We’ll Review How To: Add Structured Data Markup Implement Custom Header Tags Implement Canonical Tags Define Metadata Track Right Clicks Measure Scroll Depth Measure Dwell Time
  • 16. #SMX #24B @SWallaceSEO We’ll Review How To: Add Structured Data Markup Implement Custom Header Tags Implement Canonical Tags Define Metadata Track Right Clicks Measure Scroll Depth Measure Dwell Time
  • 17. #SMX #24B @SWallaceSEO We’ll Review How To: Add Structured Data Markup Implement Custom Header Tags Implement Canonical Tags Define Metadata Track Right Clicks Measure Scroll Depth Measure Dwell Time
  • 18. #SMX #24B @SWallaceSEO We’ll Review How To: Add Structured Data Markup Implement Custom Header Tags Implement Canonical Tags Define Metadata Track Right Clicks Measure Scroll Depth Measure Dwell Time
  • 19. #SMX #24B @SWallaceSEO We’ll Review How To: Add Structured Data Markup Implement Custom Header Tags Implement Canonical Tags Define Metadata Track Right Clicks Measure Scroll Depth Measure Dwell Time
  • 21. #SMX #24B @SWallaceSEO Use Schema to annotate elements on a page making it easier for search engines to understand your content. Structured Data Markup
  • 22. #SMX #24B @SWallaceSEO Create your snippet of Schema in J-SON LD format. Example: Organization Schema
  • 23. #SMX #24B @SWallaceSEO Create a new tag using the Custom HTML type. Implementation
  • 24. #SMX #24B @SWallaceSEO Paste the schema markup into GTM to dynamically insert J-SON LD on all pages you define. Implementation: Tag Configuration
  • 25. #SMX #24B @SWallaceSEO Define your trigger pages for this code to fire on. Depends on the type of Schema you’re implementing. Click Save and Publish your changes. Implementation: Trigger Configuration
  • 26. #SMX #24B @SWallaceSEO Verify via Google’s Structured DataTestingTool. Testing & QA
  • 28. #SMX #24B @SWallaceSEO Implement directives via GTM to control crawling & indexing with the robots meta tags. Custom Header Tags Directive noindex Meaning nofollow noarchive noodp nosnippet Do not show this page in search results Do not follow the links on this page Do not show a “Cached” link in search results Do not show a text snippet or video preview in SERPs Do not use business info from Open Directory Project
  • 29. #SMX #24B @SWallaceSEO Implement header tags with JavaScript by creating a new tag using the custom HTML type. Implementation
  • 30. #SMX #24B @SWallaceSEO Paste your code and specify within the JavaScript to fire code in the head section. Implementation: Tag Configuration
  • 31. #SMX #24B @SWallaceSEO Define a new trigger that specifies the page(s) to which the header tag will apply. Implementation: Trigger Configuration
  • 32. #SMX #24B @SWallaceSEO Verify that the tag is firing usingView Source or via Chrome DevTools. Testing & QA
  • 34. #SMX #24B @SWallaceSEO Canonical Tags Use custom variables in GoogleTag Manager to create auto generated canonical URLs for every page. rel=“canonical” Canonical version Duplicate version Parameter version
  • 35. #SMX #24B @SWallaceSEO Create variables for the Page URL Canonical, Page Protocol, Page Hostname Canonical, & Page Path. Implementation: Start with Variables
  • 36. #SMX #24B @SWallaceSEO Protocol https://www.example.com/products/?s=seo101#results Hostname Path Query Fragment Quick refresher on URL components these variables are referencing. Implementation
  • 37. #SMX #24B @SWallaceSEO Again, using the custom HTML tag copy and paste this code. Set code to fire code in the head section. Trigger should fire on all pages. Implementation: Tag Configuration
  • 38. #SMX #24B @SWallaceSEO Verify the tag via Chrome DevTools. Testing & QA
  • 40. #SMX #24B @SWallaceSEO Metadata Add title tags and meta descriptions to your site when this cannot be done any other way. <title>ExampleTitle</title> <meta name="description" content="This is an example of a meta description.">
  • 41. #SMX #24B @SWallaceSEO For a single page, implement the JavaScript as a Custom HTML tag, specified to fire in the head section. Implementation: Tag Configuration
  • 42. #SMX #24B @SWallaceSEO Implementation: Tag Configuration Does it have to be this manual? For a single page, implement the JavaScript as a Custom HTML tag, specified to fire in the head section.
  • 43. #SMX #24B @SWallaceSEO Add title tags and meta descriptions to your site in bulk usingVariable LookupTables. Alternate Implementation: Create a New Variable
  • 44. #SMX #24B @SWallaceSEO Testing & QA This is admittedly pretty hacky… But sometimes it’s the only way.
  • 46. #SMX #24B @SWallaceSEO Track Right Clicks Track right or middle clicks with custom tags to truly measure the number of events on a website. Users often right click to download or open in a new tab.
  • 47. #SMX #24B @SWallaceSEO Create a Click ListenerTag using JavaScript to fire on all non-left clicks on links. Set the trigger to DOM ready pageview. The page is now “listening” for the mousedown action from a right or middle click. Implementation: Tag Configuration
  • 48. #SMX #24B @SWallaceSEO Create data layer variables to match the variables to be sent by the listener tag. Implementation: Create Variables
  • 49. #SMX #24B @SWallaceSEO Define a new Custom Event trigger ready for ourGoogle Analytics tag to track users clicking on non-left button links, right-button links, and middle-button links. Implementation: Trigger Configuration
  • 50. #SMX #24B @SWallaceSEO Create a new Universal Analytics event tracking tag to fire on all right-clicked links. Use the defined variables to set up the event and the defined non-left trigger. Now you’re tracking in Google Analytics! Implementation: Tracking in Google Analytics
  • 51. #SMX #24B @SWallaceSEO Testing & QA Testing has shown we are missing somewhere between 1/3 and 1/2 of all clicks on a variety of links and resources.
  • 53. #SMX #24B @SWallaceSEO Capture how far down a given page users scroll to improve engagement tracking. Measure Scroll Depth
  • 54. #SMX #24B @SWallaceSEO Use the native Scroll Depth trigger in GTM. Implementation: Define New Trigger
  • 55. #SMX #24B @SWallaceSEO Create a trigger based on vertical or horizontal scroll depths of 25%*, 50%, 75% and 100%. Define pages on which to fire. *The 25% mark will cause bounce rate to artificially decrease. Implementation: Trigger Configuration
  • 56. #SMX #24B @SWallaceSEO Create a Universal Google Analytics event tag to collect scroll tracking data. Use the Scroll Depth trigger we just defined. Implementation: Tag Configuration
  • 57. #SMX #24B @SWallaceSEO Testing & QA To avoid affecting your site’s bounce rate, when creating events in GTM configure the “non-interaction” field asTRUE for 25%. Or choose to exclude 25% from the trigger altogether. 25% 50% 75% 100%
  • 59. #SMX #24B @SWallaceSEO Use theTimer trigger to measure quality visits based on dwell time rather than average time on page. Measure Dwell Time Trigger Fires After X Seconds GTM Tag Fires, Event Passes to Analytics Visitor Enters
  • 60. #SMX #24B @SWallaceSEO Create theTimer trigger. Define milliseconds between events and set a limit on number events to be fired. Ideal to specify content heavy pages, similar to scroll depth. Implementation: Trigger Configuration
  • 61. #SMX #24B @SWallaceSEO Calculate ideal dwell time intervals per page based on number of words on the page. Implementation: Trigger Configuration words on the page 15 * 1000 150 words on the page 15 * 1000 = 10 second intervals
  • 62. #SMX #24B @SWallaceSEO Use thoseTimer triggers to create Create a Universal Google Analytics event tag to collect scroll tracking data. Define event tracking parameters. Select “Enable override settings in this tag”. Implementation: Tag Configuration
  • 63. #SMX #24B @SWallaceSEO Testing & QA Confirm the tag data is firing in GoogleAnalytics.
  • 64. #SMX #24B @SWallaceSEO We covered a lot!
  • 65. #SMX #24B @SWallaceSEO We covered a lot! http://bit.ly/SMX-GTM
  • 66. #SMX #24B @SWallaceSEO Share these #SMXInsights on your social channels! #SMXInsights We know that a large portion of metrics from Google Analytics are either bullsh*t, spam or plain wrong GTM can help improve the quality of metrics we’re tracking
  • 67. #SMX #24B @SWallaceSEO Share these #SMXInsights on your social channels! #SMXInsights Google Tag Manager loads JavaScript • Google may crawl these changes on a page, but they are not the only search engine Remember these are hacks
  • 68. #SMX #24B @SWallaceSEO Share these #SMXInsights on your social channels! #SMXInsights Google Tag Manager Resources: • Simo Ahava • LunaMetrics GTM Recipes • Moz Blog: SEO Changes Using GTM
  • 69. #SMX #24B @SWallaceSEO Google Tag Manager is a game changer.
  • 70. #SMX #24B @SWallaceSEO Thank You! Stephanie Wallace Vice President, Owned Media Nebo LEARN MORE: UPCOMING @SMX EVENTS See You at the next #SMX!
  • 72. #SMX #24B @SWallaceSEO Structured Data Markup Code <script type="application/ld+json"> { "@context":"http://schema.org", "@type": "Organization", "name": "NeboAgency", "sameAs": [ "www.neboagency.com", "https://www.facebook.com/NeboWeb/", "https://twitter.com/neboagency", "https://www.linkedin.com/company/nebo-agency/" ], "brand": "Nebo", "description": "Nebo is a full-service agency headquartered in Atlanta,GA.We believe great work comes from a deep understanding the needs, wants and desires of your audience. Discover more about Nebo and our human-centered philosophy.", "address": { "@type": "PostalAddress", "addressLocality": "Atlanta", "addressRegion": "GA", "postalCode": "30318", "streetAddress": "1000 MARIETTA ST NW SUITE 270" }, "telephone": "1.800.908.6326", } </script>
  • 73. #SMX #24B @SWallaceSEO Custom Header Tags / NOINDEX Code <script> jQuery('meta[name="robots"]').remove(); Var meta = document.createElement ('meta'); meta .name = "robots"; Meta.content = "noindex"; docuemnt.getElementsByTagName('head')[0].appendChild(meta); </script>
  • 74. #SMX #24B @SWallaceSEO Canonical Tag Code <script> var c = document.createElement('link'); c.; c.href = {{Page URL Canonical}}; document.head.appendChild(c); </script>
  • 75. #SMX #24B @SWallaceSEO Metadata Code <script> jQuery('meta[name="description"]').remove(); jQuery((title').remove(); var md_en = document.createElement('meta'); md_en.name = 'description'; md_en.content - 'This is a test for Metadata replacement with GTM.'; jQuery('head').append(md_en); var tt_en = document.createElement('title'); tt_en.text = 'GoogleTag Manager Can Do What? | SMX'; jQuery('head').append(tt_en); </script>
  • 76. #SMX #24B @SWallaceSEO Right Click Code <script type='text/javascript'> if (window.jQuery) { jQuery('a').mousedown(function(event) { if (event.which == 3) dataLayer.push({ "nonleft.linkclick.href": this.href, "nonleft.linkclick.linktext": this.text, "event": "nonleft.linkclick.right"}); if (event.which == 2) dataLayer.push({ "nonleft.linkclick.href": this.href, "nonleft.linkclick.linktext": this.text, "event": "nonleft.linkclick.middle"}); }); } </script>

Editor's Notes

  1. I am going to assume you already know & love tag manager And we’re not going to cover how to write javascript
  2. Things like version control, security, avoiding collection of PII, etc…
  3. Special features like real time testing and the ability to customize make GTM a game changer.
  4. Implement Schema in JSON-LD format via Google Tag Manager.
  5. For anyone not familiar, Schema is a structured data markup that helps search engines better understand your content Schema is the vocabulary, Schema.org is the dictionary. Historically, this code was added inline.
  6. Using Schema.org, create your snippet of Schema in J-SON LD format.
  7. Implement structured data markup using Google Tag Manager. Be sure to name your tags appropriately to easily keep track
  8. Paste the schema markup that you have already written into GTM to dynamically insert J-SON LD on all pages you define.
  9. And define your trigger - which pages you want this code to fire on. For something like standard organization schema we can select All Pages And Click Save! And of course, don’t forget to Publish your changes.
  10. Once live, you can easily check to see that it’s firing correctly using Google’s structured data testing tool.  There is no easier way to implement additional code on your site A single script for thousands of pages with the same data type.
  11. Implement noindex tags, nofollow tags & more via Google Tag Manager.
  12. Implement noindex tags, canonical tags & more when inline edits aren’t feasible. Noindex, nofollow, noarchive, canonical, even NOODP when that was a thing Historically, these were changes that had to be made inline – edits to the live code on your site. But not anymore.
  13. Start by selecting “New Tag” and name it so you can easily track all of the different tags on your site the type will be a custom HTML tag - b/c we want to add a snippet of custom code to the header of each page.
  14. Simply Copy/paste the schema markup that you have written Specify within the Javascript to fire code in the head section.
  15. And define your trigger - which pages you want this code to fire on. For something like standard organization schema we can select All Pages And Click Save! And of course, don’t forget to Publish your changes. Be cautious with the trigger here – you don’t want to accidentally NOINDEX your whole site!
  16. Once live, you can easily check to see that it’s firing correctly using Google’s structured data testing tool.  There is no easier way to implement additional code on your site A single script for thousands of pages with the same data type.
  17. Implement auto-generated, sitewide canonical tags via Google Tag Manager.
  18. Define www or not in hostname Define HTTP or HTTPS Remove query parameters
  19. Simply Copy/paste the schema markup that you have written
  20. Add title tags and meta descriptions to your site via GTM.
  21. This is made possible by Google’s recent advancements in rendering client-side scripting, but keep in mind that there’s a big ”if” here. You can use GTM to update your metadata, IF your site doesn’t have a lot of other JavaScript complexity going on. Google’s only going to deal with so much JavaScript before it moves on, so it’s the simpler websites that can get away with this.
  22. Simply Copy/paste the schema markup that you have written The trigger is that page with which you are updating…
  23. Simply Copy/paste the schema markup that you have written For a single page
  24. This is admittedly pretty hacky…and John Mueller has cautioned against it. But sometimes it’s the only way. you didn’t have CMS access, or, worse yet, your client was using a homegrown website that couldn’t be easily updated
  25. Track right or middle clicks to truly measure the number of events on a website.
  26. Built in Click Triggers in GTM only track traditional clicks and linkclicks. Track right or middle clicks to truly measure the number of events on a website.
  27. DOM ready pageview - DOM ready trigger fires when browser has built the skeleton of the page = parsed HTML and CSS. So the page may not look that good yet, but there is something rendered to a page.
  28. The Regex is because in the Listener Tag – you are listening for both right and middle clicks. The Regex will capture both.
  29. The Regex is because in the Listener Tag – you are listening for both right and middle clicks. The Regex will capture both.
  30. Measure engagement that matters with scroll depth.
  31. Capture how far down a given page users scroll to improve engagement tracking. Get more insight than standard time on page metrics. Ideal for content heavy pages. How users are really interacting with your content, even if they bounce.
  32. This works best when content fills most of the page, top to bottom Set for content heavy pages *The 25% mark will cause bounce rate to artificially decrease as “non-sticky” users may trigger an event.
  33. You have to think about the average length of content – if users don’t scroll at all will the 25% event fire anyway?
  34. Measure interaction with your content beyond bounce rate.
  35. Use the Timer trigger to measure quality visits based on dwell time rather than average time on page. Often, quality visits may still be considered a bounce with traditional measurement.
  36. This works best when content fills most of the page, top to bottom Set for content heavy pages
  37. 5 seconds, 15 seconds?
  38. If I leave you with one thing – I hope it’s the thought that Google Tag Manager can be a Game Changer for you.