Track campaigns with Google Analytics without query string parameters?

_set campaignParams Your theoretical “_setCampaignData” finally exists, in the form of [“_set”,”campaignParams”,…] If you have a way to programmatically inject the values you’d like to set (for example, set by a cookie on a redirect, or on the server side and printed onto the page), you can use the _set API to hard-code the campaign … Read more

Google Analytics in Android app – dealing with multiple activities

The problem with calling start()/stop() in every activity (as suggested by Christian) is that it results in a new “visit” for every activity your user navigates to. If this is okay for your usage, then that’s fine, however, it’s not the way most people expect visits to work. For example, this would make comparing android … Read more

UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define

A little late to the game here but this is most likely a problem with the dependencies you have listed in your build.gradle file for you app. After lots of testing i successfully chased down my problem and believe it could be of help to others. Things I do not recommend: Unless you have an … Read more

SecurityException: Parcel.readException coming from google analytics code

It’s a SecurityException means this is not happening because of our own function. (Mostly system code throw these exception). and system uses (android.app.ApplicationThread) to register a broadcast. Unless it is happening on all devices i can say it’s because of bad GMS configuration (Google play service). What you can do is wrap all analytics call … Read more

How do you integrate Universal Analytics in to Chrome Extensions?

There’s an issue for that on Google code: The solution is to pass analytics your own protocol check function or simply null for no checking, in an official way. This has to come after ga(‘create’, …) : ga(‘set’, ‘checkProtocolTask’, null); // Disable file protocol checking. So you don’t need to modify the original analytics.js script. … Read more

Unable to link GoogleAnalytics 3.01 with XCode 5 (missing required architecture x86_64)

You’re not doing anything wrong. I’m pretty sure google has not yet provided a arm64 version of their libGoogleAnalyticsServices.a, which is really annoying …it has been weeks since the public the release of Xcode 5GM. For now, I guess only build for armv7, armv7s or remove google analytics until they get their head out of … Read more

How to use Google Analytics with Phonegap without a plugin?

Check out the video to see it in action: http://screencast.com/t/6vkWlZOp After some research, I found a solution. I came across this thread on the Phonegap Google Group: https://groups.google.com/forum/#!msg/phonegap/uqYjTmd4w_E/YD1QPmLSxf4J (thanks TimW and Dan Levine!) In this thread I found that it is possible to use Google Analytics without a plugin. All you have to do is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)