Download the PHP package kunoichi/ga-communicator without Composer

On this page you can find all versions of the php package kunoichi/ga-communicator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ga-communicator

Google Analytics Communicator

Tags: google-analytics, api
Contributors: tarosky, Takahashi_Fumiki
Tested up to: 6.2
Requires at least: 5.9
Requires PHP: 7.2
Stable Tag: nightly
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Let your WordPress communicate with Google Analytics API.

Description

This plugin has custom functions to connect with Google Analytics.

NOTICE: Google will stop Universal Analytics(UA) at July 1st, 2023. Since then, you will be able to create only Google Analytics 4(GA4) accounts. API for UA is Core Reporting API, and one for GA4 is Google Analytics Data API. This API change is a breaking change. Please see our wiki to check what you should do for the migration.

Default Feature

Register Service Account and Setup

To communicate with Google Analytics, WordPress needs permission to do so.

Service Account works as permission.

Get the service account key at Google API Console(document).

A service account is like a bot with email and performs like a virtual Google account.

  1. Create a service account. You may be requested to create a new project, or else you can also use an existing project. The bot belongs to the project.
  2. Get private key in JSON format for the service account.
  3. Enable Analytics Reporting API and Google Analytics API for the project.
  4. Copy the service account's email address and add it to a member of your Google Analytics account, properties, or profiles. It depends on your Google Analytics permission policy.
  5. Go to your WordPress admin Setting > Google Analytics Setting and save the private key that you get in step 2.

NOTICE: Save whole credentials including empty line with +A and +C. Otherwise, your key will be considered invalid by Google's API.

If the service account is valid, you can see your Google Analytics Properties in your WordPress Admin screen.

Custom Use

If the setup is ready, you can communicate with Google Analytics through the function ga_communicator_get_report( $config ). It's a utility function to access batchGet API.

Please visit our Wiki to find many code examples.

Installation

From Plugin Repository

Click install and activate it.

Via Composer

You can install this plugin as a composer library. See our Wiki.

FAQ

Where can I get support?

Please create a new ticket on the support forum.

How can I contribute?

Create a new issue or send pull requests.

Changelog

3.7.1

3.0.0

2.0.0

1.0.0


All versions of ga-communicator with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
google/auth Version ^1.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kunoichi/ga-communicator contains the following files

Loading the files please wait ....