My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 366: Real Time \ Event - tracking with fields appName or appVersion
38 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by [email protected], Nov 8, 2013
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 
Feb 10, 2014
#1 [email protected]
Just like described... not RealTIme data
Feb 11, 2014
#2 [email protected]
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.
Jun 7, 2014
#3 stolsvik
*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??
Sep 6, 2014
#4 [email protected]
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.
Dec 11, 2014
#5 [email protected]
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.
Feb 4, 2015
#6 [email protected]
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?
Mar 31, 2015
#7 [email protected]
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.
Sign in to add a comment

Powered by Google Project Hosting