Analytics
5K members online now
5K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

User Timings data isn't showing up

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

I'm trying to add User Timings data to an existing site that already has Google Analytics running. It seems to be correctly submitted, but it doesn't show up in the Google Analytics dashboard. I don't know how to debug it further... I'm stuck!

 

See the following HTML document. In this example, I'm attempting to submit an 'event' and a 'timing'.

The event works great! But the timing doesn't appear in Google Analytics.

 

<html>
<head>
<script>
    function universalAnalyticsPush() {
        if (!window.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)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
            })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

            window.ga('create', 'UA-xxxxxx-xx', 'auto');
        }

        window.ga.apply(window.ga, arguments);
    }

    universalAnalyticsPush('send', {
        'hitType': 'event',
        'eventCategory': 'test-corey-blobby-event',
        'eventAction': 'test-corey-marks',
        'eventLabel': 'geronimo',
        'eventValue': 33,
    });

    universalAnalyticsPush('send', {
	'hitType': 'timing',
	'timingCategory': 'test-corey-submission',
	'timingVar': 'test-corey-variation',
	'timingValue': 172,
    });
</script>
</head>
<body>
<p>Something.</p>
</body>
</html>

 

Looking at Google Tag Assistant, both the event and timing seem to be fine:

 

http://i.imgur.com/k55k7wg.png

http://i.imgur.com/Jx1cM9Q.png

 

Now, if we look in Google Analytics, the Event appears, and looks great:

 

http://i.imgur.com/WYqloJr.png

 

But there's no User Timing data (or I'm not looking in the right place for it):

 

http://i.imgur.com/YJvjWUW.png

 

There doesn't seem to be any errors in my javascript. The only warning I'm getting is from using Google Analytics Debugger:

 

http://i.imgur.com/iOr3Hua.png

 

and Chrome's network view indicates that the tracking calls are successfully happening:

 

http://i.imgur.com/SzYCygU.png

 

so.... why is Google Analytics ignoring my timing data??

1 Expert replyverified_user

Re: User Timings data isn't showing up

Top Contributor
# 2
Top Contributor
Hi Corey,

one of the reasons may be that the hit will not be processed as stated in the documentation here - https://developers.google.com/analytics/devguides/collection/analyticsjs/user-timings#sampling_consi...

There is also a question of when the data will be available in the reports (not sure how long have you waited for the data to show up).

Kind regards,
Zorin
Web analyst @ escapestudio.net