SlideShare a Scribd company logo
1 of 33
@maxxeight
Making the Bot Experience as Good
as the User Experience
PWA & AMP
@maxxeight
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"name": "Max Prin",
"url": "https://maxprin.com",
"jobTitle": "Head of Technical SEO",
"worksFor": "Merkle",
"sameAs": [
"https://twitter.com/maxxeight",
"https://www.linkedin.com/in/maxprin"
]
}
</script>
@maxxeight
A great user experience… search engines can understand.
• Relevant
• Mobile-Friendly
• Fast
• Secure
• Popular
Organic Search Performance is Based on:
• Content
• Web Design
• Site Speed
• SSL/HTTPS
• Links
@maxxeight
A great user experience… search engines can understand.
• Relevant
• Mobile-Friendly
• Fast
• Secure
• Popular
Organic Search Performance is Based on:
• Content
• Web Design
• Site Speed
• SSL/HTTPS
• Links
@maxxeight
@maxxeight
@maxxeight
@maxxeight
@maxxeight
“hidden” content <picture> and srcset
Tabs
Accordions
Click-to-expand
When loaded automatically
(vs. user click)
Mobile-Friendly-Optimized Design
<picture>
<source type="image/svg+xml" srcset="pyramid.svg">
<source type="image/webp" srcset="pyramid.webp">
<img src="pyramid.png" alt="large PNG image...">
</picture>
<img srcset="example-320w.jpg 320w,
example-480w.jpg 480w,
example-800w.jpg 800w"
sizes="(max-width: 320px) 280px,
(max-width: 480px) 440px,
800px"
src="example-800w.jpg" alt="responsive web!">
@maxxeight
Native apps
Web apps
@maxxeight
Reliable and Fast Engaging
• Mobile-Friendly
• Fast*
• Secure (HTTPS)
Progressive Web Apps
• Home Icon
• Push Notifications
@maxxeight
Crawling and Rendering
• Evergreen Googlebot
• Lazy Loading
• User-triggered Content
• + links (mega menu, etc.)
Progressive Web Apps
@maxxeight
Lazy Loading (Images)
@maxxeight
Accelerated Mobile Pages
AMP HTML+JS AMP Cache (CDN) Pre-loading
@maxxeight
AMP “Real” URL with Signed Exchanges
@maxxeight
Custom JavaScript in AMP with <amp-script>
Restrictions
• Maximum of 10,000 bytes per amp-script
• Maximum total of 150,000 bytes for all amp-
script elements on the page
@maxxeight
AMP for E-Commerce
<amp-sidebar>
- Navigation
<amp-carousel>
<amp-list>
- Product organization
<amp-form>
- Searching
<amp-bind>
- Filtering and sorting
<amp-access>
- Logged in/out
<amp-accordion>
- Product images/details
<amp-form>
<amp-carousel>
- Comments/reviews
<amp-selector>
- Tabs/Thumbnails
<amp-bind>
- Color/size selection
<amp-state>
- Add to cart
@maxxeight
Checkout/Payments in AMP
PaymentRequest API
- Chrome only
<amp-form>
- Checkout flow in AMP pages
- No completion in AMP
Redirect users to website
@maxxeight
AMP
English
m.
English
m.
French
Desktop
English
Desktop
French
rel="amphtml"
rel="amphtml"
rel="amphtml"
rel="canonical"
rel="amphtml"
rel="canonical"
rel="canonical"
rel="alternate"
rel="canonical"
rel="alternate"
rel="alternate" hreflang="en"
rel="alternate" hreflang="fr"
rel="alternate" hreflang="en"
rel="alternate" hreflang="fr"
rel="alternate" hreflang="en"
rel="alternate" hreflang="fr"
AMP
French
@maxxeight
Desktop
English
Desktop
French
rel="alternate" hreflang="en"
rel="alternate" hreflang="fr"
@maxxeight
AMP: Initial User Acquisition PWA: Interactivity/Engagement
• Optimized discovery
• Instant delivery
• Limited features
How to Get the Best of Both Worlds?
• Advanced features
• Highly dynamic
• Slower first delivery
@maxxeight
Combine AMP and PWA
AMP pages
with PWA
features
AMP
as entry
point into
your PWA
AMP
as data
source for
your PWA
@maxxeight
AMP as Entry Point into your PWA
<amp-install-serviceworker>
@maxxeight
@maxxeight
AMP and PWA on the same URL(s)?
@maxxeight
AMP
English
m.
English
m.
French
rel="amphtml"
rel="amphtml"
rel="amphtml"
rel="canonical"
rel="amphtml"
rel="canonical"
rel="canonical"
rel="alternate"
rel="canonical"
rel="alternate"
rel="alternate" hreflang="en"
rel="alternate" hreflang="fr"
rel="alternate" hreflang="en"
rel="alternate" hreflang="fr"
AMP
French
Desktop
English
Desktop
French
rel="alternate" hreflang="en"
rel="alternate" hreflang="fr"
@maxxeight
self.addEventListener('fetch', event => {
if (event.request.mode === 'navigate') {
event.respondWith(
fetch(event.request.url + '?pwa=true')
);
} else {
event.respondWith(
caches.match(event.request).then(function(response) {
return response || fetch(event.request);
})
);
}
});
service-worker.js
@maxxeight
RewriteEngine on
RewriteCond %{QUERY_STRING} pwa=true [OR]
RewriteCond %{HTTP_REFERER} ^https://pwamp.site/.* [OR]
RewriteCond %{HTTP_REFERER} ^https://pwamp-site.cdn.ampproject.org/.*
RewriteRule (.*) /pwa.php [L]
.htaccess
@maxxeight
@maxxeight
AMPs are not rendered
• Bots only see <amp-img> (vs. <img>)
• They don’t crawl/index the “src” URL
•
• Use <noscript>
AMP images are not indexable (even above-the-fold)
@maxxeight
“What about SEO?”
Bots only crawl/index the AMP version of the site
No waste of crawling resources over multiple URLs for the same content
Clear signaling (i.e. don’t worry about all of those canonical/alternate tags)
Pages are fast and pre-loaded in the SERP (AMP viewer or “Real URL”)
Pages are mobile-friendly
@maxxeight
PWAMP Examples and Resources
https://pwamp.site https://www.howpwampworks.com (by @aleyda)
@maxxeight
Thank You!

More Related Content

What's hot

What's hot (14)

Cut the Crap: Next Level Content Audits with Crawlers - Sam Marsden, SEO & Co...
Cut the Crap: Next Level Content Audits with Crawlers - Sam Marsden, SEO & Co...Cut the Crap: Next Level Content Audits with Crawlers - Sam Marsden, SEO & Co...
Cut the Crap: Next Level Content Audits with Crawlers - Sam Marsden, SEO & Co...
 
Overcoming Technical SEO Challenges for Enterprise Sites | SearchLeeds 2019 |...
Overcoming Technical SEO Challenges for Enterprise Sites | SearchLeeds 2019 |...Overcoming Technical SEO Challenges for Enterprise Sites | SearchLeeds 2019 |...
Overcoming Technical SEO Challenges for Enterprise Sites | SearchLeeds 2019 |...
 
Technical SEO Beyond the Audit - Brighton SEO April 2017 - Philip Gamble
Technical SEO Beyond the Audit - Brighton SEO April 2017 - Philip GambleTechnical SEO Beyond the Audit - Brighton SEO April 2017 - Philip Gamble
Technical SEO Beyond the Audit - Brighton SEO April 2017 - Philip Gamble
 
Data Studio for SEOs - Pint-sized Marketing Meetup 2019
Data Studio for SEOs - Pint-sized Marketing Meetup 2019Data Studio for SEOs - Pint-sized Marketing Meetup 2019
Data Studio for SEOs - Pint-sized Marketing Meetup 2019
 
Google’s tridente
Google’s tridenteGoogle’s tridente
Google’s tridente
 
How to Unleash The Power of Unique Content
How to Unleash The Power of Unique ContentHow to Unleash The Power of Unique Content
How to Unleash The Power of Unique Content
 
SearchLeeds 2019 - Polly Pospelova - How to hack rankings with page speed opt...
SearchLeeds 2019 - Polly Pospelova - How to hack rankings with page speed opt...SearchLeeds 2019 - Polly Pospelova - How to hack rankings with page speed opt...
SearchLeeds 2019 - Polly Pospelova - How to hack rankings with page speed opt...
 
BrightonSEO April 2018 Mobile-First & Crawl Budget
BrightonSEO April 2018 Mobile-First & Crawl BudgetBrightonSEO April 2018 Mobile-First & Crawl Budget
BrightonSEO April 2018 Mobile-First & Crawl Budget
 
Technical seo
Technical seoTechnical seo
Technical seo
 
Automating SEO Reporting With Google Data Studio - Digitalzone 2018
Automating SEO Reporting With Google Data Studio - Digitalzone 2018Automating SEO Reporting With Google Data Studio - Digitalzone 2018
Automating SEO Reporting With Google Data Studio - Digitalzone 2018
 
Building Large-Scale Automated Reports with a Small-Scale Budget - SMX Munich...
Building Large-Scale Automated Reports with a Small-Scale Budget - SMX Munich...Building Large-Scale Automated Reports with a Small-Scale Budget - SMX Munich...
Building Large-Scale Automated Reports with a Small-Scale Budget - SMX Munich...
 
