Installing Google Analytics - Progressive Web App Training
Skills:
Data Literacy70%
Key Takeaways
Installs Google Analytics for website analytics and user behavior measurement
Full Transcript
discoverability helps get customers to your site but how can you measure their behaviors once they get there hi I'm Sarah Clark and I'm here to introduce you to site analytics we want to know what users are doing on our site which pages are popular whether users follow the paths we expect and if anything goes wrong analytics is all about collecting measurements of user activity on the site Google Analytics is a service that collects processes and reports data about an applications use patterns and performance adding Google Analytics to a web application enables the collection of data like visitor traffic user agent the user's location etc this data is sent to Google Analytics servers where it is processed the reports are available in the Google Analytics web interface and throw reporting API Google Analytics is free and highly customizable integrating Google Analytics is simple first you must create a Google Analytics account each account has properties these aren't JavaScript properties but refer to individual applications or websites Google Analytics then generates a tracking snippet for each property this is a piece of JavaScript that you pasted into your page it sends data to Google Analytics back-end you can also use the analytics library to create custom analytics such as tracking specific user actions or tracking push notifications I want to say a bit more about properties an account has properties that represent individual collections of data these properties have property IDs also called tracking IDs that identify them to Google Analytics if an account represents a company one property in that account might represent the company's website while another property might represent the company's mobile app if you only have one app the simplest scenario is to create a single Google Analytics account and add a single property to that account the analytics server will then generate a custom bit of JavaScript matching your account and property this is the tracking snippets this is the key part of the tracking snippet the entire snippet needs to be pasted into every page you want to track at a high level when this script runs it creates an a syncs Tagg that downloads analytics is the analytics library defines the GA function called the command q creates a tracker that gathers user data and sends this data as a pageview hit via HTTP request to Google Analytics this data is analyzed and stored in your analytics account in addition to the data gathered by tracker creation the page view event allows Google Analytics to infer what pages the user is visiting how long they are visiting them and in what order for simpler applications this is the only coding required note that you can replace analytics j/s with analytics underscore debug KS for console debugging using this version will log detailed messages to the console for each hit sent it also logs warnings and errors for your tracking code the data is sent to Google Analytics back-end where it is processed into reports these reports are available through the Google Analytics dashboard here is the audience overview interface here you can see general information such as page view records bounce rate ratio of new and returning visitors and other statistics it's also possible to view analytics information in real time this interface allows you to see hits as they occur on your site I encourage you to take some time and explore there's an extensive set of features in the dashboard you should explore the standard reports and look at creating your own knowing how to use analytics effectively is a skill in itself fortunately the Google Analytics Academy offers a free set of online courses I encourage you to install analytics on some of your sites if you haven't already check out the free analytics Academy courses as well then once you're comfortable with analytics come back and I'll show you how to integrate analytics into a PWA thanks for watching and I'll see you soon [Music]
Original Description
Discoverability helps gets customers to your site, but how can you measure their behavior once they get there?
In this video you'll learn the basics of website analytics.
Full playlist:
https://www.youtube.com/playlist?list=PLNYkxOF6rcIB2xHBZ7opgc2Mv009X87Hh
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Chrome for Developers · Chrome for Developers · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Polymer Performance Patterns (The Polymer Summit 2015)
Chrome for Developers
Polymer Power Tools (The Polymer Summit 2015)
Chrome for Developers
Chrome Dev Summit 2014 – Chrome Case Studies
Chrome for Developers
Web Directions Code 2015 round up
Chrome for Developers
Maintainable Code - HTTP203
Chrome for Developers
iron-ajax… wat?! -- Polycasts #26
Chrome for Developers
The Guardian - Supercharged
Chrome for Developers
ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
Chrome for Developers
#AskPolymer: Rob answers all the questions ever -- Polycasts #27
Chrome for Developers
The Future of JavaScript - HTTP203
Chrome for Developers
Data Binding 101 -- Polycasts #28
Chrome for Developers
The Guardian part 2 - Supercharged
Chrome for Developers
The Future of Web Audio: with Chris Wilson and Chris Lowis
Chrome for Developers
Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome for Developers
Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Chrome for Developers
#AskPolymer: How do you make the show? -- Polycasts #29
Chrome for Developers
Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Chrome for Developers
Binding to Objects -- Polycasts #30
Chrome for Developers
Player FM - Supercharged
Chrome for Developers
Where’s the Designer? #AskPolymer -- Polycasts #31
Chrome for Developers
Jake Beats Wikipedia - HTTP203
Chrome for Developers
Supercharged Observers! -- Polycasts #32
Chrome for Developers
Jai's Web blog - Supercharged
Chrome for Developers
Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Chrome for Developers
What about internationalization? #AskPolymer -- Polycasts #33
Chrome for Developers
Developing for Billions (Chrome Dev Summit 2015)
Chrome for Developers
Google+ Performance Improvement Comparison
Chrome for Developers
Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Chrome for Developers
Progressive Web Apps (Chrome Dev Summit 2015)
Chrome for Developers
Instant Loading with Service Workers (Chrome Dev Summit 2015)
Chrome for Developers
Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Chrome for Developers
Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Chrome for Developers
Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Chrome for Developers
Polymer - State of the Union (Chrome Dev Summit 2015)
Chrome for Developers
Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Chrome for Developers
Introduction to RAIL (Chrome Dev Summit 2015)
Chrome for Developers
DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
Chrome for Developers
RAIL in the real world (Chrome Dev Summit 2015)
Chrome for Developers
#ChromeDevSummit talks are up - W00T! -- Polycast #34
Chrome for Developers
V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
Chrome for Developers
Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Chrome for Developers
Owning your performance: RAIL (Chrome Dev Summit 2015)
Chrome for Developers
HTTP/2 101 (Chrome Dev Summit 2015)
Chrome for Developers
Leadership Panel (Chrome Dev Summit 2015)
Chrome for Developers
Build Processes, Totally Tooling Tips (S2, Ep 5)
Chrome for Developers
Accessibility (Chrome Dev Summit 2015)
Chrome for Developers
Binding to Arrays -- Polycasts #35
Chrome for Developers
HTTP2 - HTTP203
Chrome for Developers
Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome for Developers
Call For Submissions - Supercharged
Chrome for Developers
Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Chrome for Developers
Testing AJAX with Web Component Tester -- Polycasts #37
Chrome for Developers
Slack: Extended Xmas Special - Supercharged
Chrome for Developers
Browser testing with Travis & Sauce Labs -- Polycasts #38
Chrome for Developers
Optimize for production with Vulcanize -- Polycasts #39
Chrome for Developers
Highlights from Chrome Dev Summit 2015
Chrome for Developers
Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome for Developers
Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Chrome for Developers
How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
Chrome for Developers
Colors – DevTools Tonight #0 (Pilot)
Chrome for Developers
More on: Data Literacy
View skill →Related Reads
📰
📰
📰
📰
Future-Proof Skills That Will Stay Relevant After AI
Dev.to AI
Artificial Intelligence: How AI Is Changing Our Daily Lives
Medium · Machine Learning
Why CBAM Is Making Carbon Intelligence the New Business Currency
Medium · AI
Chinese AI Models Went From 2% to 45% of Global Developer Traffic in 12 Months.
Medium · AI
🎓
Tutor Explanation
DeepCamp AI