SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
Real Value in Real Time
                 MongoDB-based Analytics at TeachStreet




Daryn Nakhuda
Chief Technology Officer
TeachStreet.com



                                                          1
TeachStreet

                A marketplace for learning
                We help people find classes and teachers
                We help teachers get more students




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        2
                                                          2
TeachStreet

                Based in Seattle
                7 Full-time employees - 50% dev/engineering
                Launched in April 2008




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        3
                                                              3
Tech Stack
                Handful of physical servers
                Ruby on Rails
                Linux, Nginx, Mongrel, PostgreSQL, Sphinx
                MongoDB (MongoMapper, because we <3 jnunemaker)



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com             4
                                                                  4
Product

 Profile Page
 Class Listing and Session Pages
 Phone tracking, payment processing, marketing tools, etc.




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com                    5
                                                             5
The Problem

    People love the idea, but they have no idea if
    it is really working for them.


“I’ve never once been contacted by a student who found me on TeachStreet”



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        6
                                                                            6
June 2009
                             The site is working for you, really!




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com                7
                                                                    7
Teacher Dashboard (v1)


     Quick Snapshot of Activity
     Built on Google Analytics API




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    8
                                           8
Teacher Dashboard (v1)
                                  PROS


           •    Provided insight into a former void
           •    Easy to understand
           •    Quickly implemented, no IT impact




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com       9
                                                      9
Teacher Dashboard (v1)
                                  CONS
           •    Cumulative data only
           •    No date filters / trending information
           •    Not real-time
           •    URL-based, fragile
           •    “Operationally-Annoying”



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com       10
                                                        10
May 2010
                                 That’ll be $3 please




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com             11
                                                        11
Metrics Dashboard v2
           •    Track conversions as well as traffic
           •    Real-time
           •    Date-filters / Trends
           •    Keep it simple and easy to use
           •    Flexible

Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com         12
                                                      12
Page Events
                                 ‘page_events’ collection



           •    Views to profile, listing & session pages
           •    Can also be used for homepage, search,
                featured placements, etc.




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com              13
                                                            13
Lead Events
                                 ‘lead_events’ collection

           •    Messages
           •    Phone Calls
           •    URL Clicks
           •    Enrollments
           •    More Information / Affiliates

                  These are the things people will ‘do the math’ with

Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com              14
                                                                        14
Tracking Models


                EventAttributes




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    15
                                             15
Tracking Models

               PageEvent




               PageViewEvent


Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    16
                                             16
