Browse Source

asteriahair

chengwl 4 years ago
parent
commit
aa7f96ac8f
2 changed files with 19 additions and 0 deletions
  1. 12 0
      config/asteria.json
  2. 7 0
      lib/GA.php

File diff suppressed because it is too large
+ 12 - 0
config/asteria.json


+ 7 - 0
lib/GA.php

@@ -5,6 +5,7 @@ class GA{
     const ALIPEARL_KEY_PATH= BASE_DIR . 'config/alipearl.json';
     const WIGGINS_KEY_PATH= BASE_DIR . 'config/wiggins.json';
     const YOLISSA_KEY_PATH= BASE_DIR . 'config/yolissa.json';
+    const ASTERIA_KEY_PATH= BASE_DIR . 'config/asteria.json';
     private static $insances=[];
     private static function initializeAnalytics($dp){
 
@@ -34,6 +35,9 @@ class GA{
             case "1"://supernovahair
                 $VIEW_ID="155703065";
             break;
+            case "2"://asteriahair
+                $VIEW_ID="162723112";
+            break;
             case "3"://alipearlhair
                 $VIEW_ID="148377136";
             break;
@@ -52,6 +56,9 @@ class GA{
             case "1"://supernovahair
                 $path=self::SUPERNOVA_KEY_PATH;
             break;
+            case "2"://asteriahair
+                $path=self::ASTERIA_KEY_PATH;
+            break;
             case "3"://alipearlhair
                 $path=self::ALIPEARL_KEY_PATH;
             break;