<?php

$settings = LSetting::getSettings();

return array(

	/*
	|--------------------------------------------------------------------------
	| Client ID
	|--------------------------------------------------------------------------
	|
	| Set your client id, it should look like:
	| xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com
	|
	*/

	'client_id'        => $settings->api_google_analytics_client_id,


	/*
	|--------------------------------------------------------------------------
	| Service Account Name
	|--------------------------------------------------------------------------
	|
	| Set your service account name, it should look like:
	| xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@developer.gserviceaccount.com
	|
	*/
	'service_email'    => $settings->api_google_analytics_service_email,


	/*
	|--------------------------------------------------------------------------
	| Path to the .p12 certificate
	|--------------------------------------------------------------------------
	|
	| You need to download this from the Google API Console when the
	| service account was created.
	|
	| Make sure you keep your key.p12 file in a secure location, and isn't
	| readable by others.
	|
	*/

	'certificate_path' => __DIR__ . '/' . $settings->api_google_analytics_file,

    'use_objects'      => true,
);
