Google Analytics API: how to extract pageviews for a specific page?
I tried using something like
ga:pagePath=~page.php%3fid%3d44 (page.php?id=44)
but it doesn't seem to work... I get "no results found" where I have 20 pageviews for sure
UPDATE
I think I found the solution
ga:pagePath==/website/page.php?id=44
for some reason I had to include the complete path and ==
The first thing you need to do is open up Google Analytics, and then go to the behavior tab. In the behavior tab, click on the site content, then content drilldown tab. Then, you simply need to click the search icon in the bar, and you will be greeted with analytics specific to that individual page/post.
Google Analytics tracking lets you see pageviews on your form using your Google Analytics account. It's super useful when you want in-depth knowledge about how many people are viewing your form and who they are. You need a Google Analytics account to use this feature. TIP!
A link click means that a person clicked a link in your ad. A 'landing page view' is when a person lands on your ad's destination URL (landing page) after clicking a link in your ad. From Facebook: "Landing page views let you know how many times people loaded your website, after clicking your ad.
To use a partial path to match for a page in filters you should use
ga:[email protected]?id=44
=@
tells ga
to match a substring.
What you were originally using was incorrect for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With