Sample Page Event
              { "_id" : ObjectId("4bbbed8c4e40d3593b000001"),
              "updated_at" : "Tue Apr 06 2010 19:27:24 GMT-0700
              (PDT)", "current_user_id" : null,
              "parent_teacher_id" : null, "listing_session_id" :
              null, "sub_page" : "main", "page_type" : "User",
              "session_id" : "747469eb432e27fc4a678a8805563dbf",
              "url" : "http://www.teachstreet.com/teacher/diablo-k9-
              academy", "subdomain" : null, "listing_id" : null,
              "teacher_id" : 18467, "_type" : "PageViewEvent",
              "count" : 1, "created_at" : "Tue Apr 06 2010 19:27:24
              GMT-0700 (PDT)" }




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com         17
                                                                       17
Tracking Models

               LeadEvent



               CallEvent



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    18
                                             18
Sample Lead Event
              { "_id" : ObjectId("4bbbf00a3352585b29000003"),
              "updated_at" : "Tue Apr 06 2010 19:38:02 GMT-0700
              (PDT)", "parent_teacher_id" : 116845,
              "current_user_id" : null, "listing_session_id" :
              194028, "session_id" :
              "4a2146ae80971b47ec6acd86827506f9", "url" : "http://
              www.teachstreet.com/redirect?
              source_id=cl-87e9otqv6o&url=http%3A%2F
              %2Fwww.wyzant.com%2Ftutorprofile3480833",
              "subdomain" : null, "listing_id" : 153395,
              "teacher_id" : 119644, "_type" : "ClickThroughEvent",
              "count" : 1, "source_type" : "ListingSession",
              "created_at" : "Tue Apr 06 2010 19:38:02 GMT-0700
              (PDT)" }



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com         19
                                                                      19
How we track
      JavaScript - for page actions, to filter robots




     Or, just directly to the logger



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        20
                                                       20
Reporting
                Dashboard Presenters:
                •     Used from web as well as weekly activity emails
                •     Aggregate functions
                •     Map/Reduce queries




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com              21
                                                                        21
Some Presenter Code




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   22
                                      22
Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   23
                                      23
Metrics Dashboard (v2)




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   24
                                      24
Weekly Summary Email




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   25
                                      25
Q &A


Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    26
                                        26
Thanks!
                If you like what you’ve seen, do me a favor:

              Find great local and online
   <a href=”http://www.teachstreet.com/”>Classes</a>
                     on TeachStreet


                             Email: daryn@teachstreet.com
                                     Twitter: @daryn

Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com            27
                                                               27

Contenu connexe

En vedette

Video Upload Slide Share
Video Upload Slide ShareVideo Upload Slide Share
Video Upload Slide Share
TeachStreet
 
Sponges&Cnidarians 08
Sponges&Cnidarians 08Sponges&Cnidarians 08
Sponges&Cnidarians 08
Erin Nash
 
Final Gran Fury
Final   Gran FuryFinal   Gran Fury
Final Gran Fury
pmbaird
 
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Ana Cascao
 
Improving the correlation hunting in a large quantity of SOM component planes
Improving the correlation hunting in a largequantity of SOM component planesImproving the correlation hunting in a largequantity of SOM component planes
Improving the correlation hunting in a large quantity of SOM component planes
askroll
 
Open Only If You Have Time For God
Open Only If You Have Time For GodOpen Only If You Have Time For God
Open Only If You Have Time For God
sutrisno2629
 
Ulmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunicationUlmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunication
Owen Kulemeka
 

En vedette (20)

Frenchgradsession2008newb
Frenchgradsession2008newbFrenchgradsession2008newb
Frenchgradsession2008newb
 
Video Upload Slide Share
Video Upload Slide ShareVideo Upload Slide Share
Video Upload Slide Share
 
10 Food
10 Food10 Food
10 Food
 
Sponges&Cnidarians 08
Sponges&Cnidarians 08Sponges&Cnidarians 08
Sponges&Cnidarians 08
 
Arte Rococó
Arte RococóArte Rococó
Arte Rococó
 
Final Gran Fury
Final   Gran FuryFinal   Gran Fury
Final Gran Fury
 
URL Best Practices | Rand Fishkin | SMX East NYC 2009
URL Best Practices | Rand Fishkin | SMX East NYC 2009URL Best Practices | Rand Fishkin | SMX East NYC 2009
URL Best Practices | Rand Fishkin | SMX East NYC 2009
 
Christmas
ChristmasChristmas
Christmas
 
Antphilo
AntphiloAntphilo
Antphilo
 
Comiat del curs de Perl
Comiat del curs de PerlComiat del curs de Perl
Comiat del curs de Perl
 
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
 
10 Roses
10 Roses10 Roses
10 Roses
 
Life in Korea
Life in KoreaLife in Korea
Life in Korea
 
Improving the correlation hunting in a large quantity of SOM component planes
Improving the correlation hunting in a largequantity of SOM component planesImproving the correlation hunting in a largequantity of SOM component planes
Improving the correlation hunting in a large quantity of SOM component planes
 
2. Initiatie
2. Initiatie2. Initiatie
2. Initiatie
 
Local and Global Gating of Synaptic Plasticity
Local and Global Gating of Synaptic PlasticityLocal and Global Gating of Synaptic Plasticity
Local and Global Gating of Synaptic Plasticity
 
Becoming Accidental Entrepreneurs
Becoming Accidental Entrepreneurs Becoming Accidental Entrepreneurs
Becoming Accidental Entrepreneurs
 
Open Only If You Have Time For God
Open Only If You Have Time For GodOpen Only If You Have Time For God
Open Only If You Have Time For God
 
Ulmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunicationUlmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunication
 
The Four Taus Band 1964
The Four Taus Band 1964The Four Taus Band 1964
The Four Taus Band 1964
 

Similaire à Real Value in Real Time: MongoDB-based Analytics at TeachStreet

Where 2012 prototyping workshop
Where 2012 prototyping workshopWhere 2012 prototyping workshop
Where 2012 prototyping workshop
Matt Biddulph
 
Imagine you are an interviewee who is using a websitehttpsugr.docx
Imagine you are an interviewee who is  using a websitehttpsugr.docxImagine you are an interviewee who is  using a websitehttpsugr.docx
Imagine you are an interviewee who is using a websitehttpsugr.docx
sheronlewthwaite
 

Similaire à Real Value in Real Time: MongoDB-based Analytics at TeachStreet (20)

SATToSE_2023_Presentation_slideshare.pdf
SATToSE_2023_Presentation_slideshare.pdfSATToSE_2023_Presentation_slideshare.pdf
SATToSE_2023_Presentation_slideshare.pdf
 
Human Computation for Big Data
Human Computation for Big DataHuman Computation for Big Data
Human Computation for Big Data
 
Not Your Mom's SEO
Not Your Mom's SEONot Your Mom's SEO
Not Your Mom's SEO
 
Synthetic data in finance
Synthetic data in financeSynthetic data in finance
Synthetic data in finance
 
Building data science teams
Building data science teamsBuilding data science teams
Building data science teams
 
F+ presentation public en
F+ presentation public enF+ presentation public en
F+ presentation public en
 
The world is increasingly immersive
The world is increasingly immersiveThe world is increasingly immersive
The world is increasingly immersive
 
Institutional Repository Single Sources of Truth
Institutional Repository Single Sources of TruthInstitutional Repository Single Sources of Truth
Institutional Repository Single Sources of Truth
 
Synthetic data in finance
Synthetic data in financeSynthetic data in finance
Synthetic data in finance
 
Intro to Python for Data Science
Intro to Python for Data ScienceIntro to Python for Data Science
Intro to Python for Data Science
 
Recognising bot activity in collaborative software development
Recognising bot activity in collaborative software developmentRecognising bot activity in collaborative software development
Recognising bot activity in collaborative software development
 
Web Analytics: A new Statistical Domain
Web Analytics: A new Statistical DomainWeb Analytics: A new Statistical Domain
Web Analytics: A new Statistical Domain
 
Metadata: Queen to King Content?
Metadata: Queen to King Content?Metadata: Queen to King Content?
Metadata: Queen to King Content?
 
The Future of Social Analytics - Defrag 2010
The Future of Social Analytics - Defrag 2010The Future of Social Analytics - Defrag 2010
The Future of Social Analytics - Defrag 2010
 
Managed Metadata Austin SPS
Managed Metadata Austin SPSManaged Metadata Austin SPS
Managed Metadata Austin SPS
 
Infoactive Hacks/Hackers presentation
Infoactive Hacks/Hackers presentationInfoactive Hacks/Hackers presentation
Infoactive Hacks/Hackers presentation
 
Workshop: Lessons from Knowledge Management - Connecting People with Informat...
Workshop: Lessons from Knowledge Management - Connecting People with Informat...Workshop: Lessons from Knowledge Management - Connecting People with Informat...
Workshop: Lessons from Knowledge Management - Connecting People with Informat...
 
Virtual Worlds Overview
Virtual Worlds Overview Virtual Worlds Overview
Virtual Worlds Overview
 
Where 2012 prototyping workshop
Where 2012 prototyping workshopWhere 2012 prototyping workshop
Where 2012 prototyping workshop
 
Imagine you are an interviewee who is using a websitehttpsugr.docx
Imagine you are an interviewee who is  using a websitehttpsugr.docxImagine you are an interviewee who is  using a websitehttpsugr.docx
Imagine you are an interviewee who is using a websitehttpsugr.docx
 

Plus de TeachStreet

Create A Stellar Listing
Create A Stellar ListingCreate A Stellar Listing
Create A Stellar Listing
TeachStreet
 
Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)
TeachStreet
 
TeachStreet Happy Hour
TeachStreet Happy HourTeachStreet Happy Hour
TeachStreet Happy Hour
TeachStreet
 

Plus de TeachStreet (11)

December 2009 TeachStreet Teacher Webinar & Meet-up
December 2009 TeachStreet Teacher Webinar & Meet-upDecember 2009 TeachStreet Teacher Webinar & Meet-up
December 2009 TeachStreet Teacher Webinar & Meet-up
 
Invoicing
InvoicingInvoicing
Invoicing
 
Create A Stellar Listing
Create A Stellar ListingCreate A Stellar Listing
Create A Stellar Listing
 
Listings Update
Listings UpdateListings Update
Listings Update
 
Call Tracker Update
Call Tracker UpdateCall Tracker Update
Call Tracker Update
 
Introducing the Teacher Dashbaord
Introducing the Teacher DashbaordIntroducing the Teacher Dashbaord
Introducing the Teacher Dashbaord
 
Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)
 
