Created
December 3, 2014 12:08
-
-
Save naoyeye/807843c98a24a401d901 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 微博分享 | |
| trackEvent({category: 'movie2014', action: 'share', label: 'weibo'}); | |
| // 微信好友分享 | |
| trackEvent({category: 'movie2014', action: 'share', label: 'wechat-friend'}); | |
| // 微信朋友圈分享 | |
| trackEvent({category: 'movie2014', action: 'share', label: 'wechat-timeline'}); | |
| // 每个电影点击喜欢的 的数据 | |
| trackEvent({category: 'movie2014', action: 'like', label: '这里是所点击的视频的 id'}); | |
| // 每个电影点击播放的 的数据 | |
| trackEvent({category: 'movie2014', action: 'play', label: '这里是所点击的视频的 id'}); | |
| // 点击 我喜欢的电影页 的数据 | |
| // 如果只想知道点击多少次的话,这里的 label 可以为空字符串 | |
| trackEvent({category: 'movie2014', action: 'list', label: ''}); | |
| // 通过 我喜欢的电影页 里的台词去详情页的数据 | |
| trackEvent({category: 'movie2014', action: 'lines', label: '这里是所点击的视频的 id'}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment