I have a portal which is a SPA and at the same time single URL app, everything loads on the screen dynamically without the change of URL. My application is actually a chat application where an agent communicates with user and this communication includes various stages, and the final stage is, when a user is displayed with the content of survey screen (URL is still the same as landing page)
Because of which I have created a Goal in GA that if a user stays on my URL for more than 4 mins then My goal is completed, I know this is not the real goal. i cannot figure out how can I trigger any goal from my survey screen.
So here I need to understand:
- What should be my goal and how to create it?
- How to trigger my above created goal?