Over my webpage I use the google-provided ga
function in order to send pageviews to my panel.
But how I will detect during development of the webpage's javascript when the javascript send pageview?
I am asking because it may sends more pageviews that requested especially on infinite scrolling pages and single-page applications.
I am not asking how to debug javascript but I am asking on how you can gen an indication when the page's javascript sends a pageview into the google analytics WITHOUT/BEFORE the need of deployment. In other words how I will detect over the tools that browser provides to me in order to detect when my webpage sends a pageview.