Skip to content

Commit ab3a65d

Browse files
author
g9singh
committed
update special events screen tracking to firebase analytics
1 parent 8a1e0cf commit ab3a65d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/views/specialEvents/SpecialEventsDetailView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ import COLOR from '../../styles/ColorConstants'
1212
class SpecialEventsDetailView extends React.Component {
1313
static removeSession(remove, id, title) {
1414
remove(id)
15-
logger.trackEvent('Special Events', 'Session Removed: ' + title)
15+
logger.trackEvent('SpecialEvents', { SessionRemoved: title })
1616
}
1717

1818
static addSession(add, id, title) {
1919
add(id)
20-
logger.trackEvent('Special Events', 'Session Added: ' + title)
20+
logger.trackEvent('SpecialEvents', { SessionAdded: title })
2121
}
2222

2323
componentDidMount() {

app/views/specialEvents/SpecialEventsItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ const CircleBorder = () => (
8181

8282
const removeSession = (remove, id, title) => {
8383
remove(id)
84-
logger.trackEvent('Special Events', 'Session Removed: ' + title)
84+
logger.trackEvent('SpecialEvents', { SessionRemoved: title })
8585
}
8686

8787
const addSession = (add, id, title) => {
8888
add(id)
89-
logger.trackEvent('Special Events', 'Session Added: ' + title)
89+
logger.trackEvent('SpecialEvents', { SessionAdded: title })
9090
}
9191

9292
const wrappedSpecialEventsItem = withNavigation(SpecialEventsItem)

app/views/specialEvents/SpecialEventsView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SpecialEventsView extends Component {
1717
title,
1818
headerRight: (
1919
(!personal) ? (
20-
<HeaderButtons >
20+
<HeaderButtons>
2121
<Item
2222
color={COLOR.WHITE}
2323
title="Filter"

0 commit comments

Comments
 (0)