SlideShare a Scribd company logo
Analytics and AI based Retention
in e-commerce
Jay Magdani
We help Optimize Customer Experiences at Scale
Customer Lifecycle Management and Engagement Platform
Cloud Based
Digital Marketer
AARRR
10B+
App and Web
Analytics
Engagement
26M/min
CleverTap?
Analyst
Retention: How e-commerce plays the game
ATTRACT
CONVERTRETAIN
MarketerGrowth
Product
Day in a life of an e-commerce business
Strategic
Landscape
Retention: What the industry thinks
App performance?
How do I improve revenue?
How do I get stickiness?
Who is my User?
How do I reduce Churn?
What should I build next?
Tactical
Landscape
Who should I reach out to?
Why are my users exhibiting
said behavior?
Where should I target my Users?
What should be my message?
When is the best time to
reach my users
Martech Landscape
Day in a life of a marketer
Analytics Landscape
Make smarter decisions
Retention: What e-commerce demands from technology
How does my App perform?
How do I meet my KPIs?
Who?
Why?
When?
Where?What?
Descriptive Analytics
Prescriptive Analytics
Predictive Analytics
Diagnostic Analytics
C
L
E
V
E
R
T
A
P
Retention: What e-commerce demands from technology
SEGMENTATION
ANALYTICS ENGAGEMENT EXPERIENCES
Behavioral | Interest | Demographic | Geographic | RFM | Intent
Funnels | Cohorts | Flows Push | Email | WhatsApp Experiments | Triggers
But before that… Collect data
Profile
• Information about the user
• Geo, Demo, type, devices
Event
• Actions performed by user
• App Launch, Charged
Who I am?
End User
Profile
Event
Engage
Analytics
What I do?
Brand
AUTOMATED
USER SEGMENTATION
CHAMPION USER
OPTIMIZATION
• Analyze what the champion users do
• Track and compare behavior with other users
• Replicate the champion user behavior
1
2
How AI plays a role…
SEGMENTATION
ANALYTICS ENGAGEMENT EXPERIENCES
CONTENT
RECOMMENDATION
• What message should I send?
• Performance of campaigns based on message
• Track, measure and learn from ROI
3
OPTIMIZE NATIVE UI
EXPERIENCES
• Blue button vs Red button
• Run experiments
• Easily publish multiple app versions
4
History with Segmentation
Manual
Segmentation Tool
Automated
Segmentation
AUTOMATED
USER SEGMENTATION
1
Assisted Segmentation
Via RFM
Manual Segmentation Problems
AUTOMATED
USER SEGMENTATION
1
Intuition Based
Best users?
Users who did
 App Launch
and then…
 Searched
and then…
 Added to Cart
and then…
 Charged
