Skip to content

Configure Stratus GA Access for Billing

Billing in Stratus is designed to be simple and predictable. Although Mojo Stratus is built on top of many Amazon services, which each have their own individual pricing schemes, our pricing is reduced to only three values.

  1. A regular monthly payment of a base price.
  2. A small charge per session as measured by Google Analytics for sessions over the plan limit.
  3. A charge every GB of storage used over included storage per month.

Through this simple system, server costs are reduced to only what is used each month. As a business grows, it can scale predictably and seamlessly.

Configuring a Site for Google Analytics Billing

First, create a Google Analytics account, if not already created.

Once the account is created, configure the Magento install and Google Analytics for optimized tracking.

Magento 1 Stores

See Best ways to set up GA in Magento 1 from Shero Commerce for configuration of a Magento store and Google Analytics.

Magento 2 Stores

See MageStore Enabling GA in Magento 2 for configuring Magento 2.

Block Known Bots

Since MageMojo charges customers based on user sessions, it's important that you filter known bots and spiders from Google Analytics so that your session usage is as accurate as possible.

To set Google to filter known bots:

  1. Log into your Google Analytics account.
  2. Go to Admin.
  3. In the View column, click View Settings.
  4. Select Bot Filtering > Exclude all hits from known bots and spiders.
  5. Click Save.

Note that your session charges may not be adjusted or refunded if you do not set Google to filter known bots.

Grant MageMojo access

Access must be allowed for Magento so that the stratus billing system can obtain session data from the Google Analytics account.

  1. Log into the customer account on MageMojo.com.
  2. Click on My Stratus.
  3. Click the desired Stratus instance to expand the instance details.
  4. At the bottom of the GA Code panel, copy the email address, similar to stratus-19@stratus-173717.iam.gserviceaccount.com.

    GA Code Panel

  5. Go to https://analytics.google.com/analytics/web/#home/.

  6. Click on the correct view for the Stratus store.
  7. Click Admin Gear Icon in the lower left.
  8. Click View User Management.

    View User Management

  9. Click the blue + icon and select Add Users.

    • Email AddressEnter the GA Account email address noted above.
    • PermissionsSelect "Read & Analyze". Add User Panel
  10. Click Add.

Once this access has been granted, verify the account on the My Stratus page: https://magemojo.com/magento/noc/stratus/index/

After validation and go live, you will start to be charged based on session usage.

Please note that MageMojo does not reimburse for excess sessions caused by bots or malicious traffic. We do block traffic based on a number of rules to prevent excess traffic as detailed at Stratus Traffic Limits