Skip to content

Commit

Permalink
Add tracking script to _app.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
m4tt72 committed Dec 23, 2023
1 parent c8e6b18 commit a1b5a35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/shellProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ export const ShellProvider: React.FC<ShellProviderProps> = ({ children }) => {
const [cmd, ...args] = command.split(' ').slice(1);

if (isTrackingEnabled) {
window.umami.track('command', {
command: cmd,
window.umami.track(`command - ${cmd}`, {
args: args.join(' '),
});
}
Expand Down

1 comment on commit a1b5a35

@vercel
Copy link

@vercel vercel bot commented on a1b5a35 Dec 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

terminal – ./

terminal-m4tt72.vercel.app
terminal-git-master-m4tt72.vercel.app
term.m4tt72.com

Please sign in to comment.