Skip to main content

google_analytics — module reference

Rendered from the module's own manifest, and from nothing written by hand. What the module does is its own page.

Module idgoogle_analytics
NameGoogle Analytics
Version1.0.0
Ships from@endora-commerce/mod-google-analytics
LicenceMIT

Activation​

An operator switches this module on and off on /platform/modules. The choice is the setting google_analytics.module_enabled, and it defaults to on.

Dependencies​

ModuleBindingWhat it means
audit_logsyesinstalls and migrates after it, and an operator cannot switch it off underneath this module
authyesinstalls and migrates after it, and an operator cannot switch it off underneath this module
cmsyesinstalls and migrates after it, and an operator cannot switch it off underneath this module
sales_channelsyesinstalls and migrates after it, and an operator cannot switch it off underneath this module
settingsyesinstalls and migrates after it, and an operator cannot switch it off underneath this module

Permissions​

CodeLabelAlso needs
google_analytics:readView Google Analytics configuration—
google_analytics:writeManage Google Analytics configuration and custom events—

Command palette​

ActionOpensPermission
new-google-analytics-event/google-analytics/newgoogle_analytics:write
open-google-analytics/google-analyticsgoogle_analytics:read

Settings​

CodeNameType
google_analytics.enabledEnable Google Analyticsboolean
google_analytics.enhanced_ecommerce_enabledEnhanced Ecommerceboolean
google_analytics.measurement_idMeasurement IDstring
google_analytics.module_enabledGoogle Analytics module enabledboolean
google_analytics.require_consentRequire analytics consentboolean
google_analytics.server_side_api_secretMeasurement Protocol API secretsecret
google_analytics.server_side_enabledServer-side taggingboolean
google_analytics.server_side_endpointServer-side endpointstring

Translations​

Bundles at i18n inside the module, one file per shipped language.

Operator commands​

None.