Skip to content

Commit

Permalink
update special events screen tracking to firebase analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
g9singh committed Sep 5, 2019
1 parent 8a1e0cf commit ab3a65d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/views/specialEvents/SpecialEventsDetailView.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import COLOR from '../../styles/ColorConstants'
class SpecialEventsDetailView extends React.Component {
static removeSession(remove, id, title) {
remove(id)
logger.trackEvent('Special Events', 'Session Removed: ' + title)
logger.trackEvent('SpecialEvents', { SessionRemoved: title })
}

static addSession(add, id, title) {
add(id)
logger.trackEvent('Special Events', 'Session Added: ' + title)
logger.trackEvent('SpecialEvents', { SessionAdded: title })
}

componentDidMount() {
Expand Down
4 changes: 2 additions & 2 deletions app/views/specialEvents/SpecialEventsItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ const CircleBorder = () => (

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

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

const wrappedSpecialEventsItem = withNavigation(SpecialEventsItem)
Expand Down
2 changes: 1 addition & 1 deletion app/views/specialEvents/SpecialEventsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SpecialEventsView extends Component {
title,
headerRight: (
(!personal) ? (
<HeaderButtons >
<HeaderButtons>
<Item
color={COLOR.WHITE}
title="Filter"
Expand Down

0 comments on commit ab3a65d

Please sign in to comment.