Estéban

Results 244 comments of Estéban

> @Barbapapazes Thanks for the ping. I can surely give it a try and see if Vite in middleware mode sets that env variable or not Oops, I just realized...

Hello, Since this package have not been update for two years, I made a fork. I rewrite the tracker to be more modular and I fix this issue. https://github.com/Barbapapazes/plausible-tracker

That's a good idea. Do you want to open a PR for this?

Hello! First, try to use the utility [`getHeader`](https://www.jsdocs.io/package/h3#getHeader). Then, the referrer header https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer is not always (direct access or rel is noreferrer) set this is why you need a fallback.

> If referrer header is not set then in fallback what should happen? > many thanks 🙌 > Yes! If there is no referrer, so user is redirect back to...

No issue! Will make you a better in-context response once I've my computer with me!

First, we are writing the documentation. I highly recommended you to take a look to have a better understanding of utilities. https://github.com/unjs/h3/pull/595 Then, do not use `event.node.res.getHeader('referrer')` but `getHeader(event, 'referrer')...

See referrer as a message like "user come to this page from ".

Hello, related to #375 related to #605 This come from a bug in Unidici: https://github.com/nodejs/undici/issues/2046.

Tools like cleavr.io or forge.laravel.com https://forge.laravel.com/docs/accounts/tags.html