Browse Source

Updated analytics library

jamesperet 2 years ago
parent
commit
f9dcea68d0
4 changed files with 12 additions and 5 deletions
  1. 2 2
      Readme.md
  2. 2 2
      Runtime/Analytics.cs
  3. 1 1
      package.json
  4. 7 0
      package.json.meta

+ 2 - 2
Readme.md

@@ -1,4 +1,4 @@
-# KairoEngine.Analytics.v0.1.2
+# 📦 KairoEngine.Analytics.v0.1.2
 
 The Analytics package uses the [Mixpanel](https://mixpanel.com) service to store analytics. It can be easly changed to use another service without having to change the actual event tracking inside the game.
 
@@ -15,7 +15,7 @@ The Analytics package uses the [Mixpanel](https://mixpanel.com) service to store
 
 ### Components
 
-- `Analytics` �? The analytics system component that needs to be filled out with the mixpanel Key.
+- `Analytics` - The analytics system component that needs to be filled out with the mixpanel Key.
 
 ### Getting Started
 

+ 2 - 2
Runtime/Analytics.cs

@@ -7,9 +7,9 @@ using mixpanel;
 namespace KairoEngine.Analytics
 {
     /// <summary>Send analytics events to Mixpanel</summary>
-    [HideMonoScript] public class Analytics : MonoBehaviour
+    [HideMonoScript] public class AnalyticsComponent : MonoBehaviour
     {
-        public static Analytics instance;
+        public static AnalyticsComponent instance;
 
         public bool trackEvents = true;
         public bool debugEvents = true;

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
     "name": "at.kairoscope.kairoengine.analytics",
     "displayName": "KairoEngine Analytics",
-    "version": "0.1.2",
+    "version": "0.1.3",
     "unity": "2020.3",
     "description": "Kairoengine analytics library. Sends data to the Mixpanel service.",
     "dependencies": {

+ 7 - 0
package.json.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 21c42b111c50f3c47b12074c853f47a2
+TextScriptImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: