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

Simplify API to access utm parameters #27

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

hakenprog
Copy link
Contributor

Closes #24

Simplified API for accessing UTM parameters. It is now possible to access the array of UTM entries using the useNuxtUTM composable.

</template>

<script setup>
import { useNuxtApp } from "nuxt/app";
import { useNuxtUTM } from '#imports';
Copy link
Member

Choose a reason for hiding this comment

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

@hakenprog do you know if auto imports will work?

Copy link
Contributor Author

@hakenprog hakenprog Sep 26, 2024

Choose a reason for hiding this comment

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

@sadjow From the Nuxt documentation for modules, I don't think this is possible in the playground, but they will work on a standard Nuxt installation that uses the module:
image
Link for more info

Copy link
Member

Choose a reason for hiding this comment

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

thank you for clarifying this!

@sadjow
Copy link
Member

sadjow commented Sep 27, 2024

@hakenprog could you please update the README when possible

@hakenprog hakenprog force-pushed the simplify_api_to_access_utm_parameters branch from 1bdc32e to 5fa60f8 Compare October 9, 2024 12:44
@hakenprog hakenprog merged commit 0e59f8a into main Oct 16, 2024
2 checks passed
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.

Simplify API to access UTM parameters
2 participants