Within 1 day
RFM Problems
AUTOMATED
USER SEGMENTATION
1
Single Event Analysis
Ignores Time Aspect
Low Predictive Power
Reactive
Split all users who made a Purchase into good and bad segments
Why Intent Based Segmentation
AUTOMATED
USER SEGMENTATION
Proactive
1
Users who will uninstall
in the next 30 days
Users
Most Likely
Moderately Likely
Least Likely
Productizing Predictive Segments
AUTOMATED
USER SEGMENTATION
1
Largest ticket booking app in LATAM
● Before
○ High uninstall rates
○ Reactive approach
○ Low conversions
Large food app in Asia
● Before
○ High marketing spend
Impact on Customers
AUTOMATED
USER SEGMENTATION
1
IBS Impact
Conversions
25%
Uninstalls
18%
Spend
21%
● After
● After
○ Optimized budget by selective, smart and
intent based engagement strategy
AUTOMATED
USER SEGMENTATION
• Real-time User Segmentation
• Customer Insights powered by ML
• Predictive modeling for better ROI
CHAMPION USER
OPTIMIZATION
1
2
SEGMENTATION
ANALYTICS ENGAGEMENT EXPERIENCES
CONTENT
RECOMMENDATION
• What message should I send?
• Performance of campaigns based on message
• Track, measure and learn from ROI
3
OPTIMIZE NATIVE UI
EXPERIENCES
• Blue button vs Red button
• Run experiments
• Easily publish multiple app versions
4
Compare Conversion Funnels
CHAMPION USER
OPTIMIZATION
2
App Launched
Product Viewed
Added to Cart
Charged
App Launched
Product Viewed
Added to Cart
Charged
1M 100K
500K
100K
25K
25K
10K
1K
Champion Users New Users
CLTV
CHAMPION USER
OPTIMIZATION
2
Customer Acquisition CostTotal Revenue generated Duration before churn
E-commerce Golden Ratio -> 3:1
AUTOMATED
USER SEGMENTATION
• Real-time User Segmentation
• Customer Insights powered by ML
• Predictive modeling for better ROI
CHAMPION USER
OPTIMIZATION
1
SEGMENTATION
ANALYTICS ENGAGEMENT EXPERIENCES
CONTENT
RECOMMENDATION
OPTIMIZE NATIVE UI
EXPERIENCES
• Blue button vs Red button
• Run experiments
• Easily publish multiple app versions
4
3
2
• Analyze what the champion users do
• Track and compare behavior with other users
• Replicate the champion user behavior
● Poor user experience
● High churn rates
● Lost business opportunity
● Low LTV/CLV
CONTENT
RECOMMENDATION
3
● Category Based
● Same recommendations
provided multiple times.
REPEAT
RECOMMENDATIONS
● Using basic analytics like best
items, etc.
● Best guess intuition
MANUAL DISCOVERY
Issues with Manual Content Creation
CONTENT
RECOMMENDATION
3 Why Content
Recommendation Engine
Right Content
Vestibulum
congue
Vestibulum
congue
Vestibulum
congue
Vestibulum
congue
Relevance
SerendipityDiversity
Right User
CONTENT
RECOMMENDATION
3 How recommendation engine works
Upload
Catalog
Run
Recommendation
Model
Engage
Luke:
Views electronics goods
John:
Searches sports goods
Product
Name
Category Price
iPhone 11 Electronics $ 700
Tennis shoes Sports $ 400
● Using Recommendations in Campaigns and Journeys
● Comparing performance of recommendations w.r.t Control Group
● CTR and Conversion performance Boost generated
CONTENT
RECOMMENDATION
3 Impact on Customers
40%
ARPU
AUTOMATED
USER SEGMENTATION
• Real-time User Segmentation
• Customer Insights powered by ML
• Predictive modeling for better ROI
CHAMPION USER
OPTIMIZATION
1
SEGMENTATION
ANALYTICS ENGAGEMENT EXPERIENCES
CONTENT
RECOMMENDATION
OPTIMIZE NATIVE UI
EXPERIENCES
2
• Analyze what the champion users do
• Track and compare behavior with other users
• Replicate the champion user behavior
4
3
• What message should I send?
• Performance of campaigns based on message
• Track, measure and learn from ROI
OPTIMIZE NATIVE UI
EXPERIENCES
4 What is it?
OPTIMIZE NATIVE UI
EXPERIENCES
4 What is it?
Purchase Now!!!
Offer available
30% off
Last day today
Buy
30% discount
OPTIMIZE NATIVE UI
EXPERIENCES
4 Why is it important?
money time
experience optimization
Prescriptive
Recommenders
Predictive
IBS
Diagnostic
Segment
Comparison,
Anomaly Detection
and Reasons, etc.
Descriptive
Events, Trends,
RFM, Flows, etc.
Data Science
Pillars
Summary: Driving Retention backed by Analytics and DS
Thank You!
jay.magdani@clevertap.com

More Related Content

