google-analytics

Google analytics user explorer get user report

醉酒当歌 提交于 2020-01-02 07:42:11
问题 How do I get user report from user explorer, using GA API. Didn't manage to find any information about it here https://developers.google.com/analytics/. For instance in user explorer (audiences section) you can see a list of records having ids like 11111111111.2222222222 and I want to get information about user activity on the website for record with id 11111111111.2222222222 using GA API 回答1: While the latest GA release notes says the client ids have been "surfaced" (i.e. made visible) it is

Google Analytics - async tracking with two accounts

与世无争的帅哥 提交于 2020-01-02 05:30:11
问题 I'm currently testing GAs new async code snippet using two different tracking codes on the same page; _gaq.push( ['_setAccount', 'UA-XXXXXXXX-1'], ['_trackPageview'], ['b._setAccount', 'UA-XXXXXXXX-2'], ['b._trackPageview'] ); Although both codes work, I've noticed that they present inconsistent results. Now, we aren't talking huge differences here, only 1 or 2 visits / day every now and then. However, this site is tiny and 1 or 2 visits equates to a 15% difference in figures. Now, the final

Google Analytics Android SDK custom vars not registered/not showing?

半城伤御伤魂 提交于 2020-01-02 04:48:13
问题 So I'm still mucking around with this Google Analytics SDK. According to this, I should be able to send custom vars with a visitor scope that include the app version, and the phone model. Using tracker.getVisitorCustomVar(i) I can see that the information is indeed stored, and the log shows NetWorkRequestUtil/ConstructPageviewRequestPath with a message that contains the custom vars. But it does not show up in the analytics report along with the other tracking information. I thought I would

BiqQuery vs Google Analytics, which data is more accurate?

对着背影说爱祢 提交于 2020-01-02 02:53:06
问题 As a Premium Google Analytics/BigQuery customer, our question is, Which data is more accurate? I tend to want to lean toward BigQuery being more accurate because we can actually see the raw data, but we have no insight into the method Google Analyitcs is using to calculate its numbers. I also think that a lot of it has to do with SAMPLING. When you calculate something simple like Total Pageviews for a single page, the Google Analytics numbers line up to BigQuery within .00001% : sum(case when

Google Analytics for Android v4 - Automatic Screen Measurement not working?

 ̄綄美尐妖づ 提交于 2020-01-02 02:10:08
问题 I finally got around to trying out Google Analytics v4. Actually, it's my first time using GA at all, so I'm not quite as familiar with the way things are done. In any case, I managed to get the MobilePlayground sample to build and it mostly works - except for the Automatic Screen Measurement feature The XML config file in the sample is just like in the docs, so I shouldn't have to edit anything to get that part to work. But I don't see those screen views in the GA console. <!-- Enable

App rejected because of “improper IDFA” while I'm not using any advertising service

自闭症网瘾萝莉.ら 提交于 2020-01-02 02:06:36
问题 I use Google Analytics in my app, so it needs the AdSupport framework . Since yesterday, my app is rejected when I try to publish an update, with the following error message : Dear developer, We have discovered one or more issues with your recent delivery for "Zee News English". To process your delivery, the following issues must be corrected: Improper Advertising Identifier [IDFA] Usage. Your app contains the Advertising Identifier [IDFA] API but you have not indicated its usage on the

Can't see custom campaign parameter result of Firebase Dynamic Link in Google Analytics

北城以北 提交于 2020-01-02 01:31:26
问题 I started to use Firebase Dynamic Link since few days ago with custom campaign parameters like this. https://subdomain.app.goo.gl/?apn=[package_name]&link=[link_url] &utm_campaign=campaign&utm_content=content&utm_medium=medium&utm_source=source Few days later, I checked Google Analytics to check new users in Acquisition > Sources > Google Play section. But recorded Source / Medium value has been (not set) / (not set) . This looks like campaign parameters isn't taken over to Play Store via

Universal Analytics Measurement Protocol respond 200 OK, but no events appers

别说谁变了你拦得住时间么 提交于 2020-01-02 01:04:29
问题 I am sending events from Winform application to Universal Analytics via Measurement protocol and I use fiddler to inspect the request and response. Everything seems to be OK, but no events appears in Universal Analytics. My app request: POST http://www.google-analytics.com/collect HTTP/1.1 Host: www.google-analytics.com Content-Length: 112 Expect: 100-continue v=1 &tid=UA-44974825-1 &cid=1aba0888-732f-4690-9a91-d906c94a4a23 &t=exception &exd=NullReferenceException &exf=1 Server response: HTTP

Expand array-of-structs into columns in PySpark

ⅰ亾dé卋堺 提交于 2020-01-01 19:45:08
问题 I have a Spark dataframe, originating from Google Analytics, that looks like the following: id customDimensions (Array<Struct>) 100 [ {"index": 1, "value": "Earth"}, {"index": 2, "value": "Europe"}] 101 [ {"index": 1, "value": "Mars" }] I also have a "custom dimensions metadata" dataframe that looks like this: index name 1 planet 2 continent I'd to use the indexes in the metadata df in order to expand my custom dimensions into columns. The result should look like the following: id planet

“Track Event” is seen in Console (GA Debug) but network request isn't seen in Network Panel

∥☆過路亽.° 提交于 2020-01-01 19:39:12
问题 I am confused with the track event issue. //_gaq.push(['_trackEvent', 'Cat', 'Act', 'Label', 1.1]); _gaq.push(['_trackPageview', '/new']); This is working, I can see this in GA Debugger: _gaq.push processing "_trackPageview" for args: "[]": ga_debug.js:18 Track Pageview ga_debug.js:18 Tracking beacon sent! And I can see the __utm.gif request in Network Panel. But when I changed the code to : _gaq.push(['_trackEvent', 'Cat', 'Act', 'Label', 1.1]); //_gaq.push(['_trackPageview', '/new']); Here