From 86d5d37d89453dde22675033679c86a441429d2d Mon Sep 17 00:00:00 2001 From: ArthurZheng <869705086@qq.com> Date: Sat, 29 Jun 2024 10:24:15 +0800 Subject: [PATCH] Adjusting GA Path --- .github/workflows/publish-npm-package-and-deploy-gh-pages.yml | 4 ++-- .github/workflows/pull-request-check.yml | 2 +- src/playground/index.jsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-npm-package-and-deploy-gh-pages.yml b/.github/workflows/publish-npm-package-and-deploy-gh-pages.yml index d18b608bf37..0be736a15da 100644 --- a/.github/workflows/publish-npm-package-and-deploy-gh-pages.yml +++ b/.github/workflows/publish-npm-package-and-deploy-gh-pages.yml @@ -46,7 +46,7 @@ jobs: - name: Build env: NODE_ENV: production - GA_ID: ${{ secrets.GA_ID_ONLINE }} + GA_ID: ${{ secrets.GA_ID }} NODE_OPTIONS: --max-old-space-size=4000 run: npm run build @@ -109,7 +109,7 @@ jobs: - name: Build env: NODE_ENV: production - GA_ID: ${{ secrets.GA_ID_ONLINE }} + GA_ID: ${{ secrets.GA_ID }} NODE_OPTIONS: --max-old-space-size=4000 run: npm run build diff --git a/.github/workflows/pull-request-check.yml b/.github/workflows/pull-request-check.yml index 7b2ec4c8400..eba0cc5c30a 100644 --- a/.github/workflows/pull-request-check.yml +++ b/.github/workflows/pull-request-check.yml @@ -39,6 +39,6 @@ jobs: - name: Build env: NODE_ENV: production - GA_ID: ${{ secrets.GA_ID_ONLINE }} + GA_ID: ${{ secrets.GA_ID }} NODE_OPTIONS: --max-old-space-size=4000 run: npm run build diff --git a/src/playground/index.jsx b/src/playground/index.jsx index ee598a1a5f7..a992a895b1e 100644 --- a/src/playground/index.jsx +++ b/src/playground/index.jsx @@ -16,7 +16,7 @@ import styles from './index.css'; initialAnalytics(); // Register "base" page view -analytics.send({hitType: 'pageview', page: '/'}); +analytics.send({hitType: 'pageview', page: '/community/web'}); const appTarget = document.createElement('div'); appTarget.className = styles.app;