For example, a logged in user will always reach my /customer/info page after logging in, so can i separate my Google analytics result based on whether or not users of my site reached that page? I've contacted google support many times, and they all said this is impossible. But i feel like they were just trying to not help me. they always said i need to redirect the customer to some kind of thankyou.hmtl page before they're brought to their profile page, but why do i need this thankyou.html page when a user is always brough to their profile page after logging in and my user profile page is also an html page (cshtml) and start the tracking there? a few result from google says this is the code i want but im not sure where to impement that. if (isset($userId)) { $gacode = "ga('create', 'UA-XXXX-Y', { 'userId': '%s' });"; echo sprintf($gacode, $userId); } else { $gacode = "ga('create', 'UA-XXXX-Y');"; echo sprintf($gacode); } i expect a way for Google Analytics to give me two separate data based on whether or not a user is logged in. i want to see the different pages a logged in users might visit vs non logged in users
With the help of view in the property setting of Google Analytics, we can easily set up it for a particular user on the website.
you can by separate. I have already checked and wanted to know but I didn't get any clue about this what you asked. My education notice website www.nunotice.com