theiconic / php-ga-measurement-protocol

Send data to Google Analytics from the server using PHP. Implements GA measurement protocol.
MIT License
655 stars 136 forks source link

How can i change clientId after some steps? #75

Open liorphp opened 5 years ago

liorphp commented 5 years ago

I want to save all visitor actions, before and after he's login and no matter on which computer (after he login. i can recognize him). Thanks!

payamomrani commented 4 years ago

Hi you can use "setUserId({userId})" method after user login;