universal-analytics

Analytics+Statistics for offline Apps?

ぃ、小莉子 提交于 2019-12-30 11:22:34
问题 As the title suggests, what I need to do is track various user events - such as clicks, swipes, time spent on a page, etc. - in an various iOs/Android/Windows App. These Apps are based on responsive HTML/CSS/JS and have a simple OS specific container. All data such as images, videos, etc. are self-contained in the Apps. Characteristic for these Apps is, that sales staff will use iPads/Surface/Android Tablets to demonstrate features of products, spreadsheets, infomercials, etc. to possible

Server-side Google Analytics Experiments

允我心安 提交于 2019-12-24 10:39:32
问题 I'm wondering why I have to include the JavaScript cxApi when I'm running the experiments server-side. Furthermore, can I send the chosen experiment and variations by PHP? Or maybe by injecting a JavaScript snippet without external resources (like the cxApi). I'm using Universal Analytics on the front-end and on the back-end. 回答1: Take a look at this library: php-gacx (Server-Side Google Analytics Content Experiments PHP Client) https://github.com/thomasbachem/php-gacx They parse cxApi

Google Analytics - How to get the client_id (anonymous client id) sent with Measurement Protocol

天涯浪子 提交于 2019-12-23 20:50:16
问题 we are seding requests like this throught the google analytics measurement protocol to track user interaction there. For us its important to be to link a interaction to a specific user so we where happy to be able to set the "cid" attribute of the protocol. my problem is that I cannot find this Client ID somewhere inside the reports of google analytics. Even when customizing the reports I cannot find a Dimension which allows me to display this information. http://www.google-analytics.com

GTM data layer eventCallback function

旧城冷巷雨未停 提交于 2019-12-22 17:06:24
问题 So i have Ecommerce code setup in GTM data layer, but after that is sent to Analytics i want the page to be redirected so i know i should be using eventCallback but it is not working for some reason. <body> <script> dataLayer = [{ 'transactionId': '56833', 'transactionAffiliation': 'TestName', 'transactionTotal': 1540.00, 'transactionTax': 385, 'transactionShipping': 0, 'transactionProducts': [{ 'sku': 'FFSS44HH', 'name': 'test', 'category': 'TestCategory', 'price': 1540.00, 'quantity': 2 }],

Enable Demographics and Interests reports in Universal Analytics

我只是一个虾纸丫 提交于 2019-12-20 12:06:58
问题 I want to enable demographics and interests reports with the Universal Analytics tracking code. The generated tracking code for my site looks like this: <script> (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','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA

Google tag manager not firing event in Firefox

偶尔善良 提交于 2019-12-20 05:50:51
问题 I integrated the Google Tag Manager for use with Google Analytics with Angulartics 2 and Angular 4. In Chrome everything works perfectly fine but in Firefox (v59.0.2) I can see, that the analytics scripts are loaded but the page navigation events never show up in the network view. Accordingly, in the analytics realtime view I can see the user interactions which come from Chrome, but nothing from Firefox. The strangest of all things is, that if I deploy my page locally and open it in Firefox,

Accessing ClientID set by Google Analytics through Google Tag Manager

穿精又带淫゛_ 提交于 2019-12-19 09:16:34
问题 I have setup a new Universal Analytics tracking and would like to store ClientID in one of the custom dimensions slots . The tracking tags are implemented through Google Tag Manager (using the predefined UA tag) and I am having the difficulty to passing the Client ID (via custom JavaScript Macro) with the basic pageview request. I have named my tracker so that I can access it and this code runs without any error in console, however when used with GTM, it's returning an error. ga.getByName(

Existing Google Analytics events and Google Tag Manager

夙愿已清 提交于 2019-12-18 10:33:25
问题 I have implemented Google Analytics (GA) on my site and I send several custom events through ga("send", "event", ...); function and it works well. I am experimenting with Google Tag Manager (GTM). I have removed original GA snippet, and now I use GTM to inject GA tag on my site and pageviews are tracked correctly. What does not work well are my custom events sent by ga() function. I have noticed that GA create has tracker name variable like ga("create", "UA-12345678-1", {name: "gtm0123456789"

Events not firing with UA and GTM - event equals gtm.js condition is not matched

喜欢而已 提交于 2019-12-14 03:17:05
问题 I've setup a Wordpress log and am using Google Tag Manager and Universal Analytics. I'm trying to track a bunch of events - all of which are outbound links. I've setup the link listener and the event code itself within GTM and tested it on github. However when I push it to the live site the events don't fire. I can track pageviews fine but the events are not being captured. I've debugged it as best I can and what I can see is that they're not firing because not all the conditions are being

GA/UA - Custom dimension reducing number of pageviews

核能气质少年 提交于 2019-12-13 05:01:47
问题 Currently using a custom dimension to pass the author name of each article viewed. The author name is appearing in GA but the only problem is that the number of pageviews are significantly reduced when we apply the custom dimension to a report. For example: /article/example : 1900 pageviews (without author name in the report) /article/example "Bob Smith" : 800 pageviews (when using author name in the report) Using GTM debug, we can see the custom dimension is being passed with the author name