When going to our corporate website, for example, www.abc.org, google analytics does its thing. it sets cookies for the domain. When the user has to login, they are taken to our custom domain, Okta hosted login page, sso.abc.org. There are no cookies for .abc.org present until I refresh the page. This is what is seen on the corporate website. All of these cookies appear in Developer tools after refresh.
Has anyone had to deal with this, or created a workaround. This kills any analytics data if a user has to go to login.