Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: analytic #95

Merged
merged 3 commits into from
May 23, 2024
Merged

feat: analytic #95

merged 3 commits into from
May 23, 2024

Conversation

qepo17
Copy link
Collaborator

@qepo17 qepo17 commented May 20, 2024

Required to set ENV:

  • UMAMI_HOST
  • UMAMI_ID

Copy link
Collaborator

@WahidinAji WahidinAji left a comment

Choose a reason for hiding this comment

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

FAILED PAK

@WahidinAji WahidinAji self-requested a review May 21, 2024 14:10
Comment on lines 3 to 10
extends: ['nuxt-umami'],
appConfig: {
umami: {
id: process.env.UMAMI_ID,
host: process.env.UMAMI_HOST,
useDirective: true,
},
},
Copy link
Member

Choose a reason for hiding this comment

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

Please use Nuxt's useHead instead of depending on this module. It's just a one line of <script> tag anyway

@@ -61,7 +61,7 @@ const showVideo = ref(false)
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6.5A2.5 2.5 0 0 1 14.5 9a2.5 2.5 0 0 1-2.5 2.5A2.5 2.5 0 0 1 9.5 9A2.5 2.5 0 0 1 12 6.5M12 2a7 7 0 0 1 7 7c0 5.25-7 13-7 13S5 14.25 5 9a7 7 0 0 1 7-7m0 2a5 5 0 0 0-5 5c0 1 0 3 5 9.71C17 12 17 10 17 9a5 5 0 0 0-5-5Z"/></svg>
<span>Kode Creative Hub, Depok Town Square<br/>Depok, Indonesia</span>
</h3>
<Btn :is-link="true" to="/" class="mt-5 lg:mt-15 text-center btn-save-my-spot" size="xl">Back to Current Event</Btn>
<Btn v-umami="{name: 'go-to-2024-page-btn'}" :is-link="true" to="/" class="mt-5 lg:mt-15 text-center btn-save-my-spot" size="xl">Back to Current Event</Btn>
Copy link
Member

Choose a reason for hiding this comment

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

If we're moving to Nuxt's useHead composable, we should be using the custom umami directive. That should be easy enough.

WahidinAji

This comment was marked as duplicate.

@WahidinAji WahidinAji self-requested a review May 23, 2024 00:14
@WahidinAji WahidinAji merged commit cc2ad29 into master May 23, 2024
3 checks passed
@WahidinAji WahidinAji deleted the feat/analytic branch May 23, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants