Tuesday, October 25, 2022
HomeWordPress DevelopmentMonitoring Complete Pageviews By Submit Kind In Google Analytics

Monitoring Complete Pageviews By Submit Kind In Google Analytics


I need to have the ability to setup a graph/desk in Google Analytics that can let me see what number of views I get by put up kind. So for instance, I need to know the overall variety of views on evaluations, information, guides and so on.

From what I can collect, that is one thing you are able to do utilizing a customized dimension. I setup a customized dimension in GA for this and I’ve added the next code after the analytics code within the head of my internet web page.

window.dataLayer.push({'occasion': 'pageview', 'dimension2': 'information', 'dimension3': 'web site 3'});

My pondering right here is that when somebody views a put up, this code will guarantee +1 is added to the overall for information so i can discover out the overall variety of views.

I noticed another guides say to do it through gtag however this has not labored both.

gtag('occasion', 'view', {'pType': 'information', 'web site': 'web site 3'});

Has anybody been capable of get this working?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments