Google analytics tracking code
Install tracking code:
- Use new asynchronous code
- Wait 24h for setting to take effect
- Recommended to put script at bottom of HTML HEAD
Specialized tracking:
- Download links
- _trackPageView() -virtual page view
- _trackEvent()
- Outbounds links
- _trackEvent() + depay outbound link by JS
- Redirections
- Flash
- virtual page view - possibility to get visits inflating
- track event
Tracking across domains:
- Add links
- Multiple tracking code on one page is not supported
- Search engine robot normally not active JS, so their visits are not tracked
Conversion triggered when goals reached:
- Goals
- URL destination goal + funnels(steps to follow in goals)
- time on site
- page per visit
- Combine goals and funnels
- URL destination goal:
- Fixed URL
- E-commerce - leave goal value blank, since they are tracked by code
- URL parameter - head match or regEx
- Same URL for different steps - use track code to create virtual page view
评论
发表评论