File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/GoogleAnalytics Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ public function getPageTrackingData($accountId)
206
206
{
207
207
return [
208
208
'optPageUrl ' => $ this ->getOptPageUrl (),
209
- 'isAnonymizedIpActive ' => ( int ) $ this ->_googleAnalyticsData ->isAnonymizedIpActive (),
209
+ 'isAnonymizedIpActive ' => $ this ->_googleAnalyticsData ->isAnonymizedIpActive (),
210
210
'accountId ' => $ this ->escapeHtmlAttr ($ accountId , false )
211
211
];
212
212
}
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