21

Click here to load reader

我在 womany 的 GA 實戰

Embed Size (px)

Citation preview

Page 1: 我在 womany 的 GA 實戰

我在 womany 的 GA 實戰 11個好不容易摸索出來的眉眉⾓角⾓角

GDG Taipei #19

Page 2: 我在 womany 的 GA 實戰

Irvin Chen Mozilla Rep. / womany F2E

Page 3: 我在 womany 的 GA 實戰
Page 4: 我在 womany 的 GA 實戰
Page 5: 我在 womany 的 GA 實戰
Page 6: 我在 womany 的 GA 實戰

youtu.be/thOTixV7gVM

Page 7: 我在 womany 的 GA 實戰

Event Tracking

youtu.be/OuqWldoqaH4

Page 8: 我在 womany 的 GA 實戰

Event Tracking

if (window.ga) ga('send', 'event', 'website-tracking', 'SlideAds', me.campaignID + '_show', {'nonInteraction': 1});

if (window.ga) ga('send', 'event', 'website-tracking', 'SlideAds', me.campaignID + '_click', {'nonInteraction': 1});

https://developers.google.com/analytics/devguides/collection/analyticsjs/events

ga('send', 'event', 'category', 'action', 'label', value);

Page 9: 我在 womany 的 GA 實戰

Event Tracking

These limits apply to the Web Property / Property / Tracking ID

10 million hits per month per property

This applies to analytics.js, Android iOS SDK, and the Measurement Protocol

200,000 hits per user per day 500 hits per session not including ecommerce (item and transaction hit types)

https://developers.google.com/analytics/devguides/collection/ios/limits-quotas

Page 10: 我在 womany 的 GA 實戰

Dashboards

Page 11: 我在 womany 的 GA 實戰

In-Page Analytics + Enhanced Link Attribution

Page 12: 我在 womany 的 GA 實戰

https://support.google.com/analytics/answer/2558867In-Page Analytics + Enhanced Link Attribution

ga('create', 'UA-XXXX-X'); ga('require', 'linkid', 'linkid.js'); ga('send', 'pageview');

Property Settings

Page 13: 我在 womany 的 GA 實戰

View & Filter

Page 14: 我在 womany 的 GA 實戰

View & Filter

https://support.google.com/analytics/answer/1034342/#Next

Page 15: 我在 womany 的 GA 實戰

UserID / Custom Dimension

https://support.google.com/analytics/answer/1034342/#Next

if (window.user_profile && user_profile.login) ga('set', '&uid', user_profile.id);

https://support.google.com/analytics/answer/1033861

if (window.user_profile && user_profile.login) ga('set', 'dimension1', ‘member’);

Page 16: 我在 womany 的 GA 實戰

UserID / Custom Dimension

Page 17: 我在 womany 的 GA 實戰

Content Grouping

https://support.google.com/analytics/answer/2853423

Page 18: 我在 womany 的 GA 實戰

(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)}, …

ga('create', 'UA-19900484-3', ‘auto'); ga('send', 'pageview');

if (window.ga) ga('send', 'pageview', { 'page': document.location.pathname + document.location.search, 'title': document.title });

https://developers.google.com/analytics/devguides/collection/analyticsjs/pages

Page View

Page 19: 我在 womany 的 GA 實戰

Custom Alerts

https://support.google.com/analytics/answer/1033021

View > Custom Alerts

Page 20: 我在 womany 的 GA 實戰

Custom Alerts