diff --git a/.gitignore b/.gitignore index 76add87..1b8a8b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ node_modules -dist \ No newline at end of file +dist + +# ignore trial php files that might land in here, I'm a lil bit weired, i put files anywhere 😎 +*.php \ No newline at end of file diff --git a/src/App.js b/src/App.js index 81f6525..ba4c3e6 100644 --- a/src/App.js +++ b/src/App.js @@ -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));