revolunet / angular-google-analytics

Google Analytics tracking for your AngularJS apps
MIT License
652 stars 179 forks source link

Unable to view "trackTimings" events on Google Analytics Dashboard #222

Closed suribabu39 closed 6 years ago

suribabu39 commented 6 years ago

Hi, I am new to google analytics. I want to track timings of certain actions, I am able to send the "trackTimings" requests (checked in developer tools network tab). But I am not able to see them on analytics dashboard, I am looking in the Events section. I tried sending events(using "trackEvent") and able to see them on the dashboard. I am not applying any filters and have not added any custom dimension or metrics(maybe have any effect on the issue). I have searched the whole dashboard but couldn't find those "trackTimings" events. Do I need to add those event categories/labels anywhere in the dashboard settings, or Am I looking at the wrong place?

This is how I am triggering the request Analytics.trackTimings('Time to Checkout', 'User Timings', '70', 'My Timings');

This the payload of the request (taken from network tab) v=1&_v=j66&a=XXXXXXX&t=timing&_s=3&dl=http%3A%2F%2Flocalhost%2Fapp%2F&ul=en-gb&de=UTF-8&dt=XXXXXX&sd=24-bit&sr=1440x900&vp=1440x257&je=0&utc=Time%20to%20Checkout&utv=User%20Timings&utl=My%20Timings&utt=70&_utma=XXXXXXXXX.XXXXXX.XXXXXXX.XXXXXXX&_utmz=XXXXXXXXXXX.XXXXXXXX.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)&_utmht=1519907163240&_u=AACCAEAB~&jid=&gjid=&cid=XXXXXXXX.XXXXXXX&tid=UA-XXXXXXXXX-1&_gid=XXXXXXXX.XXXXXXXX&z=XXXXXXXX

From this I am able to conclude that I am request is sent to GA. But where can I see these timings on the dashboard?

Please let me know If I need to provide any additional info.

Thank You,

suribabu39 commented 6 years ago

I have found it, please ignore this. Go to Analytics Dashboard and then Behaviour => Site Speed => User Timings

Note: Please mention somewhere that "trackTimings" events will take time to reflect on the dashboard.