How to set login users as custom variable?


(shay hakshorian) #1

Hi, I am trying to set avariable that’s contains the users login
the issue is the the login user value is always overrides the old value.
I want to create asegment that make statictices for each login user in each login click.


(Matthieu Aubry) #2

the issue is the the login user value is always overrides the old value.

This is how Custom Variables work: Custom Variables Analytics - Analytics Platform - Matomo
But when the user does a new visit, then the value will not over-ride the value of the previous visit. It only overrides value for the current visit.