PDF
MoEngage: Next Generation Marketing Cloud
PDF
Reimagine Growth: Execute on your customer journey strategy
PPTX
CleverTap & App Promo: App Retention & Engagement Strategy Seminar
PDF
Engagement, Retention and Monetization
PDF
Marketing + AI - How to optimise conversion rate by leveraging Machine Learning
PDF
MoEngage_eTail Europe Presentation London 2022.pdf
PPTX
Google Display Network Tutorial | Google Display Ads | Google Ads | Digital M...
PPTX
Google Shopping Ads in 2018
MoEngage: Next Generation Marketing Cloud
Reimagine Growth: Execute on your customer journey strategy
CleverTap & App Promo: App Retention & Engagement Strategy Seminar
Engagement, Retention and Monetization
Marketing + AI - How to optimise conversion rate by leveraging Machine Learning
MoEngage_eTail Europe Presentation London 2022.pdf
Google Display Network Tutorial | Google Display Ads | Google Ads | Digital M...
Google Shopping Ads in 2018

What's hot (20)

PDF
360° digital marketing proposal
PPTX
What is Programmatic advertising??
PDF
Paid Media Process & Strategy
PDF
Driving Growth and Higher ROI across your touch points with AI-Powered Custom...
PPTX
Digital Marketing Presentation
PDF
Gain Competitive Advantage With Personalization
PDF
What is Google Shopping Campaigns?
PDF
How to increase CLV & decrease CAC - Valentin Radu
PDF
Programmatic Advertising 101
PDF
CRM Engagement Strategy With Data Driven Optimisation.
PDF
Advanced Amazon Advertising Strategies for 2019
PPTX
Digital marketing explainer - Digital Marketing
PPTX
Level Up With WebEngage
PDF
Carousell Pitch
PPTX
PPC Google AdWords Proposal Sample for Client Pitching
PPTX
Dm(digital marketing) ppt
PPTX
Webinar DV 360 Self Serve _ 25 March 2022.pptx
PPTX
Ingenex Digital Marketing Strategy
PDF
Digital Advertising Agency For Business Growth Proposal PowerPoint Presentati...
PPTX
Google AdWords/PayPerClick Training Presentation
360° digital marketing proposal
What is Programmatic advertising??
Paid Media Process & Strategy
Driving Growth and Higher ROI across your touch points with AI-Powered Custom...
Digital Marketing Presentation
Gain Competitive Advantage With Personalization
What is Google Shopping Campaigns?
How to increase CLV & decrease CAC - Valentin Radu
Programmatic Advertising 101
CRM Engagement Strategy With Data Driven Optimisation.
Advanced Amazon Advertising Strategies for 2019
Digital marketing explainer - Digital Marketing
Level Up With WebEngage
Carousell Pitch
PPC Google AdWords Proposal Sample for Client Pitching
Dm(digital marketing) ppt
Webinar DV 360 Self Serve _ 25 March 2022.pptx
Ingenex Digital Marketing Strategy
Digital Advertising Agency For Business Growth Proposal PowerPoint Presentati...
Google AdWords/PayPerClick Training Presentation
Ad

Similar to Analytics and AI based Retention in e-commerce (20)