Getting Started On Twitter
Getting Started On TwitterGetting Started On Twitter
Getting Started On Twitter
 
Manage Photos on TeachStreet
Manage Photos on TeachStreetManage Photos on TeachStreet
Manage Photos on TeachStreet
 
Reviews 101
Reviews 101Reviews 101
Reviews 101
 
TeachStreet Happy Hour
TeachStreet Happy HourTeachStreet Happy Hour
TeachStreet Happy Hour
 

Dernier

Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 

Dernier (20)

Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 

Real Value in Real Time: MongoDB-based Analytics at TeachStreet

  • 1. Real Value in Real Time MongoDB-based Analytics at TeachStreet Daryn Nakhuda Chief Technology Officer TeachStreet.com 1
  • 2. TeachStreet A marketplace for learning We help people find classes and teachers We help teachers get more students Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 2 2
  • 3. TeachStreet Based in Seattle 7 Full-time employees - 50% dev/engineering Launched in April 2008 Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 3 3
  • 4. Tech Stack Handful of physical servers Ruby on Rails Linux, Nginx, Mongrel, PostgreSQL, Sphinx MongoDB (MongoMapper, because we <3 jnunemaker) Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 4 4
  • 5. Product Profile Page Class Listing and Session Pages Phone tracking, payment processing, marketing tools, etc. Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 5 5
  • 6. The Problem People love the idea, but they have no idea if it is really working for them. “I’ve never once been contacted by a student who found me on TeachStreet” Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 6 6
  • 7. June 2009 The site is working for you, really! Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 7 7
  • 8. Teacher Dashboard (v1) Quick Snapshot of Activity Built on Google Analytics API Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 8 8
  • 9. Teacher Dashboard (v1) PROS • Provided insight into a former void • Easy to understand • Quickly implemented, no IT impact Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 9 9
  • 10. Teacher Dashboard (v1) CONS • Cumulative data only • No date filters / trending information • Not real-time • URL-based, fragile • “Operationally-Annoying” Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 10 10
  • 11. May 2010 That’ll be $3 please Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 11 11
  • 12. Metrics Dashboard v2 • Track conversions as well as traffic • Real-time • Date-filters / Trends • Keep it simple and easy to use • Flexible Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 12 12
  • 13. Page Events ‘page_events’ collection • Views to profile, listing & session pages • Can also be used for homepage, search, featured placements, etc. Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 13 13
  • 14. Lead Events ‘lead_events’ collection • Messages • Phone Calls • URL Clicks • Enrollments • More Information / Affiliates These are the things people will ‘do the math’ with Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 14 14
  • 15. Tracking Models EventAttributes Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 15 15
  • 16. Tracking Models PageEvent PageViewEvent Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 16 16
  • 17. Sample Page Event { "_id" : ObjectId("4bbbed8c4e40d3593b000001"), "updated_at" : "Tue Apr 06 2010 19:27:24 GMT-0700 (PDT)", "current_user_id" : null, "parent_teacher_id" : null, "listing_session_id" : null, "sub_page" : "main", "page_type" : "User", "session_id" : "747469eb432e27fc4a678a8805563dbf", "url" : "http://www.teachstreet.com/teacher/diablo-k9- academy", "subdomain" : null, "listing_id" : null, "teacher_id" : 18467, "_type" : "PageViewEvent", "count" : 1, "created_at" : "Tue Apr 06 2010 19:27:24 GMT-0700 (PDT)" } Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 17 17
  • 18. Tracking Models LeadEvent CallEvent Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 18 18
  • 19. Sample Lead Event { "_id" : ObjectId("4bbbf00a3352585b29000003"), "updated_at" : "Tue Apr 06 2010 19:38:02 GMT-0700 (PDT)", "parent_teacher_id" : 116845, "current_user_id" : null, "listing_session_id" : 194028, "session_id" : "4a2146ae80971b47ec6acd86827506f9", "url" : "http:// www.teachstreet.com/redirect? source_id=cl-87e9otqv6o&url=http%3A%2F %2Fwww.wyzant.com%2Ftutorprofile3480833", "subdomain" : null, "listing_id" : 153395, "teacher_id" : 119644, "_type" : "ClickThroughEvent", "count" : 1, "source_type" : "ListingSession", "created_at" : "Tue Apr 06 2010 19:38:02 GMT-0700 (PDT)" } Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 19 19
  • 20. How we track JavaScript - for page actions, to filter robots Or, just directly to the logger Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 20 20
  • 21. Reporting Dashboard Presenters: • Used from web as well as weekly activity emails • Aggregate functions • Map/Reduce queries Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 21 21
  • 22. Some Presenter Code Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 22 22
  • 23. Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 23 23
  • 24. Metrics Dashboard (v2) Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 24 24
  • 25. Weekly Summary Email Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 25 25
  • 26. Q &A Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 26 26
  • 27. Thanks! If you like what you’ve seen, do me a favor: Find great local and online <a href=”http://www.teachstreet.com/”>Classes</a> on TeachStreet Email: daryn@teachstreet.com Twitter: @daryn Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 27 27