rapidez/elgentos-serverside-analytics

There is no license information available for the latest version (0.5.0) of this package.

Rapidez Elgentos Serverside Analytics

0.5.0 2023-04-05 07:45 UTC

This package is auto-updated.

Last update: 2024-03-05 09:50:42 UTC


README

This package installs Laravel GAMP which uses the Google Analytics Measurement Protocol library to send pageviews to Google Analytics. On top of that it sends the generated client / user id to Magento when the credentials in the checkout are saved, so the Server Side Analytics package from Elgentos has the same id so the pageviews and the order can ben linked together.

Requirements

The forked Server Side Analytics package installed and configured within your Magento 2 installation:

composer config repositories.elgentos/serversideanalytics2 git https://github.com/jbclaudio/magento2-serversideanalytics.git
composer require elgentos/serversideanalytics2:dev-master

Installation

composer require rapidez/elgentos-serverside-analytics

Configuration

Add your UA code from Google in your .env with GA_ID= or publish the config file and configure it as you like:

php artisan vendor:publish --provider="Irazasyed\LaravelGAMP\LaravelGAMPServiceProvider"