Fix google analytics

This commit is contained in:
serso 2016-04-02 15:01:36 +02:00
parent bff23ac693
commit 5bba39d7b3
2 changed files with 12 additions and 5 deletions

View File

@ -207,9 +207,16 @@
android:theme="@android:style/Theme.Dialog" /> android:theme="@android:style/Theme.Dialog" />
<!-- Google Analytics --> <!-- Google Analytics -->
<receiver
android:name="com.google.android.gms.analytics.CampaignTrackingReceiver"
android:enabled="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<service android:name="com.google.android.gms.analytics.CampaignTrackingService" />
<receiver <receiver
android:name="com.google.android.gms.analytics.AnalyticsReceiver" android:name="com.google.android.gms.analytics.AnalyticsReceiver"
android:exported="false"
android:enabled="true"> android:enabled="true">
<intent-filter> <intent-filter>
<action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" /> <action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" />

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools" <resources xmlns:tools="http://schemas.android.com/tools"
tools:ignore="UnusedResources"> tools:ignore="UnusedResources">
<string function="ga_trackingId">UA-28724009-2</string> <string name="ga_trackingId">UA-28724009-2</string>
<bool function="ga_reportUncaughtExceptions">true</bool> <bool name="ga_reportUncaughtExceptions">true</bool>
<bool function="ga_autoActivityTracking">true</bool> <bool name="ga_autoActivityTracking">true</bool>
<string function="ga_sampleFrequency">10.0</string> <string name="ga_sampleFrequency">10.0</string>
</resources> </resources>