aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/announcements/components/AnnouncementScreen.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-08-21 09:39:39 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-08-21 09:39:39 +0200
commitc4768a221f93d534f4d0454414cdf073af8a2356 (patch)
tree77fdf9eb3cbfa72c8fe40e45c88af61299004609 /src/features/announcements/components/AnnouncementScreen.js
parentUpdate dev-app-update.yml (diff)
downloadferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.tar.gz
ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.tar.zst
ferdium-app-c4768a221f93d534f4d0454414cdf073af8a2356.zip
Remove analytics
Diffstat (limited to 'src/features/announcements/components/AnnouncementScreen.js')
-rw-r--r--src/features/announcements/components/AnnouncementScreen.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/features/announcements/components/AnnouncementScreen.js b/src/features/announcements/components/AnnouncementScreen.js
index 03bd5ba41..d4b5fe955 100644
--- a/src/features/announcements/components/AnnouncementScreen.js
+++ b/src/features/announcements/components/AnnouncementScreen.js
@@ -8,7 +8,6 @@ import { Button } from '@meetfranz/forms';
8 8
9import { announcementsStore } from '../index'; 9import { announcementsStore } from '../index';
10import UIStore from '../../../stores/UIStore'; 10import UIStore from '../../../stores/UIStore';
11import { gaEvent } from '../../../lib/analytics';
12 11
13const renderer = new marked.Renderer(); 12const renderer = new marked.Renderer();
14 13
@@ -230,7 +229,6 @@ class AnnouncementScreen extends Component {
230 onClick={() => { 229 onClick={() => {
231 const { analytics } = announcement.main.cta; 230 const { analytics } = announcement.main.cta;
232 window.location.href = `#${announcement.main.cta.href}`; 231 window.location.href = `#${announcement.main.cta.href}`;
233 gaEvent(analytics.category, analytics.action, announcement.main.cta.label);
234 }} 232 }}
235 /> 233 />
236 </div> 234 </div>
@@ -255,7 +253,6 @@ class AnnouncementScreen extends Component {
255 onClick={() => { 253 onClick={() => {
256 const { analytics } = announcement.spotlight.cta; 254 const { analytics } = announcement.spotlight.cta;
257 window.location.href = `#${announcement.spotlight.cta.href}`; 255 window.location.href = `#${announcement.spotlight.cta.href}`;
258 gaEvent(analytics.category, analytics.action, announcement.spotlight.cta.label);
259 }} 256 }}
260 /> 257 />
261 </div> 258 </div>