google-analytics

Transactions keep accumulating in buffer (Google Analytics SDK for Android) [closed]

北慕城南 提交于 2019-12-05 01:13:10
I'm trying to track downloads and sales of my app with Google Analytics. When my app receives an INSTALL_REFERRER broadcast, it creates a transaction and posts it to GA. However even after a successful dispatch, the transactions still accumulate in the buffer, and are re-sent the next time too (I see this in the debug output of the GA Android SDK). I am not seeing any new transactions in my GA reports. I'm sure the SDK is reaching the GA servers because there is no network error (if I disable the network I get an exception). Here is my code: // Send this transaction to Google Analytics

Google can't find Analytics snippet on Github Pages [closed]

余生长醉 提交于 2019-12-05 00:56:52
For some time now, I have had troubles getting Google Analytics to work properly on my generated Github Pages. I've used the default snippet provided by Google but I think that the crawler that is looking for the snippet looks in the url victorbjelkholm.github.com instead of victorbjelkholm.github.com/2012-I-Bilder/. However, my default url in the Google Analytics profile is http://victorbjelkholm.github.com/2012-I-Bilder/ so it should be no problem. Do anyone had a similar experience of adding Google Analytics to sites on Github Pages? Do anyone have a suggestion on what could solve this so I

Profiling the Performance of a Google App Script

你。 提交于 2019-12-05 00:53:06
I've written a Google App Script to pull in Google Analytics data into a Google Spreadsheet. It's a fairly long running script making multiple requests to the GA Reporting API, it also uses Google App's ScriptDB. Is there a good way of profiling each step of the scripts performance so I can figure out what areas are taking the longest, so I can begin optimizing in certain areas? The Execution Transcript is very useful for this kind of thing. You can also put Logger.log() statements all over the place that measure the time since the last log. That way you can find areas that take longer to

The method setLocalDispatchPeriod(int) from the type GAServiceManager is deprecated

ぐ巨炮叔叔 提交于 2019-12-05 00:44:52
I have latest Google analytics SDK for android and seems like setLocalDispatchPeriod(int) has been deprecated. What is the fix for this ? There is no where in the internet I could find alternate method for this. And most funniest thing is, google has used this method in their own tutorial of how to get started. Now does does anybody knows any alternate method ? The reason for the deprecation is outlined in the ServiceManager JavaDoc: This only works if local dispatching is in use. Local dispatching is only used in the absence of Google Play Services on the device or if manually forced (see

Google analytic “GET A CONFIGURATION FILE” doesn't let me to select my account

拟墨画扇 提交于 2019-12-05 00:07:34
I've a working google analytics integration done from the latest v4 documentation. Where we need to GET A CONFIGURATION FILE from here But facing the following issue I've two different tracking id for two separate apps on my google analytics account. For first app I got the google-services.json file which I placed inside the root directory and everything is working fine. When I follow the steps to create the google-services.json for second app it doesn't let me to switch my account (see the attached pic - it takes the first account from my google analytics) How I should create a separate

Testing Google Analytics iOS SDK

前提是你 提交于 2019-12-04 23:46:45
Has anyone found a good way to test Google Analytics on iOS? The SDK is really simple but the docs do not discuss how to test or validate. Does the library behave differently on the simulator or when running a debug build config? I setup a delegate GANTrackerDelegate with this delegate method: - (void)trackerDispatchDidComplete:(GANTracker *)tracker eventsDispatched:(NSUInteger)eventsDispatched eventsFailedDispatch:(NSUInteger)eventsFailedDispatch; That method gets called just fine and I see positive values in eventsDispatched and eventsFailedDispatch has always been 0. Beyond that is there a

Google analytics: dataLayer.push not working?

核能气质少年 提交于 2019-12-04 23:45:55
问题 Based on this thread: Tracking events using Google Tag Manager I created my own version, which is located at e.g. http://test.site.com <!DOCTYPE html> <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event':'GAevent', 'eventCategory': 'App4', 'eventAction': 'Click', 'eventLabel': 'iOS4' }); </script> </head> <body> <!-- Start google tag manager --> <script> (function(w, d, s,

Uncaught ReferenceError: ga is not defined

99封情书 提交于 2019-12-04 23:08:00
I want know how many times people clicked on a particular button (should be very simple with Google analytics). However, I had an "Uncaught ReferenceError: ga is not defined" error from google console and can't find how to fix it. I added this in the head: <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

How long does it take for Google Analytics Goals to start show some data?

别说谁变了你拦得住时间么 提交于 2019-12-04 22:14:48
I am testing Google Analytics Goals but I am not sure if I have it setup correctly. I setup a basic 3 step goal just as a test. I then went to my web site and performed those three steps. Should that immediately show up in Google Analytics under the Goal reports or does it take a few days? I need to know so I can know if I need to be troubleshooting or not. Thanks in advance! You can see goals appear instantly in the Real Time Conversions report. One other thing to bear in mind when testing: make sure you aren't filtering out your IP address as you won't see any results from testing. It can

Checkout ajax steps tracked with GTM ecommerce enhanced and dataLayer push

自闭症网瘾萝莉.ら 提交于 2019-12-04 21:50:31
I'm wondering on how to tracks checkout and checkout steps events on google analytics. I've a checkout in a single page and each steps is called via ajax requests, so I've already add the "dataLayer.push" functionality for each steps, bringing of course the step number in it. Now I cannot catch anything on the funnel shown up on google analytics. The funnel I'm talking about is the "Checkout Behavior Analysis" inside the Conversion -> Ecommerce -> Shopping Analysis. The ecommerce code I'm using is the GTM one by pushing on dataLayer the checkout event when I'm loading the checkout page, and