bcwebsitestatistics: Google Analytics tags and order tracking
This page is for site owners who measure traffic and shop sales with Google Analytics. bcwebsitestatistics ("BC
Website Statistics") adds the analytics script to pages and, through the workflow type ezreceipt, reports shop
orders.
Before you start
- The site must be reachable from the Internet.
- You need a configured Google Analytics website profile.
Set it up
- Activate the extension.
- Create
settings/override/bcwebsitestatistics.ini.append.phpwith your own values (see the table). Always setUrchin: the shipped value is an example, not yours. - To report orders, set
OrderSubmit=enabledand add theezreceiptworkflow type to the shop's workflow. - Clear the INI cache and open a page; its source contains the analytics script.
Settings
| File | Block | Key | Shipped value | Meaning |
|---|---|---|---|---|
bcwebsitestatistics.ini | BCWebsiteStatisticsSettings | OrderSubmit | disabled | Report orders |
bcwebsitestatistics.ini | BCWebsiteStatisticsSettings | PageSubmit | enabled | Report page views |
bcwebsitestatistics.ini | BCWebsiteStatisticsSettings | Urchin | an example tracking id | Set your own Analytics id |
bcwebsitestatistics.ini | BCWebsiteStatisticsSettings | HostName, ShopName | disabled, a placeholder shop name | Host and shop names reported |
bcwebsitestatistics.ini | BCWebsiteStatisticsSettings | Script, SecureScript, SecureTagManagerScript | Google script addresses | Scripts included |
What changed
| Version | Date | Change |
|---|---|---|
| 1.0.4, 1.0.5 | January 2024 | composer.json switched to the 7x package; dependency on the ezsystems repository replaced; version updated. |
| 1.0.6 | 18 July 2026 | The generated analytics (gtag) script tags no longer carry the obsolete async, type=text/javascript and language=Javascript attributes (HTML5 validation). |
| 1.0.7 to 1.0.9 | 27 to 30 September 2026 | ezinfo.php has a static info() and states version, license and website; every visible text is a translation string with German; the description names Exponential. |
Related pages
- Extension metadata specification
- Chronicle and release notes
- Change ledger
- Behaviour changes of the extensions
- Months: 2026-07, 2026-09 (all extensions)
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.