SlideShare a Scribd company logo
1 of 41
Download to read offline
Janet Plumpton
MISSGUIDED
How to use XPath with
e-commerce Websites
@PlumJans
make the
most from
website
code for
e-commerce
SEO
#brightonSEO@PlumJans https://www.slideshare.net/JanetPlumpton
#brightonSEO@PlumJans
XPath = XML
Path Language
the easy way to pluck data
contained in HTML pages
#brightonSEO@PlumJans
what does it look like?
//@href
//H2
//span[@itemprop=’ratingValue’]
#brightonSEO@PlumJans
a few
standard uses for XPath
extraction
#brightonSEO@PlumJans
extracting schema code
58 reviews
#brightonSEO@PlumJans
scraping product SKUs
Product number: A2502222
Product number: DE911161
Product number: R9335328
Product number: A2502826
Product number: DD910086
#brightonSEO@PlumJans
exporting specific page copy
CATEGORY
COPY
PRODUCT
COPY
#brightonSEO@PlumJans
backlink auditing
#brightonSEO@PlumJans
monitoring social activity
#brightonSEO@PlumJans
scraping dates from blog posts
BLOG POST VISITS YEAR
http://www.missguided.co.uk/blog/fashion/blog-six 267 2017
http://www.missguided.co.uk/blog/fashion/blog-two 146 2012
http://www.missguided.co.uk/blog/fashion/blog-four 682 2015
http://www.missguided.co.uk/blog/fashion/blog-three 214 2015
http://www.missguided.co.uk/blog/fashion/blog-five 16 2016
http://www.missguided.co.uk/blog/fashion/blog-one 86 2011
#brightonSEO@PlumJans
the very
useful
tool kit
#brightonSEO@PlumJans
SEO TOOLS
FOR EXCEL
the very
useful
tool kit
#brightonSEO@PlumJans
SEO TOOLS
FOR EXCEL
SCREAMING
FROG
the very
useful
tool kit
#brightonSEO@PlumJans
SEO TOOLS
FOR EXCEL
SCREAMING
FROG
INSPECT
ELEMENT
the very
useful
tool kit
#brightonSEO@PlumJans
SEO TOOLS
FOR EXCEL
SCREAMING
FROG
SCRAPER
EXTENSION
INSPECT
ELEMENT
the very
useful
tool kit
#brightonSEO@PlumJans
SEO TOOLS
FOR EXCEL
SCREAMING
FROG
SCRAPER
EXTENSION
INSPECT
ELEMENT
GOOGLE
SHEETS
the very
useful
tool kit
#brightonSEO@PlumJans
If you are new
to XPath…
#brightonSEO@PlumJans
…simply open a Google Sheet
Data XPath
Page
Title =ImportXML("URL","//title[1]")
Meta
Description =ImportXML("URL","//meta[@name='description']/@content")
H1
Heading =ImportXML("URL"; "//*[@name='h1'] ")
@PlumJans
4 scraping tips for
e-commerce websites
time is money
#brightonSEO
#brightonSEO@PlumJans
#1
#brightonSEO@PlumJans
It can be a shock
to discover valuable traffic
going to empty categories
#brightonSEO@PlumJans
products
per
category
mark-up
#brightonSEO@PlumJans
//span[@class='js-cascade-label-max']
GOOGLE SHEETS
=IMPORTXML("URL", "//span[@class='js-cascade-label-max']")
SEO TOOLS FOR EXCEL
=XPathOnURL("URL", "//span[@class='js-cascade-label-max']")
#brightonSEO@PlumJans
couple this data up
with traffic per URL
#brightonSEO@PlumJans
0
200
400
600
800
1,000
1,200
1,400
1,600
1,800
2,000
0
5,000
10,000
15,000
20,000
25,000
30,000
35,000
40,000
45,000
A B C D E F G H I J K
Traffic and Styles per Category
Organic Traffic Styles
#brightonSEO@PlumJans
#2
#brightonSEO@PlumJans
number of products in a site
search URL
#brightonSEO@PlumJans
recreate search URLs in Excel
Search Terms Site Search URL String + Search Terms
red bodysuit domain.co.uk/search?q= red+bodysuit
white blazer dress domain.co.uk/search?q= white+blazer+dress
khaki bomber jackets domain.co.uk/search?q= khaki+bomber+jackets
export site searches from GA
#brightonSEO@PlumJans
are you presenting fewer
products on landing pages?
yes or no?
#brightonSEO@PlumJans
#3
#brightonSEO@PlumJans
which on page elements
perform better?
compare metrics
#brightonSEO@PlumJans
do product pages convert
better with videos?
#brightonSEO@PlumJans
//*[@id="product-media"]/a[1]/text()
Address Videos
/premium-white-plunge-neck-zip-through-bodycon-dress play video
/silky-plunge-wrap-shift-dress-red play video
/black-floral-print-strappy-midi-dress play video
/peace-love-white-lace-high-neck-midi-dress play video
/sequin-snake-high-neck-bodycon-dress-animal play video
#brightonSEO@PlumJans
pick and choose
what you want to scrape
apply your metrics
#brightonSEO@PlumJans
#4
#brightonSEO@PlumJans
out of stock products
are they getting lots of traffic?
#brightonSEO@PlumJans
http://schema.org/OutOfStock
what code sets your
OOS pages apart?
“Product out of Stock”
find it
#brightonSEO@PlumJans
apply average conversion rate
(faint)
products coming back?
yes or no?
#brightonSEO@PlumJans
and that’s it
make your day to day
tasks easier
by understanding your
website code
@PlumJans #brightonSEOhttps://www.slideshare.net/JanetPlumpton

More Related Content

What's hot

What's hot (20)

How to Improve Your Website's Indexation - Sean Butcher Brighton SEO Present...
How to Improve Your Website's Indexation  - Sean Butcher Brighton SEO Present...How to Improve Your Website's Indexation  - Sean Butcher Brighton SEO Present...
How to Improve Your Website's Indexation - Sean Butcher Brighton SEO Present...
 
The State of the Web: Pagination and Infinite Scroll
The State of the Web: Pagination and Infinite ScrollThe State of the Web: Pagination and Infinite Scroll
The State of the Web: Pagination and Infinite Scroll
 
SearchLove London 2016 | Dom Woodman | How to Get Insight From Your Logs
SearchLove London 2016 | Dom Woodman | How to Get Insight From Your LogsSearchLove London 2016 | Dom Woodman | How to Get Insight From Your Logs
SearchLove London 2016 | Dom Woodman | How to Get Insight From Your Logs
 
Developing Technical SEO Skills - Brighton SEO Sept 2021
Developing Technical SEO Skills - Brighton SEO Sept 2021Developing Technical SEO Skills - Brighton SEO Sept 2021
Developing Technical SEO Skills - Brighton SEO Sept 2021
 
Conflicting Website Signals & Confused Search Engines - Rachel Costello, Tech...
Conflicting Website Signals & Confused Search Engines - Rachel Costello, Tech...Conflicting Website Signals & Confused Search Engines - Rachel Costello, Tech...
Conflicting Website Signals & Confused Search Engines - Rachel Costello, Tech...
 
