File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/code/Magento/GoogleAnalytics Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ public function getPageName()
75
75
}
76
76
77
77
/**
78
- * Render regular page tracking javascript code
78
+ * Render regular page tracking javascript code.
79
+ *
79
80
* The custom "page name" may be set from layout or somewhere else. It must start from slash.
80
81
*
81
82
* @param string $accountId
Original file line number Diff line number Diff line change @@ -46,6 +46,6 @@ public function isGoogleAnalyticsAvailable($store = null)
46
46
*/
47
47
public function isAnonymizedIpActive ($ store = null )
48
48
{
49
- return $ this ->scopeConfig ->getValue (self ::XML_PATH_ANONYMIZE , ScopeInterface::SCOPE_STORE , $ store );
49
+ return ( bool ) $ this ->scopeConfig ->getValue (self ::XML_PATH_ANONYMIZE , ScopeInterface::SCOPE_STORE , $ store );
50
50
}
51
51
}
You can’t perform that action at this time.
0 commit comments