PDF
How Artificial Intelligence & Machine Learning Are Transforming Modern Market...
PDF
How Artificial Intelligence & Machine Learning Are Transforming Modern Marketing
PPTX
User Retention: Mantra for Rapid Growth in the Age of Distraction
PDF
CleverTap at The Marketing and Sales Show Dubai 2019, hosted by Terrapin.
PDF
Cutting Edge Retention Strategies 2019
PDF
Intent Based Segmentation by CleverTap
PPTX
Mobile Marketing - Consumer journey use cases
PPTX
Segmentation Strategies for Mobile Marketers
PDF
Automating Cross-Channel Marketing - Alite International
PPTX
Retention is the New Growth
PDF
Media & entertainment marketing automation and omnichannel media
PPTX
#feedyourapp- San Francisco Breakfast Series
PDF
eComm talk 3: Effective tools for Website optimisation
PPTX
Food for Thought: Industry Benchmarks & Best Practices for Food Delivery Apps
PDF
Mobile Marketing Automation
PDF
Digital space marketing
PPTX
App retention:engagement july 18 th
PDF
Turn Every Moment into Opportunity with Psychographic Segmentation
PPTX
5. Retail and the digital assistant - Alastair Stirling Google - Screen Pages...
PDF
Customer Insights That Drive User Engagement
How Artificial Intelligence & Machine Learning Are Transforming Modern Market...
How Artificial Intelligence & Machine Learning Are Transforming Modern Marketing
User Retention: Mantra for Rapid Growth in the Age of Distraction
CleverTap at The Marketing and Sales Show Dubai 2019, hosted by Terrapin.
Cutting Edge Retention Strategies 2019
Intent Based Segmentation by CleverTap
Mobile Marketing - Consumer journey use cases
Segmentation Strategies for Mobile Marketers
Automating Cross-Channel Marketing - Alite International
Retention is the New Growth
Media & entertainment marketing automation and omnichannel media
#feedyourapp- San Francisco Breakfast Series
eComm talk 3: Effective tools for Website optimisation
Food for Thought: Industry Benchmarks & Best Practices for Food Delivery Apps
Mobile Marketing Automation
Digital space marketing
App retention:engagement july 18 th
Turn Every Moment into Opportunity with Psychographic Segmentation
5. Retail and the digital assistant - Alastair Stirling Google - Screen Pages...
Customer Insights That Drive User Engagement
Ad

More from CleverTap (20)

PPTX
Vietnam 2021: Build Effective Engagement Strategies for App Growth
PDF
Engagement, Retention and Monetization : Using advanced analytics for new mon...
PDF
Reimagine Growth 3 - Session 2 - Planning your ASO strategy from 0 to 100
PDF
Reimagine Growth 3: Customer Acquisition
PDF
Reimagine Growth 2: Retention & Growth
PDF
Reimagine Growth 2: Content and Engagement (NAM Version)
PDF
Reimagine Growth 2: Customer Acquisition (NAM Version)
PPTX
Reimagine Growth 2: Content & Engagement
PDF
Reimagine Growth 2: Customer Acquisition
PDF
Retention Masterclass Podcast - Rory Sutherland, Vice Chairman at Ogilvy UK
PDF
Retention Masterclass Podcast - Thomas Hopkins, Head of Lifecycle Marketing a...
PDF
Reimagine Growth: Drive your engagement for customer advocacy
PDF
Reimagine Growth: Define your mobile acquisition strategy for today
PDF
New Reality, New Rules: Where Are We Headed Post-COVID-19?
PDF
New Rules of Marketing Engagement: Travel, Hospitality, and Events
PDF
New Rules of Marketing Engagement: Retail
PDF
New Reality, New Rules: Marketers & Consumers
PDF
What Email Marketers Need to Know in 2020
PDF
What's the Best KPI for Mobile App Growth?
PDF
Mobile App Promotion Strategies: Pre-Launch
Vietnam 2021: Build Effective Engagement Strategies for App Growth
Engagement, Retention and Monetization : Using advanced analytics for new mon...
Reimagine Growth 3 - Session 2 - Planning your ASO strategy from 0 to 100
Reimagine Growth 3: Customer Acquisition
Reimagine Growth 2: Retention & Growth
Reimagine Growth 2: Content and Engagement (NAM Version)
Reimagine Growth 2: Customer Acquisition (NAM Version)
Reimagine Growth 2: Content & Engagement
Reimagine Growth 2: Customer Acquisition
Retention Masterclass Podcast - Rory Sutherland, Vice Chairman at Ogilvy UK
Retention Masterclass Podcast - Thomas Hopkins, Head of Lifecycle Marketing a...
Reimagine Growth: Drive your engagement for customer advocacy
Reimagine Growth: Define your mobile acquisition strategy for today
New Reality, New Rules: Where Are We Headed Post-COVID-19?
New Rules of Marketing Engagement: Travel, Hospitality, and Events
New Rules of Marketing Engagement: Retail
New Reality, New Rules: Marketers & Consumers
What Email Marketers Need to Know in 2020
What's the Best KPI for Mobile App Growth?
Mobile App Promotion Strategies: Pre-Launch

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
cuic standard and advanced reporting.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
Empathic Computing: Creating Shared Understanding
Dropbox Q2 2025 Financial Results & Investor Presentation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
cuic standard and advanced reporting.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
sap open course for s4hana steps from ECC to s4
Agricultural_Statistics_at_a_Glance_2022_0.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine learning based COVID-19 study performance prediction
NewMind AI Weekly Chronicles - August'25-Week II
Programs and apps: productivity, graphics, security and other tools
Diabetes mellitus diagnosis method based random forest with bat algorithm
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Spectral efficient network and resource selection model in 5G networks
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx

