Skip to content

Oro Bundle to inject Tracking Code (eg Google Analytics, GTM, LogRocket, Hotjar, etc)

License

Notifications You must be signed in to change notification settings

FriendsOfOro/OroCustomerTrackingBundle

Repository files navigation

OroCommerce Customer Tracking Bundle

This bundle adds support for user tracking code injection.

Currently supported trackers are:

For applicable trackers, the currently logged-in user will also be provided with the tracking payload.

NOTE: Google Analytics support has been removed as there is a superior bundle provided by Oro: Oro Google Tag Manager Bundle

Inspired by the OroCommerce Analytics/GTM Bundle by DivanteLtd (unmaintained)

Requirements

  • OroCommerce 5.0.X

Installation and Usage

NOTE: Adjust instructions as needed for your local environment

  1. Install via Composer:
    composer require friendsoforo/oro-customer-tracking-bundle
  2. Purge Oro cache:
    php bin/console cache:clear --env=prod
  3. Login to Oro Admin
  4. Navigate to System Configuration => Friends of Oro => Customer Tracking/Analytics
  5. Configure the required Tracking Providers as needed
  6. Save the configuration and verify that they are now appearing on the frontend website

Licence

MIT - MIT License