• optional
  • ServerSideGoogleAnalytics (optional)

    GitHub - magesuite/server-side-google-analytics

     

    The module adds Google Analytics Server Side Integration.

    By default, Magento sends order information to Google Analytics using javascript on the checkout success page. Modern browsers introduce a cookie policy, which causes additional problems like redirection to an empty cart instead of the success page. As a result, we can’t track all orders. Reports in Google Analytics are incomplete.

    To avoid situations like that, we can send order information using API. This operation is asynchronous, so it won’t cause any problems with checkout.

     

    Installation

    This module is optional.

    composer require "creativestyle/magesuite-server-side-google-analytics" ^1.0.0

    Admin settings

    Admin settings are located in Stores > Configuration > Magesuite > Server Side Google Analytics

    Configuration page

    Field

    Description

    Field

    Description

    Enabled

    If disabled, we will track order information using javascript.

    Account Number

    You can find in in GA control panel.

    Sandbox

    If enabled, data will be send to sandbox API and you can’t see results on the real account

    Debug Mode

    If enabled, communication between Magento and Google API will be logged into file on the websever.

    Brand Attribute

    Select which attribute storage information about product brand.

    Custom Dimension

    You can send additional information about order using Custom Dimensions. Read more info.

     

    Backend

    In progress

     

    Frontend

    There is no frontend functionality for this module.

    How to check the results?

    1. Navigate to Google Analytics

    2. In the left bar move to Conversions > E-commerce > Sales Performance

    How to track custom dimensions?

    Read more about custom dimension Scope: https://support.google.com/analytics/answer/2709828#example&zippy=%2Cin-this-article

    How to see the Custom Dimension value for an order?

     

    Â