google-analytics

viewController.title is nil after init of Google analytics

北慕城南 提交于 2019-12-13 05:34:08
问题 I followed Google analytics doc to add it to my swift app I have done all that is said there, and yet my code fails in run time. Here is my code in AppDelegate: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool { loadGoogleAnalytics() chooseAndLuanchStoryboard() initMembersAfterViewControllerInit() return true } func loadGoogleAnalytics() { // Configure tracker from GoogleService-Info.plist. var configureError:NSError?

Track multiple top-level domains google analytics

心已入冬 提交于 2019-12-13 05:32:53
问题 I have a website flexmail.eu I've added this website to google analytics with multiple domain support My domains are flexmail.be, flexmail.pl, flexmail.net, ... How can I configure analytics so I can see how many people came from .be, .nl, .pl, ... 回答1: Add a customization Metric Groups: Visits Dimension Drilldowns: Hostname 来源: https://stackoverflow.com/questions/19659917/track-multiple-top-level-domains-google-analytics

Which method is the right way to setup multiple trackers in Google (Universal) Analytics?

时间秒杀一切 提交于 2019-12-13 05:32:38
问题 I'm setting up multiple trackers to track 2 properties I setup in my Google Analytics. I found this link from Google which I use to set this up as the following: https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers#working_with_multiple_trackers ga('create', 'UA-XXXXXXX-6', 'auto'); ga('send', 'pageview'); ga('create', 'UA-XXXXXXX-8', 'auto', 'clientTracker'); ga('clientTracker.send', 'pageview'); However, when I search online I see people responding with

Google Analytics _trackEvent doesn't work with XHTML?

[亡魂溺海] 提交于 2019-12-13 05:16:43
问题 I have a php file generating XHTML content and I use <?php header('Content-type: application/xhtml+xml');?> at the top of the page to do so. However, my google analytics event tracking absolutely refuses to work when that tag is present. If I remove that tag, event tracking begins to fire again. I am not altering the tracking code at all, just removing that one php tag defining the page as XHTML. <a href="some-file.zip" onClick="_gaq.push(['_trackEvent', 'Item', 'Download', 'file-name']);"

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

What is the scope of the utm_campaign dimension in Google Analytics v4 on Android?

我与影子孤独终老i 提交于 2019-12-13 04:35:33
问题 I'm using Google Analytics v4 in my Android app and I want to use the Campaign Measurements to see where my users are coming from. The app is currently under development so it's not available in Google Play, but I'm planning to distribute some preview builds by sending out the apk file directly before I make the first release on Google Play. I still want to be able to do campaign tracking on these builds so I'm planning to send hard-coded campaign data using setCampaignParamsFromUrl() instead

How to record url variables (query string) from an img src attribute on the server

▼魔方 西西 提交于 2019-12-13 04:34:30
问题 I want to do something similar to what Google Analytics does to track visitor information. Google Analytics' javascript file puts a 1x1 img on your site. When a visitor comes to your site, they load that IMG from Google. The IMG SRC attribute includes a number of URL variables about your visit. For example: <img src="http://www.google-analytics.com/__utm.gif?utmwv=5.4.6&utms=1&utmn=116154048&utmhn=www.example.com&utmcs=UTF-8&utmsr=1920x1080&utmvp=1439x356..."> When Google receives the request

Google Analytics (iOS SDK) without SSL

别说谁变了你拦得住时间么 提交于 2019-12-13 04:32:39
问题 I'm using the latest SDK of Google Analytics for iOS and I'm facing a problem when I communicate with GA's server. For different reasons, I need my iOS device (ios7.1) to be configured with a date in the year 2000. Unfortunately, when the GA's SDK try to send the events tracked, the GA's server refuse them for a SSL problem (it seems that the GA's certificates are renewed each 3 months...) Is there a way to force the GA's SDK to use HTTP or to fake the date sent ? Thanks all. 回答1: To disable

How to use Google Content Experiment with Google Tag Manager

試著忘記壹切 提交于 2019-12-13 04:31:53
问题 I couldn't find any answers on how to use/implement Google Content Experiments with GTM. I currently have set-up a GTM container with GA code and in the original page for the experiment i have the Google Experiment Code at the beginning of the html tag. The problem I'm having is that not all users are counted in Google Analytics Experiments Report. Is it still impossible to use Google Content Experiments in GTM? (How to run Google Experiment within Google Tag Manager - seems a bit old

String byte to String - Big query

限于喜欢 提交于 2019-12-13 03:36:21
问题 I have the below query and it produces data with \" added. Not sure if it is string byte causing this problem because string_agg produces string byte as output. #standardSQL SELECT visitid, fullVisitorId, hits.hitNumber, TO_JSON_STRING(ARRAY( SELECT AS STRUCT productSKU, ARRAY(SELECT STRING_AGG(CONCAT('{"',CAST(index AS STRING), '":', '"', IFNULL(value,''), '"', '}'), ',') FROM UNNEST(customDimensions)) as productCustDimension FROM UNNEST(hits.product) p)) AS product FROM table_a LEFT JOIN