diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-10-22 10:12:55 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-10-22 10:12:55 +0200 |
commit | a164ecbdc849e86e9453633bc640dcb6fe75a688 (patch) | |
tree | d038298e333b03d26d6ef84ef89f8aa79e17253d /src/features/planSelection/components | |
parent | don't show plan selection when user is premium (edge case) (diff) | |
download | ferdium-app-a164ecbdc849e86e9453633bc640dcb6fe75a688.tar.gz ferdium-app-a164ecbdc849e86e9453633bc640dcb6fe75a688.tar.zst ferdium-app-a164ecbdc849e86e9453633bc640dcb6fe75a688.zip |
refine analytics events
Diffstat (limited to 'src/features/planSelection/components')
-rw-r--r-- | src/features/planSelection/components/PlanSelection.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/features/planSelection/components/PlanSelection.js b/src/features/planSelection/components/PlanSelection.js index 355187516..aff6bf94f 100644 --- a/src/features/planSelection/components/PlanSelection.js +++ b/src/features/planSelection/components/PlanSelection.js | |||
@@ -12,6 +12,7 @@ import { i18nPlanName } from '../../../helpers/plan-helpers'; | |||
12 | import { PLANS } from '../../../config'; | 12 | import { PLANS } from '../../../config'; |
13 | import { FeatureList } from '../../../components/ui/FeatureList'; | 13 | import { FeatureList } from '../../../components/ui/FeatureList'; |
14 | import Appear from '../../../components/ui/effects/Appear'; | 14 | import Appear from '../../../components/ui/effects/Appear'; |
15 | import { gaPage } from '../../../lib/analytics'; | ||
15 | 16 | ||
16 | const messages = defineMessages({ | 17 | const messages = defineMessages({ |
17 | welcome: { | 18 | welcome: { |
@@ -163,6 +164,10 @@ class PlanSelection extends Component { | |||
163 | intl: intlShape, | 164 | intl: intlShape, |
164 | }; | 165 | }; |
165 | 166 | ||
167 | componentDidMount() { | ||
168 | gaPage('/select-plan'); | ||
169 | } | ||
170 | |||
166 | render() { | 171 | render() { |
167 | const { | 172 | const { |
168 | classes, | 173 | classes, |