我有电子商务网站,我想跟踪有多少用户选择了访客结帐以及注册用户购买的数量。
有可能吗? https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce
https://developers.google.com/analytics/devguides/collection/analyticsjs/events
那我怎么能这样做?提前谢谢。
答案 0 :(得分:0)
The Google Analytics basically works as two ways.
1. Page Tracking
2. Event Tracking
Before you track the users first find out what kind of users (i.e Free User or Registered User).
Hope you have the Google Analytics key. Please include the two functions as below.
//Track the events
trackGAEvent(eventName, eventAction, eventCategory)
{
//Do your stuff here
}
//Track the page views
trackGAPageEvent(eventName, eventAction, eventCategory)
{
//Do your stuff here
}
Based on the above functions you'll track.
您可以相应地调用这些函数。