Article ID: 118731, created on Nov 19, 2013, last review on May 11, 2014

  • Applies to:
  • Odin Business Automation Standard 4.3


I want to configure integration of Google Analytics Ecommerce Tracking with new store

How can I do this?


Here is a Feature Request for implementation of Google analytics in PBA-S store:

PBAS-26021 - There is should be a simple way to track and analyze customer visits in online store

Currently the integration should be configured manually using information from PBA-S SDK.


Below are some tips for configuring integration for new store.

Integration is to be implemented in confirmation.php.html template file. This file represents the final step of purchase flow when all information about the order is gathered.

The store templates are located in the /var/opt/hspc-store/templates/ directory.

The customized templates should be placed in the upgrade-safe directory:


You may want to use the following variables:

                                   ['rate']      // unit price
                                   ['duration'] // period

                               ['state'] or ['state_alt']

NOTE: You can dump the variables by sw_log (dumper($_SESSION['order']));. All dumped information will be present in /var/log/hspc/store.log.

To know the detail_list length use function

NOTE: New Store use single page design, so the URL will be https://<yourdomain.tld>/shop/<lang_id>/ only. To render different stages of shopping process, like index, configuration, checkout, payment, confirmation, different templates are used.

Additional information

New Store Configuration Basics

Forum: Google analytics and PBAS 4.3 new store

Search Words

online store

Google analytics

new store

Google Analytics Ecommerce Tracking

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 70a5401e8b9354cd1d64d0346f2c4a3e 807e9c1dc97aefd951b912a17e50c428

Email subscription for changes to this article
Save as PDF