Skip to content

Gain clear insights into important metrics about your customers, using Google Analytics.

License

Notifications You must be signed in to change notification settings

PrestaShop/ps_googleanalytics

Repository files navigation

alt tag

About

Gain clear insights into important metrics about your customers, using Google Analytics 4.

To use it, you will need to create a Google Analytics account and insert your Google Analytics Identifier into the Module configuration page.

Compatibility

PrestaShop: 1.7.7.0 or later

Notes

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.

Configure

  1. Install the module into your shop.
  2. Create an account on Google Analytics if you do not have one.
  3. Go on the "Configure" page of the module to insert your Google Analytics Identifier.
  4. The data will then be sent to Google Analytics and you can monitor/explore it.

Contributing

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 PrestaShop 1.7.7 and newer.

Requirements

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:

  1. Create your GitHub account, if you do not have one already.
  2. Fork the ps_googleanalytics project to your GitHub account.
  3. Clone your fork to your local machine in the /modules directory of your PrestaShop installation.
  4. Create a branch in your local clone of the module for your changes.
  5. Change the files in your branch. Be sure to follow the coding standards!
  6. Push your changed branch to your fork in your GitHub account.
  7. 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.
  8. 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!