google analytics api php, how to access total sessions for all landing pages that start with a certa

dandan274dandan274 Tel Aviv

i want to access the total number of sessions for landing pages that start with the url "/biz".

Here are the dimensions and metrics I am using:

$dimensions = "ga:landingpagePath";
$metrics = "ga:sessions";
$filters = "ga:landingpagePath=~^/biz"; 
$sort = "-ga:sessions";

But this prints out the individual pages and sessions for each. I want all of these sessions added up. And I cant write a program to do it myself because there are just too many of them and they exceed the limit.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories