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

Demo analytics code #101

Open
2 tasks
scosman opened this issue Jul 25, 2024 · 0 comments
Open
2 tasks

Demo analytics code #101

scosman opened this issue Jul 25, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@scosman
Copy link
Contributor

scosman commented Jul 25, 2024

We could/should have a quick example of how to add analytics. We don't need to pick a provider, let's leave that to the user. But for a SvelteKit noob, we can tell them where to put it.

Tasks:

  • Add comment where the analytics JS code should be injected. Probably app.html? Can be as simple as
  • Add a step in README guide for replacing that comment with the tracker of your choice, with links to GA, PostHog, Plausible docs for getting your code/ID.
@scosman scosman added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant