diff options
author | 2019-09-07 15:50:39 +0200 | |
---|---|---|
committer | 2019-09-07 15:50:39 +0200 | |
commit | ca7153dd6aac2983b02db3fa78d8021e76fc466a (patch) | |
tree | 3912542559837afa696b7f0fa3e4b10aff931b48 /src/components/ui/ActivateTrialButton/index.js | |
parent | Merge branch 'master' of https://github.com/meetfranz/franz into franz-5.3.0 (diff) | |
download | ferdium-app-ca7153dd6aac2983b02db3fa78d8021e76fc466a.tar.gz ferdium-app-ca7153dd6aac2983b02db3fa78d8021e76fc466a.tar.zst ferdium-app-ca7153dd6aac2983b02db3fa78d8021e76fc466a.zip |
Remove analytics
Diffstat (limited to 'src/components/ui/ActivateTrialButton/index.js')
-rw-r--r-- | src/components/ui/ActivateTrialButton/index.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/components/ui/ActivateTrialButton/index.js b/src/components/ui/ActivateTrialButton/index.js index e0637da90..a9d9be75a 100644 --- a/src/components/ui/ActivateTrialButton/index.js +++ b/src/components/ui/ActivateTrialButton/index.js | |||
@@ -5,7 +5,6 @@ import { defineMessages, intlShape } from 'react-intl'; | |||
5 | import classnames from 'classnames'; | 5 | import classnames from 'classnames'; |
6 | 6 | ||
7 | import { Button } from '@meetfranz/forms'; | 7 | import { Button } from '@meetfranz/forms'; |
8 | import { gaEvent } from '../../../lib/analytics'; | ||
9 | 8 | ||
10 | import UserStore from '../../../stores/UserStore'; | 9 | import UserStore from '../../../stores/UserStore'; |
11 | 10 | ||
@@ -63,7 +62,7 @@ class ActivateTrialButton extends Component { | |||
63 | }; | 62 | }; |
64 | 63 | ||
65 | handleCTAClick() { | 64 | handleCTAClick() { |
66 | const { actions, stores, gaEventInfo } = this.props; | 65 | const { actions, stores } = this.props; |
67 | const { hadSubscription } = stores.user.data; | 66 | const { hadSubscription } = stores.user.data; |
68 | // const { defaultTrialPlan } = stores.features.features; | 67 | // const { defaultTrialPlan } = stores.features.features; |
69 | 68 | ||
@@ -77,11 +76,6 @@ class ActivateTrialButton extends Component { | |||
77 | } | 76 | } |
78 | 77 | ||
79 | actions.ui.openSettings({ path: 'user' }); | 78 | actions.ui.openSettings({ path: 'user' }); |
80 | |||
81 | if (gaEventInfo) { | ||
82 | const { category, event } = gaEventInfo; | ||
83 | gaEvent(category, event, label); | ||
84 | } | ||
85 | } | 79 | } |
86 | 80 | ||
87 | render() { | 81 | render() { |