google-analytics

Site is showing up as a referrer to its own domain in Google Analytics reports. Why?

帅比萌擦擦* 提交于 2020-01-01 06:05:29
问题 I am having two GA reporting problems with a site I manage that I am not sure how to solve: The site is showing up as a referrer to its own domain in GA reports. My goal completions (sales conversions on 3rd party off-domain ecommerce cart) are all showing the site's domain as "source" when I obviously want to see the true "referers" who are sending traffic that results in goal completions. My thoughts on potential reasons why this could happening: I am using absolute paths for internal links

Google Play Referral Flow remains empty

蓝咒 提交于 2020-01-01 05:22:28
问题 As shown here http://android-developers.blogspot.de/2013/10/improved-app-insight-by-linking-google.html we can now link our playstore apps to analytics and see the Google Play Referral Flow I linked one of our apps to an Analytics account/property. Still Google Play Referral Flow remains empty even after 2 days of waiting. The App has Google Analytics integrated. Any what could be wrong or missing? 回答1: I found that Google Play Referral Flow only displays analytics for visitors coming via a

Are there any drawbacks of “asynchronous tracking” with Google Analytics?

核能气质少年 提交于 2020-01-01 05:01:26
问题 From an old answer I have recently learned that Google Analytics, besides the traditional tracking code, offers so-called "asynchronous tracking". From the documentation, it seems like asynchronous tracking is to be preferred over the traditional tracking: Unlike a traditional installation, asynchronous tracking optimizes how browsers load ga.js so its impact on user experience is minimized. It also allows you to put your Analytics snippet higher in the page without delaying subsequent

How to correctly use and track App-invites?

你。 提交于 2020-01-01 03:58:12
问题 Background Google allows to perform app-invites and also track how well they improve your app installations: https://www.youtube.com/watch?v=UfdCNYXMC9M The problem I made a simple app invite, and it seems people do use it, using this code: public static Intent getAppInviteIntent(Context context) { return new AppInviteInvitation.IntentBuilder(title,appName).setCustomImage(imageUri).setMessage(message).setCallToActionText(download).build(); } startActivityForResult(getAppInviteIntent(this),

Google Analytics API: filter by URI?

瘦欲@ 提交于 2019-12-31 08:45:24
问题 My site has user profiles that are accessible via URLs that look like this: www.domain.com/profile/123/... . I want to show users page view statistics of their profiles, but need to be able to do wildcards. For example, this works: filters=ga:pagePath==/profile/123/ The problem is that there are potentially other URI segments that follow /profile/123/ . I want to do something like this (does not work): filters=ga:pagePath==/profile/123/* Suggestions? 回答1: Use the 'Contains a match for the

GoogleAnalytics HitBuilders.TimingBuilder

五迷三道 提交于 2019-12-31 07:05:09
问题 I'm using GA for an Android App. I'm trying to use user timings to report how much time has passed for some actions in my code, so what I basically do is this: At some point in the code I get System.currentTimeMillis() , at another point I do it again and subtract the latter from the former to get how much time has passed. I then report it to GA like this: long time1 = System.currentTimeMillis(); ... long time2 = System.currentTimeMillis(); long timingValue = time2 - time1; tracker.send(new

Google Analytics Outbound Link Event Tracking

放肆的年华 提交于 2019-12-31 04:09:15
问题 I'm trying to set up event tracking so that I can track when someone goes to my 'about' page and clicks on a link to my LinkedIn profile. Below is the link that I want tracked. As you can see, i tried to add some code to get tracking working...i went through a few different techniques, but nothing works so far. This is what I have now: <a ga('send', 'event', 'outbound', 'click', 'linkedin'); href="http://www.linkedin.com/profile/view?id=110370894&trk=nav_responsive_tab_profile_pic" target="

Google Analytics for Shiny Dashboard App

这一生的挚爱 提交于 2019-12-31 03:05:14
问题 I have a well sorted out R shiny (shinydashboard) app that runs on a server. I want to be able to track its usage and know that google analytics is a good solution for this. But I have run into an issue setting it up. I have tried following the directions described here https://shiny.rstudio.com/articles/google-analytics.html They suggest the creation of a google-analytics.js script containing the global site tag from google: <!-- Global Site Tag (gtag.js) - Google Analytics --> <script async

How do you get location.hashtag from the referrer url - Google Analytics

女生的网名这么多〃 提交于 2019-12-31 02:01:28
问题 There's a site that uses on page buttons and hashtags (#) in their urls to manipulate how their content (links) is ordered. They link to my site and I'd like to know what buttons people are clicking before they finally find my site and click through. For example, the referrer url looks like this - http://www.example.com/page1?content=1234#button1 Is there a way to extract the value after the hashtag (#) so I can tell how people are sorting to find my site? I thought about using document

Google Analytics service Intent crashes on Android Oreo

梦想与她 提交于 2019-12-30 16:25:27
问题 I have upgraded my app to support SDK 26 and now Google Analytics causes crashes when running on Android Oreo: Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.android.gms.analytics.AnalyticsReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.android.gms.analytics.ANALYTICS_DISPATCH cmp=com.example.android/com.google.android.gms.analytics.AnalyticsService }: app is in background uid UidRecord{3f302e5 u0a107 RCVR idle