api - How to use filter in gapi.class.php? -


i'm using gapi.class.php data google analytics api here example code

$filter = 'eventvalue =~ 493';  $ga->requestreportdata('00000000',array('eventlabel'),array('totalevents','uniqueevents','eventvalue','avgeventvalue','eventspersessionwithevent'), 'totalevents', $filter ,date("y-m-d"), date("y-m-d")); 

i want filter string prefix "customer received code :" , suffix "493"

example data :

customer received code : 1493 customer received code : 4933 customer received code : 1234 customer received code : 2334 customer sent code : 555 customer received code : 493 customer sent code : 777 

i appreciate if can provide solution.

thanks,


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -