[gen] Bugfix.
This commit is contained in:
parent
a94d400d03
commit
e5d6887b65
|
@ -1231,7 +1231,7 @@ class ToolMixin(BaseMixin):
|
||||||
if self.isDebug(): return
|
if self.isDebug(): return
|
||||||
# Disable Google Analytics if no ID is found in the config.
|
# Disable Google Analytics if no ID is found in the config.
|
||||||
gaId = self.getProductConfig().googleAnalyticsId
|
gaId = self.getProductConfig().googleAnalyticsId
|
||||||
if not gaid: return
|
if not gaId: return
|
||||||
# Google Analytics must be enabled: return the chunk of Javascript
|
# Google Analytics must be enabled: return the chunk of Javascript
|
||||||
# code specified by Google.
|
# code specified by Google.
|
||||||
code = "var _gaq = _gaq || [];\n" \
|
code = "var _gaq = _gaq || [];\n" \
|
||||||
|
|
Loading…
Reference in a new issue