Help for this page

Select Code to Download


  1. or download this
    $req = $analytics->new_request( realtime => "true",
     ids => "ga:12345678",
     dimensions =>"rt:country,rt:city,rt:pagePath,
    ...
    metrics =>"rt:activeUsers",
    filters =>"rt:country==England",
    );
    
  2. or download this
     select * from query_builder where query_no = 14;
  3. or download this
    Record 1 realtime => "true",
    Record 2 ids => "ga:12345678",
    Record 3 dimensions =>"rt:country,rt:city,rt:pagePath,rt:latitude,rt:l
    +ongitude",
    Record 4 metrics =>"rt:activeUsers",
    Record 5 filters =>"rt:country==England",
    
  4. or download this
    realtime => "true",
    ids => "ga:12345678",
    dimensions =>"rt:country,rt:city,rt:pagePath,rt:latitude,rt:longitude"
    +,
    metrics =>"rt:activeUsers",
    filters =>"rt:country==England",
    
  5. or download this
    $qry_str = 'realtime => "true",
     ids => "ga:12345678",
     dimensions =>"rt:country,rt:city,rt:pagePath,rt:latitude,rt:longitude
    +",
     metrics =>"rt:activeUsers",
     filters =>"rt:country==England",';
    
  6. or download this
    while ( @row = $sth->fetchrow_array() ) {
     $qry_str .= $row[0];
     }
    
  7. or download this
    $req = $analytics->new_request(
    $qry_str
    );