AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
1.7K members online now
1.7K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Tracking single page app register/login

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have a question about using Google Analytics on a single page application (a login / registration page).

The application has two urls depending on the user action:

 

https://example.com/login#/

https://example.com/login#/register

 

Will Google track users who visit /login/# and /login#/register separately or just to the single page application's index page?

 

Thank you.

Re: Tracking single page app register/login

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭
I believe I have found the answer here: https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications

Seems Google will track page views if I add the dynamic pages as parameters.