javascript - Is getting page type/name from selected tab css a feasible idea? -
i have page multiple tabs.i need add google analytics code page,but tabs part of same page,and need tab name have data on phase user interacting with.is using css ,to check selected tab feasible idea or have other possible options achieve same?
edit:on tab selection page reloads url remains constant.it 1 portlet in tabs present
you can track tabs google analytics. here's article using google analytics on single-page app:
https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications
you send virtual pageviews each tab view.
Comments
Post a Comment