google-analytics

Custom dimension data not showing in analytics (using google tag manager)

亡梦爱人 提交于 2019-12-10 15:13:23
问题 I've been following numerous implementation guides on this feature and have yet to see the final result. What i'm trying to do is very standard: Add a custom dimension called User type to UA. My site uses Google Tag Manager. Here are my implementation steps: Created a custom dimension in UA Created a Data Layer Variable name userType Added the dimension to my Analytics page view tag Added the following code to page load: var dimensionValue =$('#user_type').data('type'); dataLayer.push({

Does Google Analytics SDK 2.0 for iOS symbolicate crash reports?

醉酒当歌 提交于 2019-12-10 14:55:40
问题 There is no mention of this on their website, Google Analytics SDK I am talking about the automatic uncaught exception handling: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [GAI sharedInstance].trackUncaughtExceptions = YES; // Enable //... } 回答1: In theory this would only be possible if either you don't strip symbols from your app binary, resulting in larger binary files (up to 30-50% bigger). Or if you upload the dSYM, which

Vuejs Event tracking using Google analytics

扶醉桌前 提交于 2019-12-10 14:49:25
问题 I am looking to track google analytics events on buttons and links. In jquery typically, I would pass values in data-attributes and fetch them and call required function. I understand I shouldn't be using data-attributes so I am looking out for the best way of doing this , there can be multiple buttons that performs different tracking with different data-purpose (attribute) So I will need to pass data-purpose and data-user to the vue component/function <button id="openmodal" data-purpose=

Use Google Analytics for iOS without .plist file

こ雲淡風輕ζ 提交于 2019-12-10 14:40:08
问题 According to Google's documentation (Analytics for iOS), they want you to download some auto-generated .plist file to configure your app. Unfortunately, I have multiple report suites (Debug, Release) and need to switch dynamically depending on the build. So I'm trying to do one of two things: Is there a way to totally ditch the .plist file and set all the configs dynamically? What values would one need? -OR- Can I alter the values in the Google .plist file to use variables from my project's

Crash Firebase vs Crashlytics vs HockyApp

蓝咒 提交于 2019-12-10 13:47:26
问题 I've been using Crashlytics in application, our client using HockeyApp, and I came to know by the recent updates to Google Firebase. Has anyone had a chance to use above tools, what are your overview and suggestion? Did you like one over the other... and why? Have a great day. 回答1: I'm afraid I can't speak for HockeyApp at all, but I have some experience in using Firebase and Crashlytics using iOS and Android clients. The below paragraphs don't factor in HockeyApp, and only compare Firebase

Broadcasting an INSTALL_REFERRER Intent issue

◇◆丶佛笑我妖孽 提交于 2019-12-10 13:43:38
问题 My Android Manifest file <service android:name="com.google.android.gms.analytics.CampaignTrackingService" /> <receiver android:name="com.google.android.gms.analytics.CampaignTrackingReceiver" android:exported="true" > <intent-filter> <action android:name="com.android.vending.INSTALL_REFERRER" /> </intent-filter> </receiver> I don't have any other receiver. Test: ~/development/sdk/platform-tools $ ./adb shell am broadcast -a com.android.vending.INSTALL_REFERRER -n com.myapp.myapplication/com

Google Analytics doesn't work in iOS

早过忘川 提交于 2019-12-10 13:35:49
问题 My configuration in Google Analytics account: My code: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { GAI *gai = [GAI sharedInstance]; //gai.optOut = YES; gai.trackUncaughtExceptions = YES; // report uncaught exceptions gai.logger.logLevel = kGAILogLevelVerbose; // remove before app release [[GAI sharedInstance] setDispatchInterval:10.0]; [[GAI sharedInstance] trackerWithTrackingId:@"UA-xxxxxx-3"]; return YES; } In view

Passing on the HTTP referrer (Site A, B, C - A to C)?

本小妞迷上赌 提交于 2019-12-10 13:26:43
问题 This is a question best illustrated by example: User goes to Site A , and clicks through to Site B . The referring site is now Site A. The same user clicks through to Site C from Site B. The referring site is now Site B. I'm wondering if it's possible to have the referring site for Site C show up as Site A (the initial referrer if you will). Why I'd like this (a bit more context)? I'm using a targeting software (Site B) that'll redirect to the true destination (Site C). Because I'll be

JS Analytics Ecommerce callback

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 13:19:19
问题 I couldn't find anywhere how to use hitCallback parameter with google analytics ecommerce:send . In docs its only example is with send,pageview . Here is the code I tried: ga('ecommerce:send', {'hitCallback': function() {window.location.href="/test.php";}} ); but it didn't work although the tracking worked. 回答1: I ran in to the same problem and, having looked at the source code, there's no clean way to do it. The thing about ga('ecommerce:send') is that internally it calls - ga('send',

Google analytics integration for orders without online payment transaction in Woocommerce 3

依然范特西╮ 提交于 2019-12-10 13:07:17
问题 I'm trying to add information about orders in the Google analytics. But the statistics do not show the receipt of information about orders. The site does not use online payments (perhaps the reason is related to this). I used the answer I added code to functions.php in my theme directory. add_action( 'woocommerce_thankyou', 'google_analytics_integration', 20 ); function google_analytics_integration(){ ?> <script> ga('require', 'ecommerce'); <?php // GET the WC_Order object instance from, the