feat: go to dashboard from landing page 🚀 🚀
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
import { client } from '$lib/utils/posthog';
|
||||
|
||||
export const load = ({ request }) => {
|
||||
client.capture({
|
||||
distinctId: request.headers.get('x-forwarded-for') || new Date().getTime().toString(),
|
||||
event: 'signup'
|
||||
});
|
||||
|
||||
throw redirect(301, 'https://app.classroomio.com/signup');
|
||||
};
|
||||
Reference in New Issue
Block a user