Open ViorelMocanu opened 1 year ago
Happy to give you a year for free in exchange for a plugin :)
Happy to give you a year for free in exchange for a plugin :)
It's a deal! :) I'll bump this issue when I have one ready. Any preferences on coding styles or any other aspects I should be aware of before getting started?
Just use the default prettier and we're good to go!
Just use the default prettier and we're good to go!
I'll get back to you with a link for the first version early next week. Thanks!
Just use the default prettier and we're good to go!
Have a look and let me know what you think, please: https://github.com/ViorelMocanu/astro-simpleanalytics-plugin (it's already published on NPM here)
Thanks! Would you mind adding it to https://github.com/simpleanalytics/astro-plugin? I added you as a collaborator.
We can auto-deploy from main with something like this:
https://github.com/simpleanalytics/vue-plugin/blob/main/.github/workflows/release.yml
Done. Imported from the original repo after tweaking the release.yml
file, allowing it to work.
Thanks! :)
@adriaanvanrossum any updates regarding the above? ^
Thanks for your patience. You did an outstanding job! Wow.
I added the NPM credentials. Deploy should work now.
Should we keep it consistent with our other packages and rename it to astro-plugin-simple-analytics
? I am not sure if that breaks things.
If you could make a PR at https://github.com/simpleanalytics/docs/blob/master/_docs/31_integrations/00_astro.md, that would be great. Just a simple how to use would be enough.
astro-plugin-simple-analytics
and publishing it to NPM would create another independent NPM package, alongside the original. Not sure if that's what you want. Either way, I can make the change on either one or both repos, just let me know how you suggest we proceed with the renaming, please.Thanks for the reply!
It would be great (and it would help promote your solution) if you could create an Astro plugin. The integration is super simple even without one, but it would probably help visibility and usage for Astro enthusiasts.
Of course, having an option to add the Light vs Full script is essential (since Astro prides itself to be as lightweight as possible).
Another required step you could take is natively integrating with Astro Partytown as an optional feature, while you're at it.
Then you could get listed as a new recipe in the Astro Integrations marketplace, Astro Integrations Guide or generic recipes section (or, ideally, everywhere).
Thank you for the wonderful product you're building!