google-analytics

Google Analytics Cross Domain Tracking and _setDomainName()

北战南征 提交于 2019-12-18 10:53:05
问题 I'm trying to set up cross domain tracking between two totally different Domains (not sub-domains). Looking through different pages of Google's documentation seem to give me different suggestions for what to put in the _setDomainName method. I can't figure out when I'm supposed to use which of these three: _gaq.push(['_setDomainName', 'mysite.com']); _gaq.push(['_setDomainName', '.mysite.com']); _gaq.push(['_setDomainName', 'none']); Can anyone out there give me some guidance or an

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"

Youtube Analytics API PHP Invalid query. Query did not conform to the expectations

浪子不回头ぞ 提交于 2019-12-18 07:20:59
问题 I'm trying to make some analytics query from server to server. I'm using laravel with https://github.com/google/google-api-php-client library. This is the code I'm using: $client = new Google_Client(); $key = file_get_contents(storage_path('key.p12')); $cred = new Google_Auth_AssertionCredentials( '***@developer.gserviceaccount.com', array('https://www.googleapis.com/auth/youtube.readonly', 'https://www.googleapis.com/auth/yt-analytics.readonly'), $key); $client->setAssertionCredentials($cred

Youtube Analytics API PHP Invalid query. Query did not conform to the expectations

不问归期 提交于 2019-12-18 07:20:11
问题 I'm trying to make some analytics query from server to server. I'm using laravel with https://github.com/google/google-api-php-client library. This is the code I'm using: $client = new Google_Client(); $key = file_get_contents(storage_path('key.p12')); $cred = new Google_Auth_AssertionCredentials( '***@developer.gserviceaccount.com', array('https://www.googleapis.com/auth/youtube.readonly', 'https://www.googleapis.com/auth/yt-analytics.readonly'), $key); $client->setAssertionCredentials($cred

Not being able to establish connection for In app billing in android

天涯浪子 提交于 2019-12-18 07:15:35
问题 I am trying to integrate In app billing v3 in my app. I call the following function to initialize. public static void SetupInappBilling() { mHelper = new IabHelper(context, base64EncodedPublicKey); mHelper.enableDebugLogging(true); mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() { public void onIabSetupFinished(IabResult result) { if (result.isSuccess()) { Log.e("tag", "connected"); ConnectionEstablished = true; } else { Log.e("tag", "not connected"); ConnectionEstablished =

Not being able to establish connection for In app billing in android

核能气质少年 提交于 2019-12-18 07:15:04
问题 I am trying to integrate In app billing v3 in my app. I call the following function to initialize. public static void SetupInappBilling() { mHelper = new IabHelper(context, base64EncodedPublicKey); mHelper.enableDebugLogging(true); mHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() { public void onIabSetupFinished(IabResult result) { if (result.isSuccess()) { Log.e("tag", "connected"); ConnectionEstablished = true; } else { Log.e("tag", "not connected"); ConnectionEstablished =

How to use Google Analytics for iOS via cocoapods

点点圈 提交于 2019-12-18 06:12:52
问题 In my bridging header, I infinitely get "<Google/Analytics.h> not found" I followed Google's own tutorial: https://developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift I've tried the 'pod GoogleAnalytics' methods people have posted. I've tried all of the suggestions people have posted in other threads. Is there something else I need to change in the "build settings" ... or does 'pod install' do everything? Bridging Header: Build Settings: Podfile: 回答1: Swift 4.0 and xcode 9

Can I track multiple Google Analytics events at once?

假装没事ソ 提交于 2019-12-18 04:59:09
问题 I am using Event Tracking on our conversion form to pass the values of a few drop-downs to Google Analytics as events. Our conversion form is an inquiry form for our online degree programs. I only want to pass the values of the fields on form submit, so I have added the following code to the code that runs on successful submission of the form: $("#App,#InquiryForm").validate({ submitHandler: function (form) { $(".button").attr("value", "Please wait..."); $(".button").attr("disabled",

Exception stack trace lost in Google Analytics v2 for Android?

帅比萌擦擦* 提交于 2019-12-18 04:52:19
问题 The stack trace is crucial to fix problems. In Android you can find nice reports in the Play store console. Unless you use Google Analytics V2. In this case Analytics seems to swallow the exceptions. Worse, Analytics seems to log only the first line of the exception and thus loosing the stacktrace. At least it is not shown in the error report. Here's a snip from our analytics.xml: <!-- Enable automatic exception tracking --> <bool name="ga_reportUncaughtExceptions">true</bool> <bool name="ga

iOS : Google Analytics User Timing report is not updated in my Google Analytics Account

纵饮孤独 提交于 2019-12-18 04:07:55
问题 I am trying to track my app speed using Google analytics but i could not see anything under app speed in my google analytics account. I have tracked the other parameters like events,crashes and exceptions. For those parameter am able to see the reports generated in my google analytic account. Following is the code what i am using to send event timing. self.endDate=[NSDate date]; double timeDiff=[_startDate timeIntervalSinceDate:_endDate]; NSLog(@"timeDiff----%f",timeDiff); if([[[GAI