Skip to content

Commit

Permalink
add a category
Browse files Browse the repository at this point in the history
  • Loading branch information
RrNn committed Aug 28, 2019
1 parent e8cac34 commit dc51f51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
node_modules
dist
dist

# ignore trial php files that might land in here, I'm a lil bit weired, i put files anywhere 😎
*.php
7 changes: 7 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ console.log('history', history)
action: 'Created an Account'
});

export const click = (e) =>{
ReactGA.event({
category: 'Clicking',
action: 'Button Clicked'
})
}

// history.listen(location => ReactGA.pageview(location.pathname));


Expand Down

0 comments on commit dc51f51

Please sign in to comment.