Custom event `referrer` property in payload not overriding Plausible's internal referrer
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by tracing how the https://plausible.io/api/event endpoint handles the supplied referrer when events arrive from a session managed by next-plausible. Verify whether the explicit payload value is discarded in favor of the session referrer, and confirm that the provided referrer is used for attribution on delayed custom events.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Past Issues Searched
- I have searched open and closed issues to make sure that the bug has not yet been reported
Issue is a Bug Report
- This is a bug report and not a feature request, nor asking for self-hosted support
Using official Plausible Cloud hosting or self-hosting?
Plausible Cloud from plausible.io
Describe the bug
We are experiencing an issue where the referrer property, explicitly sent within the payload of our custom events via a direct call to Plausible's API, is not consistently used for attribution. This occurs even when we provide a specific referrer value, which is stored in our database (original referred from his first login).
Instead, Plausible's dashboard often displays the internal referrer you got from his active session (first pageview from that session), particularly for events happening within an active session managed by next-plausible.
Our setup involves:
- Automatic Tracking: Using
next-plausiblefor standard pageview tracking and other automatic events. - Custom Events: Sending specific custom events by directly calling the
https://plausible.io/api/eventendpoint from our server-side using afetchrequest.
We are trying to do this because our Goals are usually happening hours or days after the first interaction with the page, so we want to track the original referrer as referrer for those events in Plausible.
As a workaround we are registering them now as Custom Properties, but finding some issue with that workaround too.
Expected behavior
We'd expect the referrer sent by our api call to override Plausible's internal referrer and the custom event to be linked with the referrer we are providing.
Screenshots
No response
Environment
- OS:
- Browser:
- Browser Version:
- Lenguaje dominante
- Elixir
- Estrellas
- 29.7k
- Forks
- 1.9k
- Merge medio
- 3 d 22 h
- PR fusionados (30 d)
- 50
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de plausible/analytics
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
plausible/analytics#6802 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
ObanErrorReporter purges imported data when the cleanup worker crashes — silent loss of completed CSV importsPosiblemente ocupada @EmmS21 la tomó hace 97 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
plausible/analytics#5201 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Wrong API URL for GTMAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
plausible/analytics#5200 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de plausible/analytics
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ash-project/ash_json_api#467 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Bug: Error-message "Nickname has already been taken" appears only in english for all localizationsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
hexlet-codebattle/codebattle#2370 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
MustacheCase/zanadir#403 ·
Los mantenedores suelen responder en 1 día