I have a list of specific URLs in Google api, and I would like to get the pv count for each URL.
Is there a good way?
filters='ga:pagepath==list'
The image does not work.
python google-analytics-api
I don't know exactly what's going on with the == list part, but I can use regular expressions for filters, so how about getting them?
For example, suppose you have a list of paths at the following URL:
/hoge/index.html
/hoge/fuga/index.html
/hoge/fuga2/index.html
If you want to retrieve data for all of these paths, you can write it as follows: /hoge It means to retrieve data for all URLs below.
filters='ga:pagepath=~/hoge/*'
Please refer to the link below for details.
© 2024 OneMinuteCode. All rights reserved.