Crawling & Indexing for eCommerce Sites - Sam Taylor, BrightonSEO (Crawling &...
Crawling & Indexing for eCommerce Sites - Sam Taylor, BrightonSEO (Crawling &...Crawling & Indexing for eCommerce Sites - Sam Taylor, BrightonSEO (Crawling &...
Crawling & Indexing for eCommerce Sites - Sam Taylor, BrightonSEO (Crawling &...
 
Schema.org and the changing world of Rich Results - SEOEdinburgh Meetup
Schema.org and the changing world of Rich Results - SEOEdinburgh MeetupSchema.org and the changing world of Rich Results - SEOEdinburgh Meetup
Schema.org and the changing world of Rich Results - SEOEdinburgh Meetup
 
URL Funnel Optimisation: How to get budget for SEO - Michal Magdziarz, CEO, D...
URL Funnel Optimisation: How to get budget for SEO - Michal Magdziarz, CEO, D...URL Funnel Optimisation: How to get budget for SEO - Michal Magdziarz, CEO, D...
URL Funnel Optimisation: How to get budget for SEO - Michal Magdziarz, CEO, D...
 
On-Page SEO EXTREME - SEOZone Istanbul 2013
On-Page SEO EXTREME - SEOZone Istanbul 2013On-Page SEO EXTREME - SEOZone Istanbul 2013
On-Page SEO EXTREME - SEOZone Istanbul 2013
 
HOW TO INCREASE YOUR TRAFFIC 5X WITH THIS ONE SEO METHOD
HOW TO INCREASE YOUR TRAFFIC 5X WITH THIS ONE SEO METHODHOW TO INCREASE YOUR TRAFFIC 5X WITH THIS ONE SEO METHOD
HOW TO INCREASE YOUR TRAFFIC 5X WITH THIS ONE SEO METHOD
 
Introduction to PWAs & New JS Frameworks for Mobile
Introduction to PWAs & New JS Frameworks for MobileIntroduction to PWAs & New JS Frameworks for Mobile
Introduction to PWAs & New JS Frameworks for Mobile
 
BrightonSEO Takeaways September 2017
BrightonSEO Takeaways September 2017BrightonSEO Takeaways September 2017
BrightonSEO Takeaways September 2017
 
Mauro Cattaneo - Why hreflang is crucial to international SEO success - Brigh...
Mauro Cattaneo - Why hreflang is crucial to international SEO success - Brigh...Mauro Cattaneo - Why hreflang is crucial to international SEO success - Brigh...
Mauro Cattaneo - Why hreflang is crucial to international SEO success - Brigh...
 
AMP for Enterprises - SMX West - Patrick Stox
AMP for Enterprises - SMX West - Patrick StoxAMP for Enterprises - SMX West - Patrick Stox
AMP for Enterprises - SMX West - Patrick Stox
 
What Fantasy Football Taught Me About Building Nuanced SEO Reports
What Fantasy Football Taught Me About Building Nuanced SEO ReportsWhat Fantasy Football Taught Me About Building Nuanced SEO Reports
What Fantasy Football Taught Me About Building Nuanced SEO Reports
 
Duplicate Content Myths Types and Ways To Make It Work For You
Duplicate Content Myths Types and Ways To Make It Work For YouDuplicate Content Myths Types and Ways To Make It Work For You
Duplicate Content Myths Types and Ways To Make It Work For You
 
The Future of Technical SEO | Women in Tech SEO 2019 | Rachel Costello
The Future of Technical SEO | Women in Tech SEO 2019 | Rachel CostelloThe Future of Technical SEO | Women in Tech SEO 2019 | Rachel Costello
The Future of Technical SEO | Women in Tech SEO 2019 | Rachel Costello
 
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
 
Combatting Crawl Bloat & Pruning Your Content Effectively
Combatting Crawl Bloat & Pruning Your Content EffectivelyCombatting Crawl Bloat & Pruning Your Content Effectively
Combatting Crawl Bloat & Pruning Your Content Effectively
 
Analytics in the Age of Mobile - 2017 MnSearch Summit
Analytics in the Age of Mobile - 2017 MnSearch SummitAnalytics in the Age of Mobile - 2017 MnSearch Summit
Analytics in the Age of Mobile - 2017 MnSearch Summit
 

Similar to BrightonSEO - How to use XPath with eCommerce Websites

Similar to BrightonSEO - How to use XPath with eCommerce Websites (20)

How to leverage indexation tracking to monitor issues and improve performance
How to leverage indexation tracking to monitor issues and improve performanceHow to leverage indexation tracking to monitor issues and improve performance
How to leverage indexation tracking to monitor issues and improve performance
 
Excel Power-ups for Going Beast-mode in Local SEO
Excel Power-ups for Going Beast-mode in Local SEOExcel Power-ups for Going Beast-mode in Local SEO
Excel Power-ups for Going Beast-mode in Local SEO
 
Measure fest 2020 what clients want to see
Measure fest 2020   what clients want to seeMeasure fest 2020   what clients want to see
Measure fest 2020 what clients want to see
 
SEO Automation Without Using Hard Code by Tevfik Mert Azizoglu - BrightonSEO ...
SEO Automation Without Using Hard Code by Tevfik Mert Azizoglu - BrightonSEO ...SEO Automation Without Using Hard Code by Tevfik Mert Azizoglu - BrightonSEO ...
SEO Automation Without Using Hard Code by Tevfik Mert Azizoglu - BrightonSEO ...
 
Seo網上推廣課程 1 mar
Seo網上推廣課程 1 marSeo網上推廣課程 1 mar
Seo網上推廣課程 1 mar
 
Structured Data: Is It Worth Your Time? (Ecommerce SEO summit June 2020)
Structured Data: Is It Worth Your Time? (Ecommerce SEO summit June 2020)Structured Data: Is It Worth Your Time? (Ecommerce SEO summit June 2020)
Structured Data: Is It Worth Your Time? (Ecommerce SEO summit June 2020)
 
Optimising AMP (Accelerated Mobile Pages) #SMXLondon
Optimising AMP (Accelerated Mobile Pages) #SMXLondonOptimising AMP (Accelerated Mobile Pages) #SMXLondon
Optimising AMP (Accelerated Mobile Pages) #SMXLondon
 
SEO Best Practices for Web Developers
SEO Best Practices for Web DevelopersSEO Best Practices for Web Developers
SEO Best Practices for Web Developers
 
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
 
Migrating existing monolith to serverless in 8 steps
Migrating existing monolith to serverless in 8 stepsMigrating existing monolith to serverless in 8 steps
Migrating existing monolith to serverless in 8 steps
 
The Offspring of SEO and Semantic Web: SEO++
The Offspring of SEO  and Semantic Web: SEO++ The Offspring of SEO  and Semantic Web: SEO++
The Offspring of SEO and Semantic Web: SEO++
 
Efficient Search Campaigns SAScon May 2012
Efficient Search Campaigns SAScon May 2012Efficient Search Campaigns SAScon May 2012
Efficient Search Campaigns SAScon May 2012
 
A Technical SEO Journey: Insights from Logs, hreflang & Mobile Analysis #SMXl...
A Technical SEO Journey: Insights from Logs, hreflang & Mobile Analysis #SMXl...A Technical SEO Journey: Insights from Logs, hreflang & Mobile Analysis #SMXl...
A Technical SEO Journey: Insights from Logs, hreflang & Mobile Analysis #SMXl...
 
The Ultimate Free Digital Marketing Toolkit
The Ultimate Free Digital Marketing ToolkitThe Ultimate Free Digital Marketing Toolkit
The Ultimate Free Digital Marketing Toolkit
 
DG Group - Active Or Passive Website
DG Group - Active Or Passive WebsiteDG Group - Active Or Passive Website
DG Group - Active Or Passive Website
 
Online SEO Meetup
Online SEO MeetupOnline SEO Meetup
Online SEO Meetup
 
Accelerated Mobile Pages (AMP) in Magento
Accelerated Mobile Pages (AMP) in MagentoAccelerated Mobile Pages (AMP) in Magento
Accelerated Mobile Pages (AMP) in Magento
 
Seoptimizing
SeoptimizingSeoptimizing
Seoptimizing
 
LinkedIn Platform at LeWeb 2010
LinkedIn Platform at LeWeb 2010LinkedIn Platform at LeWeb 2010
LinkedIn Platform at LeWeb 2010
 
Website Architecture
Website ArchitectureWebsite Architecture
Website Architecture
 

Recently uploaded

Affiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdf
Affiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdfAffiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdf
Affiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdf
atinukehassan87
 

Recently uploaded (20)

Digital marketing guide complete guide for beginners
Digital marketing guide complete guide for beginnersDigital marketing guide complete guide for beginners
Digital marketing guide complete guide for beginners
 
Top SEO Trends to Embrace in 2024‎ ‎ ‎ ‎
Top SEO Trends to Embrace in 2024‎ ‎ ‎ ‎Top SEO Trends to Embrace in 2024‎ ‎ ‎ ‎
Top SEO Trends to Embrace in 2024‎ ‎ ‎ ‎
 
Mastering Email Marketing - A Comprehensive Guide.pdf
Mastering Email Marketing - A Comprehensive Guide.pdfMastering Email Marketing - A Comprehensive Guide.pdf
Mastering Email Marketing - A Comprehensive Guide.pdf
 
The BoF Brand Magic Index Volume Two — Preview.pdf
The BoF Brand Magic Index Volume Two — Preview.pdfThe BoF Brand Magic Index Volume Two — Preview.pdf
The BoF Brand Magic Index Volume Two — Preview.pdf
 
The Wide-Format Experience | PrintAction
The Wide-Format Experience | PrintActionThe Wide-Format Experience | PrintAction
The Wide-Format Experience | PrintAction
 
Digital PR & Content Marketing Lecture for Advanced Digital & Social Media St...
Digital PR & Content Marketing Lecture for Advanced Digital & Social Media St...Digital PR & Content Marketing Lecture for Advanced Digital & Social Media St...
Digital PR & Content Marketing Lecture for Advanced Digital & Social Media St...
 
Affiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdf
Affiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdfAffiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdf
Affiliate Marketing Basic Guide For Beginners _20240521_091615_0000.pdf
 
BrightonSEO - Search Engine Omnipresence_ Why SEOs need to look beyond Google
BrightonSEO - Search Engine Omnipresence_ Why SEOs need to look beyond GoogleBrightonSEO - Search Engine Omnipresence_ Why SEOs need to look beyond Google
BrightonSEO - Search Engine Omnipresence_ Why SEOs need to look beyond Google
 
Fantasy Cricket Apps: A New Viewpoint for Online Cricket Betting Apps
Fantasy Cricket Apps: A New Viewpoint for Online Cricket Betting AppsFantasy Cricket Apps: A New Viewpoint for Online Cricket Betting Apps
Fantasy Cricket Apps: A New Viewpoint for Online Cricket Betting Apps
 
Top tips for effective SEO copywriting.pdf
Top tips for effective SEO copywriting.pdfTop tips for effective SEO copywriting.pdf
Top tips for effective SEO copywriting.pdf
 
Leading Customer Retention Strategies for 2024
Leading Customer Retention Strategies for 2024Leading Customer Retention Strategies for 2024
Leading Customer Retention Strategies for 2024
 
Social Media Paid Ads Performance Report.pdf
Social Media Paid Ads Performance Report.pdfSocial Media Paid Ads Performance Report.pdf
Social Media Paid Ads Performance Report.pdf
 
ATRIUM GAMING : SLOT GACOR MUDAH MENANG TERBARU
ATRIUM GAMING : SLOT GACOR MUDAH MENANG TERBARUATRIUM GAMING : SLOT GACOR MUDAH MENANG TERBARU
ATRIUM GAMING : SLOT GACOR MUDAH MENANG TERBARU
 
Why Digital Marketing Important for our Business.pdf
Why Digital Marketing Important for our Business.pdfWhy Digital Marketing Important for our Business.pdf
Why Digital Marketing Important for our Business.pdf
 
Using GA 4 to to Prove Value - Greg Jarboe - Aug 8, 2023.pptx
Using GA 4 to to Prove Value - Greg Jarboe - Aug 8, 2023.pptxUsing GA 4 to to Prove Value - Greg Jarboe - Aug 8, 2023.pptx
Using GA 4 to to Prove Value - Greg Jarboe - Aug 8, 2023.pptx
 
Link Building in 2024: What Works, What Doesn't, and What's Next
Link Building in 2024: What Works, What Doesn't, and What's NextLink Building in 2024: What Works, What Doesn't, and What's Next
Link Building in 2024: What Works, What Doesn't, and What's Next
 
A chronological journey of jobs and responsibilities.
A chronological journey of jobs and responsibilities.A chronological journey of jobs and responsibilities.
A chronological journey of jobs and responsibilities.
 
SES London 2009 Beyond Linkbait Greg Jarboe.ppt
SES London 2009 Beyond Linkbait Greg Jarboe.pptSES London 2009 Beyond Linkbait Greg Jarboe.ppt
SES London 2009 Beyond Linkbait Greg Jarboe.ppt
 
Rhys Cater, Precis, The future of media buying with Generative AI.pdf
Rhys Cater, Precis, The future of media buying with Generative AI.pdfRhys Cater, Precis, The future of media buying with Generative AI.pdf
Rhys Cater, Precis, The future of media buying with Generative AI.pdf
 
Beyond the Basics: Enhanced Strategies for Next-Level Advertising
Beyond the Basics: Enhanced Strategies for Next-Level AdvertisingBeyond the Basics: Enhanced Strategies for Next-Level Advertising
Beyond the Basics: Enhanced Strategies for Next-Level Advertising
 

BrightonSEO - How to use XPath with eCommerce Websites