So, I need to write a piece of code which fires whenever a “new user session” starts. i.e. only on the first entry page, not on any subsequent pages during that session.
Hi, Paul - is there a reason you don’t want to use triggers? Performing an action when a certain event occurs is exactly what Matrix triggers are intended for.
I just want to create/start a session whenever ANY user (logged in or not logged in) comes to our website.
So in a sense, if he is NOT logged in, I want to assign him a unique value and store that value in a session, so that I can track his activity. Sort of like how GA works … Now sure if this is achievable from within Matrix ???