diff options
Diffstat (limited to 'src/features/delayApp/Component.js')
-rw-r--r-- | src/features/delayApp/Component.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/features/delayApp/Component.js b/src/features/delayApp/Component.js index 6344edb89..c61cb06c9 100644 --- a/src/features/delayApp/Component.js +++ b/src/features/delayApp/Component.js | |||
@@ -5,9 +5,6 @@ import { defineMessages, intlShape } from 'react-intl'; | |||
5 | import injectSheet from 'react-jss'; | 5 | import injectSheet from 'react-jss'; |
6 | 6 | ||
7 | import { Button } from '@meetfranz/forms'; | 7 | import { Button } from '@meetfranz/forms'; |
8 | import { gaEvent } from '../../lib/analytics'; | ||
9 | |||
10 | // import Button from '../../components/ui/Button'; | ||
11 | 8 | ||
12 | import { config } from '.'; | 9 | import { config } from '.'; |
13 | import styles from './styles'; | 10 | import styles from './styles'; |
@@ -32,7 +29,7 @@ const messages = defineMessages({ | |||
32 | }, | 29 | }, |
33 | text: { | 30 | text: { |
34 | id: 'feature.delayApp.text', | 31 | id: 'feature.delayApp.text', |
35 | defaultMessage: '!!!Franz will continue in {seconds} seconds.', | 32 | defaultMessage: '!!!Ferdi will continue in {seconds} seconds.', |
36 | }, | 33 | }, |
37 | }); | 34 | }); |
38 | 35 | ||
@@ -78,12 +75,8 @@ export default @inject('stores', 'actions') @injectSheet(styles) @observer class | |||
78 | 75 | ||
79 | if (!hadSubscription) { | 76 | if (!hadSubscription) { |
80 | actions.user.activateTrial({ planId: defaultTrialPlan }); | 77 | actions.user.activateTrial({ planId: defaultTrialPlan }); |
81 | |||
82 | gaEvent('DelayApp', 'subscribe_click', 'Delay App Feature'); | ||
83 | } else { | 78 | } else { |
84 | actions.ui.openSettings({ path: 'user' }); | 79 | actions.ui.openSettings({ path: 'user' }); |
85 | |||
86 | gaEvent('DelayApp', 'subscribe_click', 'Delay App Feature'); | ||
87 | } | 80 | } |
88 | } | 81 | } |
89 | 82 | ||