Gain clear insights into important metrics about your customers, using Google Analytics.
To use it, you will need to create a Google Analytics account and insert your Google Analytics Identifier into the Module configuration page.
Enhanced Ecommerce must be enabled in Google Analytics settings for full functionality. Otherwise, some data (refunds etc.) will not be visible. Follow the related instructions.
- Install the module into your shop.
- Create an account on Google Analytics if you do not have one.
- Go on the "Configure" page of the module to insert your Google Analytics Identifier.
- The data will then be sent to Google Analytics and you can monitor/explore it.
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
Google Analytics is compatible with all versions of PrestaShop 8, 1.7 and 1.6.
Contributors must follow the following rules:
Make your Pull Request on the "dev" branch, NOT the "master" branch.
- Do NOT update the module's version number.
- Follow the coding standards.
Process in details
Contributors wishing to edit a module's files should follow the following process:
- Create your GitHub account, if you do not have one already.
- Fork the ps_googleanalytics project to your GitHub account.
- Clone your fork to your local machine in the
/modules directory of your PrestaShop installation.
- Create a branch in your local clone of the module for your changes.
- Change the files in your branch. Be sure to follow the coding standards!
- Push your changed branch to your fork in your GitHub account.
- Create a pull request for your changes on the 'dev' branch of the module's project. Be sure to follow the commit message norm in your pull request. If you need help to make a pull request, read the Github help page about creating pull requests.
- Wait for the maintainer team either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open source project! Congratulations!