Skip to content

Instantly share code, notes, and snippets.

View taposh-kumar's full-sized avatar

Taposh Kumar Barmon taposh-kumar

View GitHub Profile
@ko31
ko31 / SampleFilterAnalytics.php
Created December 19, 2018 16:17
Get reports with multiple condition filters for Google Analytics Reporting API v4
<?php
// composer require google/apiclient
/**
* @link https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/service-php
* @link https://developers.google.com/analytics/devguides/reporting/core/v4/samples
* @link https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet
*/