tag:google.com,changelog:analytics-collection-androidGoogle Analytics - Changelog - Android SDK2015-05-01T08:00:00:-0700Google AnalyticsRelease Version 4.5 - Google Play Services 7.3 (May 1, 2015)tag:google.com,changelog:analytics-collection-android#release-2015-05-012015-05-01T08:00:00:+0000
<p>This release contains:</p>
<h3 id="google_analytics">Google Analytics</h3>
<ul>
<li>Added support for background dispatching on non-Google Play Devices.</li>
<li>Deprecated Analytics Logger/LogLevel. Analytics is now using Android logging instead. To enable debug logging run <code>adb shell setprop log.tag.GAv4 DEBUG</code>.</li>
<li>Refactoring to improve data delivery and install campaign attribution.</li>
<li>Campaign parsing bug fixed. <a href="
https://code.google.com/p/analytics-issues/issues/detail?id=596">Issue 596</a>.</li>
<li>Unhandled app exceptions during the first seconds of the Analytics initialization are correctly reported. <a href="
https://code.google.com/p/analytics-issues/issues/detail?id=443">Issue 443</a>.</li>
</ul>
<h3 id="google_tag_manager">Google Tag Manager</h3>
<ul>
<li>No changes.</li>
</ul>
Release Version 4.0.6 - Google Play Services 7.0 (March 19, 2015)tag:google.com,changelog:analytics-collection-android#release-2015-03-192015-03-19T08:00:00:+0000
<p>This release contains:</p>
<h3 id="google_analytics">Google Analytics</h3>
<ul>
<li>Fixed <a href="
https://code.google.com/p/analytics-issues/issues/detail?id=440">Issue 440: CampaignTrackingService NullPointerException</a></li>
<li>Fixed <a href="
https://code.google.com/p/analytics-issues/issues/detail?id=552">Issue 552: GoogleAnalytics.getInstance() is blocking</a></li>
<li>Fixed <a href="
https://code.google.com/p/analytics-issues/issues/detail?id=564">Issue 564: Analytics auto activity reporting throws UnsupportedOperationException</a></li>
<li>Minor bug fixes.</li>
</ul>
<h3 id="google_tag_manager">Google Tag Manager</h3>
<ul>
<li>Minor bug fixes.</li>
</ul>
Release Version 4.0.5 - Google Play Services 6.7 (February 17, 2015)tag:google.com,changelog:analytics-collection-android#release-2015-02-172015-02-17T08:00:00:+0000
<p>This release contains:</p>
<h3 id="google_analytics">Google Analytics</h3>
<ul>
<li>Minor bug fixes.</li>
</ul>
<h3 id="google_tag_manager">Google Tag Manager</h3>
<ul>
<li>Fixed race condition bug related to <a href="
https://productforums.google.com/d/topic/tag-manager/NOlng117_2g/discussion">How to avoid TagManager “IllegalStateException: Results have already been set”</a>.</li>
</ul>
Release Version 4.0.4 - Google Play Services 6.5 (November 24, 2014)tag:google.com,changelog:analytics-collection-android#release-2014-11-242014-11-24T08:00:00:+0000
<p>This release contains:</p>
<h3 id="google_analytics">Google Analytics</h3>
<ul>
<li>Improvements for exception tracking related to <a href="
https://code.google.com/p/analytics-issues/issues/detail?id=443">Issue 443: Google Play Services does not submit exceptions</a>.</li>
<li>Minor bug fixes.</li>
</ul>
<h3 id="google_tag_manager">Google Tag Manager</h3>
<ul>
<li>No changes to Google Tag Manager.</li>
</ul>
Release Version 4.0.3 - Google Play Services 6.1 (September 25, 2014)tag:google.com,changelog:analytics-collection-android#release-2014-09-252014-09-25T08:00:00:+0000
<p>This release contains:</p>
<h3 id="google_analytics">Google Analytics</h3>
<ul>
<li>Minor bug fixes.</li>
</ul>
<h3 id="google_tag_manager">Google Tag Manager</h3>
<ul>
<li>Support for enhanced ecommerce has been added. See the <a href="
https://developers.google.com/tag-manager/android/v4/enhanced-ecommerce">Enhanced Ecommerce Developer Guide</a> for details.</li>
</ul>
Release Version 4.0.2 - Google Play Services 5.0 (July 1, 2014)tag:google.com,changelog:analytics-collection-android#release-2014-07-012014-07-01T08:00:00:+0000
<p>This release contains:</p>
<h3 id="google_analytics">Google Analytics</h3>
<ul>
<li>Support for enhanced ecommerce has been added. See the <a href="
https://developers.google.com/analytics/devguides/collection/android/v4/enhanced-ecommerce">Enhanced Ecommerce Developer Guide</a> for details.</li>
<li>The client ID will now reset every time the advertising ID is changed.</li>
<li>Advertising ID collection is off by default.</li>
<li>Added programmatic APIs for exception reporting.</li>
<li>Bug fixes in documentation.</li>
<li>Minor bug fixes.</li>
</ul>
<h3 id="google_tag_manager">Google Tag Manager</h3>
<ul>
<li>No changes to Google Tag Manager.</li>
</ul>
Release Version 4 (March 25, 2014)tag:google.com,changelog:analytics-collection-android#release-2014-03-252014-03-25T08:00:00:+0000
<h3 id="google_analytics_and_google_tag_manager">Google Analytics and Google Tag Manager</h3>
<ul>
<li>The Google Analytics and Google Tag Manager SDKs are now part of the <a href="
http://android-developers.blogspot.com/2014/03/google-play-services-43.html">Google Play Services SDK 4.3</a> .</li>
<li>This does not require devices to have Google Play Services installed. When Google Play Services is not available the SDK will automatically fall back to local dispatching.</li>
<li>For details on how to get started see <a href="
https://developers.google.com/tag-manager/android/v4/">Google Tag Manager SDK v4 for Android</a> and <a href="
https://developers.google.com/analytics/devguides/collection/android/v4/">Google Analytics SDK v4 for Android</a></li>
</ul>
Release Version 3.02 (March 18, 2014)tag:google.com,changelog:analytics-collection-android#release-2014-03-182014-03-18T08:00:00:+0000
<p>This release contains:</p>
<h3 id="google_analytics">Google Analytics</h3>
<ul>
<li>No changes to Google Analytics.</li>
</ul>
<h3 id="google_tag_manager">Google Tag Manager</h3>
<ul>
<li>Added support for Google Analytics Content Experiments Macro.</li>
</ul>
Release Version 2.0beta6 (October 11, 2013)tag:google.com,changelog:analytics-collection-android#release-2013-10-112013-10-11T08:00:00:+0000
<p>This release contains: * Sixth beta release. * Made change required to avoid a runtime exception when an app targeting KitKat (API Level 19) uses the SDK.</p>
Release Version 3.01 (October 11, 2013)tag:google.com,changelog:analytics-collection-android#release-2013-10-112013-10-11T08:00:00:+0000
<p>This release contains: * Second release of version 3.0. * Made change required to avoid a runtime exception when an app targeting KitKat (API Level 19) uses the SDK.</p>
Release Version 3.0.0 (August 16, 2013)tag:google.com,changelog:analytics-collection-android#release-2013-08-162013-08-16T08:00:00:+0000
<p>This release contains: * First release of version 3.0 * SDK API rewritten to more closely align with analytics.js. See javadoc and https://developers.google.com/analytics/devguides/collection/android/v3/ for details. * All <code>track<hittype></code> and <code>send<hittype></code> methods removed. Instead, you can use the send method and the corresponding construct methods in the <code>MapBuilder</code> class to send hits. See the class <code>Fields</code> for a list of constants you can use to build hits using <code>set</code> and <code>send</code>. * Many of the various properties have also been removed, including <code>useHttps</code>, <code>anonymizeIp</code>, etc. You can set/reset those properties using the <code>set</code> command. * <code>EasyTracker</code> now extends <code>Tracker</code>. There is no need to call <code>EasyTracker.getTracker</code> to make tracking calls directly. * The SDK no longer sets the session control flag to start on startup. Developers are now responsible for determining if a new session is needed. Note that EasyTracker still handles session management as before. * The SDK now supports a custom logging class. See <code>Logger</code> in the javadoc for details. * <code>dryRun</code> mode has been added. * <code>clientId</code> can now be read. Simply call <code>tracker.get(Fields.CLIENT_ID)</code>. This call will block until the <code>clientId</code> has been loaded from the persistent store. * The SDK will no longer retry hits based on the HTTP response code.</p>
Release Version 2.0beta5 (April 10, 2013)tag:google.com,changelog:analytics-collection-android#release-2013-04-102013-04-10T08:00:00:+0000
<p>This release contains: * Fifth beta release. * EasyTracker exception parsing bug fix. When <code>ga_reportUncaughtExceptions</code> flag is set, we were not initializing the exception parser, and as a result not parsing the location of an uncaught exception. With this fix, the crash and exception reports will report the location of uncaught exceptions when <code>ga_reportUncaughtExceptions</code> is set to true.</p>
Release Version 2.0beta4 (January 8, 2013)tag:google.com,changelog:analytics-collection-android#release-2013-02-132013-02-13T08:00:00:+0000
<p>This release contains: * Fourth beta release. * The SDK will now respect the sample rate setting. If you previously set the sample rate to other than 100% you will now see a corresponding decrease in some of your Analytics metrics compared with beta 3. * Changed track methods to send (e.g. <code>trackView</code> now called <code>sendView</code>). * Added local currency support via <code>Transaction.setCurrencyCode</code> * Use HTTPS by default instead of HTTP. * SDK will not attempt to dispatch hits if there is no network connectivity. * Avoid ANRs while attempting to handle install campaign data. * Removed <code>TrackedActivity</code> classes from the SDK. * Move SDK initialization off the main UI Thread. * Improve the SDK’s ability to recover from a corrupted SQLite database. * Several other crashes and bugs fixed.</p>
Release Version 1.5.1 (September 18, 2012)tag:google.com,changelog:analytics-collection-android#release-2012-09-182012-09-18T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>Bug Fixes:
<ul>
<li>Fix migration from pre-1.5 SDK CVs to 1.5 SDK custom variables.</li>
<li>Honor user’s background data restrictions setting.</li>
</ul>
</li>
</ul>
Release Version 1.5 (September 17, 2012)tag:google.com,changelog:analytics-collection-android#release-2012-09-172012-09-17T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>
<p>Bug Fixes:</p>
<ul>
<li>Fix memory leak.</li>
<li>Events now include the last tracked page view (<code>utmp</code>).</li>
</ul>
</li>
<li>
<p>New Features:</p>
<ul>
<li>Support 50 custom variables (Note: this feature is available to Google Analytics Premium users only).</li>
</ul>
</li>
</ul>
Release Version 2.0beta3 (August 21, 2012)tag:google.com,changelog:analytics-collection-android#release-2012-08-212012-08-21T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>Added support for custom dimensions and metrics.</li>
<li>Added support for social interaction tracking.</li>
<li>Made <code>StandardExceptionParser</code> class public</li>
<li>Fixed occasional crashes during initialization of the SDK.</li>
<li>Fixed <code>INSTALL_REFERRER</code> broadcasts being ignored on some devices.</li>
<li>Fixed <code>ConcurrentModificationExceptions</code> in <code>GoogleTracker</code> class.</li>
<li>Other bugfixes and enhancements</li>
</ul>
Release Version 2.0beta2 (June 21, 2012)tag:google.com,changelog:analytics-collection-android#release-2012-06-212012-06-21T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>Simplified EasyTracker interface.</li>
<li>Control of dispatching moved to a new class, <code>GAServiceManager</code>.</li>
<li>Updated to latest wire format.</li>
<li><code>sampleRate</code> changed to double.</li>
<li>Excessive tracking is throttled.</li>
<li>Undispatched tracking information is deleted when opt-out is enabled.</li>
<li>Undispatched tracking information older than 30 days will be deleted.</li>
<li>Other bugfixes and enhancements.</li>
</ul>
Release Version 2.0beta1 (May 25, 2012)tag:google.com,changelog:analytics-collection-android#release-2012-05-252012-05-25T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li><code>startSession</code> method has been removed. Use <code>setStartSession</code> instead.</li>
<li>Added <code>ga_sessionTimeout</code> parameter to EasyTracker.</li>
<li>Implemented power save mode.</li>
<li>Added <code>trackView</code> method to <code>GAITracker</code> which takes no argument.</li>
<li>Fixed a bug that prevented exception parameters from being sent on hits.</li>
<li>Hits that can’t be read from the database are discarded instead of permanently blocking all hits from being dispatched.</li>
<li>Updated to latest wire format.</li>
<li>Implemented timing hit type.</li>
<li>Implemented Ecommerce hit types (transaction and item).</li>
</ul>
Release Version 1.4.2 (November 28, 2011)tag:google.com,changelog:analytics-collection-android#release-2011-11-282011-11-28T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>
<p>Documentation:</p>
<ul>
<li>The ReadMe.txt has been updated to point to the website for documentation.</li>
</ul>
</li>
</ul>
Release Version 1.4.1 (November 22, 2011)tag:google.com,changelog:analytics-collection-android#release-2011-11-222011-11-22T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>Bug Fixes:
<ul>
<li>Fixed handling of Destination URL Autotracking from Google Play.</li>
<li>Allow the referrer parameter to <code>setReferrer</code> to be url-encoded.</li>
</ul>
</li>
</ul>
Release Version 1.4 (November 15, 2011)tag:google.com,changelog:analytics-collection-android#release-2011-11-152011-11-15T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>Bug Fixes:
<ul>
<li>Trapped and handled several <code>SQLiteExceptions</code>.</li>
<li>Fixed <code>NullPointerException</code> in <code>stopSession</code> if called prior to calling <code>startNewSession</code>.</li>
<li>Fixed Out Of Memory errors on HTC Thunderbolt and Motorola Droid Bionic devices.</li>
<li>Eliminated unnecessary database access in the dispatch method.</li>
</ul>
</li>
</ul>
Release Version 1.3.1 (September 6, 2011)tag:google.com,changelog:analytics-collection-android#release-2011-09-062011-09-06T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>Bug Fixes:
<ul>
<li>Fixed bug in general campaign referral tracking.</li>
<li>Fixed <code>anonymizeIp</code> flag interfering with campaign tracking.</li>
</ul>
</li>
</ul>
Release Version 1.3 (August 10, 2011)tag:google.com,changelog:analytics-collection-android#release-2011-08-102011-08-10T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>Bug Fixes:
<ul>
<li>Fixed several issues in database handling.</li>
<li>Fixed exceptions while using custom variables.</li>
<li>Hold the application context instead of the context passed into it.</li>
<li>Removed the ability to accidently create phantom sessions.</li>
</ul>
</li>
<li>New Features:
<ul>
<li>Added the ability to set campaign referrals at any time</li>
<li>Added <code>sampleRate</code> flag</li>
<li>Added <code>anonymizeIp</code> flag</li>
</ul>
</li>
</ul>
Release Version 1.2 (June 27, 2011)tag:google.com,changelog:analytics-collection-android#release-2011-06-272011-06-27T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>
<p>Bug Fixes:</p>
<ul>
<li>Fixed badly formatted <code>userAgent</code> String.</li>
</ul>
</li>
<li>
<p>New Features:</p>
<ul>
<li>Added support for Ecommerce tracking</li>
<li>Added <code>debug</code> flag</li>
<li>Added <code>dryRun</code> flag</li>
</ul>
</li>
</ul>
Release Version 1.1 (May 4, 2011)tag:google.com,changelog:analytics-collection-android#release-2011-05-042011-05-04T08:00:00:+0000
<p>This release contains:</p>
<ul>
<li>
<p>Bug Fixes:</p>
<ul>
<li>Fixed improper encoding of spaces.</li>
<li><code>SQLiteExceptions</code> no longer cause apps to crash.</li>
</ul>
</li>
<li>
<p>New Features:</p>
<ul>
<li>Added support for custom variables</li>
</ul>
</li>
</ul>