Track key events
This commit is contained in:
parent
1b40a5919b
commit
003f4e811a
3 changed files with 11 additions and 2 deletions
|
|
@ -131,6 +131,9 @@ const Home = () => {
|
|||
},
|
||||
});
|
||||
push(`/${response.data.id}`);
|
||||
gtag('event', 'create_event', {
|
||||
'event_category': 'home',
|
||||
});
|
||||
} catch (e) {
|
||||
setError('An error ocurred while creating the event. Please try again later.');
|
||||
console.error(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue