Skip to content

Commit

Permalink
Merge pull request #111 from ynmstudio/feature/update-app-to-angular-17
Browse files Browse the repository at this point in the history
change order for matomo
  • Loading branch information
denisyilmaz authored Feb 28, 2024
2 parents f4f7f44 + e0a78ae commit 3cdba2f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions landingpage/src/routes/[...locale]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ export const sendEmail = $((values: ContactForm) => {

export default component$(() => {
const { trackPageView, trackEvent } = useMatomo();
// eslint-disable-next-line qwik/no-use-visible-task
useVisibleTask$(() => {
trackPageView();
});

const [, { Form, Field }] = useForm<ContactForm>({
loader: useFormLoader(),
Expand All @@ -109,6 +105,7 @@ export default component$(() => {
// eslint-disable-next-line qwik/no-use-visible-task
useVisibleTask$(() => {
showContent.value = true;
trackPageView();
});

return (
Expand Down

0 comments on commit 3cdba2f

Please sign in to comment.