Skip to content

Commit

Permalink
GoogleAnalytics: Corrected MinAppVersion value
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Herzog committed Oct 7, 2020
1 parent 7eda208 commit 6588a20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private string GetStorageScript()
{
// If no consent to analytical cookies was given, set storage to none.
var script = @"
, {
{
'storage': 'none',
'clientId': '" + _workContext.CurrentCustomer.CustomerGuid + @"',
'storeGac': false
Expand Down Expand Up @@ -251,7 +251,7 @@ private string GetEcommerceScript(Order order, bool cookiesAllowed)
script = script.Replace("{ECOMMERCE}", ecScript);

// If no consent to third party cookies was given, set storage to none.
script = script.Replace("{STORAGETYPE}", cookiesAllowed ? "" : GetStorageScript());
script = script.Replace("{STORAGETYPE}", cookiesAllowed ? "'auto'" : GetStorageScript());
}

return script;
Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/SmartStore.GoogleAnalytics/Description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SystemName: SmartStore.GoogleAnalytics
Group: Analytics
Version: 4.0.1.1
MinAppVersion: 4.0.1.1
MinAppVersion: 4.0.1
DisplayOrder: 1
FileName: SmartStore.GoogleAnalytics.dll
ResourceRootKey: Plugins.Widgets.GoogleAnalytics
Expand Down

0 comments on commit 6588a20

Please sign in to comment.