Skip to content
Advertisement

Tag: google-analytics-api

API returning incorrect transactionsPerSession and transactionRevenue data when a custom filter pagepath added

I am using the API to get analytics data display, For that first I am checking data and parameters in this ga-dev-tool. have checked both ways in ga-dev-tool. When I try without pagepath its works properly and I get data of transactionsPerSession and transactionRevenue. But when I try with pagepath in the same way it’s not working and giving 00

How to get all properties for Google Analytics GA4 accounts

How do I list all properties for all account using Google Analytics GA4 through PHP? For universal analyitcs I’m using the following: However, this method only allows me to retrieve Universal analytics properties, not the new GA4 ones. The official documentation was of no help at all. Answer Google analytics GA4 is not the same as universal analytics. You can

Google Api PHP Client Library

I am trying to use the Google API PHP Client library for Google Analytic v3. I am able to run the simple app I wrote at home, but when I try at the office it doesn’t work. When I run the program I am asked to authorize the php app to my google account. After allowing access I get Google_IOException:

Advertisement