Milan Gajjar Milan Gajjar - 1 year ago 74
PHP Question

How to get Google analytics data in chart

I want to get

Google Analytics
data in any chart using

I have Created a project in my account and I have

tracking code

all credentials of google Auth.

I have follow this link
my tracking code is here

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga('create', 'UA-xxxxxxxx-1', 'auto');
ga('send', 'pageview');


but I don't know what to do further

Answer Source

trying to this one first download the .12 in your Authentication add sdndsuidds-fkmfsdfdsf-545.p12 file check this code in your file

$google_account = array(
  'email'   => '',
  'key'     => file_get_contents('file-name.p12'),
  'profile' => 'profil-id'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download