Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 584 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 584 Bytes

LVEngine - Google Analytics Library

This library is focused in a specific company problem. Not much use for other devs.

Credentials file, generated by google, is expected to be in the vendor folder. Feel free to relocate.

Usage example:

require_once __DIR__ . '/vendor/autoload.php';

use \Analytics\Ga;
use \Analytics\Audience;
use \Analytics\Conversion;
use \Analytics\Behavior;

$behavior_report = new Behavior();
$behavior_report->setViewId("XXXXXXXX");
$behavior_report->setDate("2017-08-01", "2017-08-07");

$output = $behavior_report->internalSearches();