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
3.6K members online now
3.6K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Does google track my JS part of website without setting virtual pageviews in google analytics?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

If I not setting virtual pageviews in google analytics for my javascript part of website e.g.

<a href="#" class="slideshow-button clicked">Slideshow</a>
<a href="#" class="fullscreen-button clicked">Full Screen</a>

 

Google will still track that JS part of website and I will see that in my bounce rate, page per session ... or I need first setting virtual pageviews for google can track that?
Does google search algoritham track my javascript part of website without setting virtual pageviews in google analytics?

 

1 Expert replyverified_user

Does google track my JS part of website without setting virtual pageviews in google analytics?

Top Contributor
# 2
Top Contributor

This article will properly explain how to track single page apps and javascript areas of your site: 

https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications

Joshua, Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’