Analytics and AI based Retention in e-commerce

  • 1. Analytics and AI based Retention in e-commerce Jay Magdani
  • 2. We help Optimize Customer Experiences at Scale Customer Lifecycle Management and Engagement Platform Cloud Based Digital Marketer AARRR 10B+ App and Web Analytics Engagement 26M/min CleverTap?
  • 3. Analyst Retention: How e-commerce plays the game ATTRACT CONVERTRETAIN MarketerGrowth Product
  • 4. Day in a life of an e-commerce business Strategic Landscape Retention: What the industry thinks App performance? How do I improve revenue? How do I get stickiness? Who is my User? How do I reduce Churn? What should I build next? Tactical Landscape Who should I reach out to? Why are my users exhibiting said behavior? Where should I target my Users? What should be my message? When is the best time to reach my users
  • 5. Martech Landscape Day in a life of a marketer Analytics Landscape Make smarter decisions Retention: What e-commerce demands from technology How does my App perform? How do I meet my KPIs? Who? Why? When? Where?What? Descriptive Analytics Prescriptive Analytics Predictive Analytics Diagnostic Analytics C L E V E R T A P
  • 6. Retention: What e-commerce demands from technology SEGMENTATION ANALYTICS ENGAGEMENT EXPERIENCES Behavioral | Interest | Demographic | Geographic | RFM | Intent Funnels | Cohorts | Flows Push | Email | WhatsApp Experiments | Triggers
  • 7. But before that… Collect data Profile • Information about the user • Geo, Demo, type, devices Event • Actions performed by user • App Launch, Charged Who I am? End User Profile Event Engage Analytics What I do? Brand
  • 8. AUTOMATED USER SEGMENTATION CHAMPION USER OPTIMIZATION • Analyze what the champion users do • Track and compare behavior with other users • Replicate the champion user behavior 1 2 How AI plays a role… SEGMENTATION ANALYTICS ENGAGEMENT EXPERIENCES CONTENT RECOMMENDATION • What message should I send? • Performance of campaigns based on message • Track, measure and learn from ROI 3 OPTIMIZE NATIVE UI EXPERIENCES • Blue button vs Red button • Run experiments • Easily publish multiple app versions 4
  • 9. History with Segmentation Manual Segmentation Tool Automated Segmentation AUTOMATED USER SEGMENTATION 1 Assisted Segmentation Via RFM
  • 10. Manual Segmentation Problems AUTOMATED USER SEGMENTATION 1 Intuition Based Best users? Users who did  App Launch and then…  Searched and then…  Added to Cart and then…  Charged Within 1 day
  • 11. RFM Problems AUTOMATED USER SEGMENTATION 1 Single Event Analysis Ignores Time Aspect Low Predictive Power Reactive Split all users who made a Purchase into good and bad segments
  • 12. Why Intent Based Segmentation AUTOMATED USER SEGMENTATION Proactive 1 Users who will uninstall in the next 30 days Users Most Likely Moderately Likely Least Likely
  • 14. Largest ticket booking app in LATAM ● Before ○ High uninstall rates ○ Reactive approach ○ Low conversions Large food app in Asia ● Before ○ High marketing spend Impact on Customers AUTOMATED USER SEGMENTATION 1 IBS Impact Conversions 25% Uninstalls 18% Spend 21% ● After ● After ○ Optimized budget by selective, smart and intent based engagement strategy
  • 15. AUTOMATED USER SEGMENTATION • Real-time User Segmentation • Customer Insights powered by ML • Predictive modeling for better ROI CHAMPION USER OPTIMIZATION 1 2 SEGMENTATION ANALYTICS ENGAGEMENT EXPERIENCES CONTENT RECOMMENDATION • What message should I send? • Performance of campaigns based on message • Track, measure and learn from ROI 3 OPTIMIZE NATIVE UI EXPERIENCES • Blue button vs Red button • Run experiments • Easily publish multiple app versions 4
  • 16. Compare Conversion Funnels CHAMPION USER OPTIMIZATION 2 App Launched Product Viewed Added to Cart Charged App Launched Product Viewed Added to Cart Charged 1M 100K 500K 100K 25K 25K 10K 1K Champion Users New Users
  • 17. CLTV CHAMPION USER OPTIMIZATION 2 Customer Acquisition CostTotal Revenue generated Duration before churn E-commerce Golden Ratio -> 3:1
  • 18. AUTOMATED USER SEGMENTATION • Real-time User Segmentation • Customer Insights powered by ML • Predictive modeling for better ROI CHAMPION USER OPTIMIZATION 1 SEGMENTATION ANALYTICS ENGAGEMENT EXPERIENCES CONTENT RECOMMENDATION OPTIMIZE NATIVE UI EXPERIENCES • Blue button vs Red button • Run experiments • Easily publish multiple app versions 4 3 2 • Analyze what the champion users do • Track and compare behavior with other users • Replicate the champion user behavior
  • 19. ● Poor user experience ● High churn rates ● Lost business opportunity ● Low LTV/CLV CONTENT RECOMMENDATION 3 ● Category Based ● Same recommendations provided multiple times. REPEAT RECOMMENDATIONS ● Using basic analytics like best items, etc. ● Best guess intuition MANUAL DISCOVERY Issues with Manual Content Creation
  • 20. CONTENT RECOMMENDATION 3 Why Content Recommendation Engine Right Content Vestibulum congue Vestibulum congue Vestibulum congue Vestibulum congue Relevance SerendipityDiversity Right User
  • 21. CONTENT RECOMMENDATION 3 How recommendation engine works Upload Catalog Run Recommendation Model Engage Luke: Views electronics goods John: Searches sports goods Product Name Category Price iPhone 11 Electronics $ 700 Tennis shoes Sports $ 400
  • 22. ● Using Recommendations in Campaigns and Journeys ● Comparing performance of recommendations w.r.t Control Group ● CTR and Conversion performance Boost generated CONTENT RECOMMENDATION 3 Impact on Customers 40% ARPU
  • 23. AUTOMATED USER SEGMENTATION • Real-time User Segmentation • Customer Insights powered by ML • Predictive modeling for better ROI CHAMPION USER OPTIMIZATION 1 SEGMENTATION ANALYTICS ENGAGEMENT EXPERIENCES CONTENT RECOMMENDATION OPTIMIZE NATIVE UI EXPERIENCES 2 • Analyze what the champion users do • Track and compare behavior with other users • Replicate the champion user behavior 4 3 • What message should I send? • Performance of campaigns based on message • Track, measure and learn from ROI
  • 25. OPTIMIZE NATIVE UI EXPERIENCES 4 What is it? Purchase Now!!! Offer available 30% off Last day today Buy 30% discount
  • 26. OPTIMIZE NATIVE UI EXPERIENCES 4 Why is it important? money time experience optimization
  • 27. Prescriptive Recommenders Predictive IBS Diagnostic Segment Comparison, Anomaly Detection and Reasons, etc. Descriptive Events, Trends, RFM, Flows, etc. Data Science Pillars Summary: Driving Retention backed by Analytics and DS