kalnyc67 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Real Time \ Event - tracking with fields appName or appVersion #366

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Name of affected component: Web Tracking (analytics.js)

Issue summary:
Real time or Event tracking do not seems to work when fields appName or 
appVersion are present in the beacon. Web page tracking is not affected.

URL of the page exhibiting the issue: www.ellipro.fr

Steps to reproduce issue:
1. send a page or event tracking beacon with fields appName (&an ) or|and 
appVersion (&av)
2.
3.

Expected output:
Activity reported in real-time / event / and web pages reports

Actual results:
Activity only reported in web page reports. Real-time and event tracking do not 
report anything.

Notes:
Removing the fields appName and appVersion cause the event to be visible in 
realtime & event reports.

Content of request (from prod) with appName & appVersion fields

adSenseId        (&a)   1629616792 
apiVersion       (&v)   1 
appName          (&an)  Ellipro 
appVersion       (&av)  2.24 
clientId         (&cid) 1503959675.1383484990 
dimension1       (&cd1)  
dimension2       (&cd2)  
dimension3       (&cd3) Production 
encoding         (&de)  UTF-8 
flashVersion     (&fl)  11.9 r900 
hitType          (&t)   pageview 
javaEnabled      (&je)  1 
language         (&ul)  fr 
location         (&dl)  https://www.ellipro.fr/VcNom-web/faces/login/login.jsf 
page             (&dp)  /faces/login/login.xhtml
screenColors     (&sd)  32-bit 
screenResolution (&sr)  1920x1080 
title            (&dt)  Ellipro 
trackingId       (&tid) UA-42731117-1 
viewportSize     (&vp)  1835x935 

Content of request ( from a dev server ) without fields appName & appVersion:

adSenseId        (&a)   1384121872 [VM] 
apiVersion       (&v)   1 
clientId         (&cid) NN300000 
dimension1       (&cd1) NN300000 
dimension2       (&cd2) 991 
dimension3       (&cd3) Production 
dimension4       (&cd4) Ellipro 
dimension5       (&cd5) 2.25-SNAPSHOT 
encoding         (&de)  UTF-8 
flashVersion     (&fl)  11.9 r900 
hitType          (&t)   pageview 
javaEnabled      (&je)  1 
language         (&ul)  fr 
location         (&dl)  
http://devnom02/VcNom-web/faces/searchcompany/advancedSearch.jsf [VM] 
page             (&dp)  /faces/monitoring/monitoringCompaniesList.xhtml 
screenColors     (&sd)  32-bit 
screenResolution (&sr)  1920x1080 
title            (&dt)  Ellipro 
trackingId       (&tid) UA-42734818-1 
viewportSize     (&vp)  1132x935 

Original issue reported on code.google.com by laurent....@gmail.com on 8 Nov 2013 at 12:38

GoogleCodeExporter commented 9 years ago
Just like described... not RealTIme data

Original comment by alexrab...@gmail.com on 10 Feb 2014 at 9:18

GoogleCodeExporter commented 9 years ago
Actually, found that it did not worked because the name passed in the appName 
attribute wasn't matching the name of the application recorded for the analytic 
token under the admin pages.
Because I dont not have control on the configuration of the admin data ( 
someone else does it), I simply do not send the attributes appName and 
appVersion anymore to analytics. I have re-mapped them in custom dimension. 
Since real-time data and event recording are working again.

Original comment by laurent....@gmail.com on 11 Feb 2014 at 12:03

GoogleCodeExporter commented 9 years ago
*God damn it* - this has probably cost me 20 hours to track down. Finally got 
it. One Google-hit later and I am on this bug.

Why is this? How on earth should I have known??

Original comment by stolsvik on 7 Jun 2014 at 9:31

GoogleCodeExporter commented 9 years ago
If you set the appName for your website, then you have to add to create a new 
view in GA admin settings for All Mobile App Data. You will then see it roll in 
for your website.

appName is not intended to be used for a website - as its name suggests. Don't 
set it and RealTime and Custom events will start working.

Original comment by patrick....@codeware.com.au on 6 Sep 2014 at 2:28

GoogleCodeExporter commented 9 years ago
It does appear that for a web property, the events are visible along with 
appName and appVersion in the non-realtime reporting of a Website view.  

The events do not appear in the realtime reporting of a Website View as 
mentioned here.  They will however appear in the real-time view of Mobile app 
view also as mentioned here.

Feels like a bug rather than misuse of the attrbutes.

Original comment by jerem...@trifacta.com on 12 Dec 2014 at 2:52

GoogleCodeExporter commented 9 years ago
Any movement on fixing this?  If not, what can I do to get the realtime 
tracking data to populate properly?

Is there some other value for appName that must match to get the data to report 
in real time?

Original comment by trent.gr...@workiva.com on 4 Feb 2015 at 9:05

GoogleCodeExporter commented 9 years ago
I agree that this seems like a bug, and I've also spent way too much time 
tracking what was wrong. The GA Debug Chrome extension was no help at all. At 
the very least, this "problem" should be mentioned in the documentation for the 
appName/appVersion fields.

We thought appVersion would be the perfect place to store our "web application" 
version number, but because we did this we've lost a lot of analytic data.

Original comment by Astrom.F...@gmail.com on 31 Mar 2015 at 5:08