Skip to content

Commit edb9c6e

Browse files
committed
Fix-issue-21292
1 parent e5c1527 commit edb9c6e

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/GoogleAnalytics/Block

1 file changed

+1
-1
lines changed

app/code/Magento/GoogleAnalytics/Block/Ga.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function getPageTrackingData($accountId)
205205
{
206206
return [
207207
'optPageUrl' => $this->getOptPageUrl(),
208-
'isAnonymizedIpActive' => $this->_googleAnalyticsData->isAnonymizedIpActive(),
208+
'isAnonymizedIpActive' => (int)$this->_googleAnalyticsData->isAnonymizedIpActive(),
209209
'accountId' => $this->escapeHtmlAttr($accountId, false)
210210
];
211211
}

0 commit comments

Comments
 (0)