Basic E-Commerce Site Audit
Basic E-Commerce Site AuditBasic E-Commerce Site Audit
Basic E-Commerce Site Audit
 
BrightonSEO: Leveraging information architecture for Ecommerce SEO
BrightonSEO: Leveraging information architecture for Ecommerce SEOBrightonSEO: Leveraging information architecture for Ecommerce SEO
BrightonSEO: Leveraging information architecture for Ecommerce SEO
 
SEO and Analytics
SEO and AnalyticsSEO and Analytics
SEO and Analytics
 

Similar to PWA & AMP (PWAMP) - Making the Bot Experience as Good as the User Experience

Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Mahbubur Rahman
 

Similar to PWA & AMP (PWAMP) - Making the Bot Experience as Good as the User Experience (20)

PWA + AMP: The Future of E-Commerce? Max Prin - BrightonSEO - Sept. 2018
PWA + AMP: The Future of E-Commerce? Max Prin - BrightonSEO - Sept. 2018PWA + AMP: The Future of E-Commerce? Max Prin - BrightonSEO - Sept. 2018
PWA + AMP: The Future of E-Commerce? Max Prin - BrightonSEO - Sept. 2018
 
Amp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesAmp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pages
 
AMP in WordPress, the WordPress Way
AMP in WordPress, the WordPress WayAMP in WordPress, the WordPress Way
AMP in WordPress, the WordPress Way
 
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
 
Amp your site an intro to accelerated mobile pages
Amp your site  an intro to accelerated mobile pagesAmp your site  an intro to accelerated mobile pages
Amp your site an intro to accelerated mobile pages
 
Building for, perceiving and measuring performance for mobile web
Building for, perceiving and measuring performance for mobile webBuilding for, perceiving and measuring performance for mobile web
Building for, perceiving and measuring performance for mobile web
 
Accelerated Mobile Pages (AMP) in Magento
Accelerated Mobile Pages (AMP) in MagentoAccelerated Mobile Pages (AMP) in Magento
Accelerated Mobile Pages (AMP) in Magento
 
Ajax to the Moon
Ajax to the MoonAjax to the Moon
Ajax to the Moon
 
Ramp up your Mobile Content Slideshow
Ramp up your Mobile Content SlideshowRamp up your Mobile Content Slideshow
Ramp up your Mobile Content Slideshow
 
Going All-In On AMP
Going All-In On AMPGoing All-In On AMP
Going All-In On AMP
 
Build APIs With Kapow Mashup Server
Build APIs With Kapow Mashup ServerBuild APIs With Kapow Mashup Server
Build APIs With Kapow Mashup Server
 
CIS14: Baking Fine-Grained Authorization Into Your Apps and APIs using ALFA, ...
CIS14: Baking Fine-Grained Authorization Into Your Apps and APIs using ALFA, ...CIS14: Baking Fine-Grained Authorization Into Your Apps and APIs using ALFA, ...
CIS14: Baking Fine-Grained Authorization Into Your Apps and APIs using ALFA, ...
 
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
 
Salesforce integration options
Salesforce integration optionsSalesforce integration options
Salesforce integration options
 
MnSearch Summit 2018 - Max Prin – Technical SEO Tactics for the Current Mobil...
MnSearch Summit 2018 - Max Prin – Technical SEO Tactics for the Current Mobil...MnSearch Summit 2018 - Max Prin – Technical SEO Tactics for the Current Mobil...
MnSearch Summit 2018 - Max Prin – Technical SEO Tactics for the Current Mobil...
 
Real-time Ruby for the Real-time Web
Real-time Ruby for the Real-time WebReal-time Ruby for the Real-time Web
Real-time Ruby for the Real-time Web
 
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfRET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
 
Integrating Accelerated Mobile Pages (AMP) In Drupal Websites
Integrating Accelerated Mobile Pages (AMP) In Drupal WebsitesIntegrating Accelerated Mobile Pages (AMP) In Drupal Websites
Integrating Accelerated Mobile Pages (AMP) In Drupal Websites
 
Web Applications
Web ApplicationsWeb Applications
Web Applications
 
Building Advanced Serverless Applications
Building Advanced Serverless ApplicationsBuilding Advanced Serverless Applications
Building Advanced Serverless Applications
 

More from Max Prin

More from Max Prin (6)

Max Prin - brightonSEO San Diego 2023 - Developing SEO Tools
Max Prin - brightonSEO San Diego 2023 - Developing SEO ToolsMax Prin - brightonSEO San Diego 2023 - Developing SEO Tools
Max Prin - brightonSEO San Diego 2023 - Developing SEO Tools
 
Search Y 2020 - PWA + AMP
Search Y 2020 - PWA + AMPSearch Y 2020 - PWA + AMP
Search Y 2020 - PWA + AMP
 
What's New with Schema and Structured Data - Max Prin - SMX Advanced 2019
What's New with Schema and Structured Data - Max Prin - SMX Advanced 2019What's New with Schema and Structured Data - Max Prin - SMX Advanced 2019
What's New with Schema and Structured Data - Max Prin - SMX Advanced 2019
 
Max Prin - TechSEO Boost 2017 - SEO Best Practices For JavaScript-Based Websites
Max Prin - TechSEO Boost 2017 - SEO Best Practices For JavaScript-Based WebsitesMax Prin - TechSEO Boost 2017 - SEO Best Practices For JavaScript-Based Websites
Max Prin - TechSEO Boost 2017 - SEO Best Practices For JavaScript-Based Websites
 
Max Prin - SMX Paris 2017 - Voice Search: Comment Ranker?
Max Prin - SMX Paris 2017 - Voice Search: Comment Ranker?Max Prin - SMX Paris 2017 - Voice Search: Comment Ranker?
Max Prin - SMX Paris 2017 - Voice Search: Comment Ranker?
 
Max Prin - SMX Paris 2016 - Données Structurées et Quick Answers : à la conqu...
Max Prin - SMX Paris 2016 - Données Structurées et Quick Answers : à la conqu...Max Prin - SMX Paris 2016 - Données Structurées et Quick Answers : à la conqu...
Max Prin - SMX Paris 2016 - Données Structurées et Quick Answers : à la conqu...
 

Recently uploaded

Recently uploaded (20)

Crypto Quantum Leap - Digital - membership area
Crypto Quantum Leap -  Digital - membership areaCrypto Quantum Leap -  Digital - membership area
Crypto Quantum Leap - Digital - membership area
 
2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com
 
Distribution Ad Platform_ The Role of Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of  Distribution Ad Network.pdfDistribution Ad Platform_ The Role of  Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of Distribution Ad Network.pdf
 
Discover Ardency Elite: Elevate Your Lifestyle
Discover Ardency Elite: Elevate Your LifestyleDiscover Ardency Elite: Elevate Your Lifestyle
Discover Ardency Elite: Elevate Your Lifestyle
 
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdfMicro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
 
Press Release Distribution Evolving with Digital Trends.pdf
Press Release Distribution Evolving with Digital Trends.pdfPress Release Distribution Evolving with Digital Trends.pdf
Press Release Distribution Evolving with Digital Trends.pdf
 
Cartona.pptx. Marketing how to present your project very well , discussed a...
Cartona.pptx.   Marketing how to present your project very well , discussed a...Cartona.pptx.   Marketing how to present your project very well , discussed a...
Cartona.pptx. Marketing how to present your project very well , discussed a...
 
Martal Group - B2B Lead Gen Agency - Onboarding Overview
Martal Group - B2B Lead Gen Agency - Onboarding OverviewMartal Group - B2B Lead Gen Agency - Onboarding Overview
Martal Group - B2B Lead Gen Agency - Onboarding Overview
 
Social Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendaySocial Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh Benday
 
[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered
 
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesInstant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
 
Resumé Karina Perez | Digital Strategist
Resumé Karina Perez | Digital StrategistResumé Karina Perez | Digital Strategist
Resumé Karina Perez | Digital Strategist
 
Rise and fall of Kulula.com, an airline won consumers by different marketing ...
Rise and fall of Kulula.com, an airline won consumers by different marketing ...Rise and fall of Kulula.com, an airline won consumers by different marketing ...
Rise and fall of Kulula.com, an airline won consumers by different marketing ...
 
Enhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San FranciscoEnhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San Francisco
 
SALES-PITCH-an-introduction-to-sales.pptx
SALES-PITCH-an-introduction-to-sales.pptxSALES-PITCH-an-introduction-to-sales.pptx
SALES-PITCH-an-introduction-to-sales.pptx
 
personal branding kit for music business
personal branding kit for music businesspersonal branding kit for music business
personal branding kit for music business
 
Best 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In ChandigarhBest 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In Chandigarh
 
Aligarh Hire 💕 8250092165 Young and Hot Call Girls Service Agency Escorts
Aligarh Hire 💕 8250092165 Young and Hot Call Girls Service Agency EscortsAligarh Hire 💕 8250092165 Young and Hot Call Girls Service Agency Escorts
Aligarh Hire 💕 8250092165 Young and Hot Call Girls Service Agency Escorts
 
Optimizing Your Marketing with AI-Powered Prompts
Optimizing Your Marketing with AI-Powered PromptsOptimizing Your Marketing with AI-Powered Prompts
Optimizing Your Marketing with AI-Powered Prompts
 
The 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptxThe 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptx
 

PWA & AMP (PWAMP) - Making the Bot Experience as Good as the User Experience