Skip to content

Commit 49e67f4

Browse files
MC-30789: GTM is not trigged without Page Reload
1 parent 41f5977 commit 49e67f4

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Cookie/view/frontend/web/js

1 file changed

+1
-1
lines changed

app/code/Magento/Cookie/view/frontend/web/js/notices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ define([
3030

3131
if ($.mage.cookies.get(this.options.cookieName)) {
3232
this.element.hide();
33-
$(document).trigger('ga:init');
33+
$(document).trigger('user:allowed:save:cookie');
3434
} else {
3535
window.location.href = this.options.noCookiesUrl;
3636
}

0 commit comments

Comments
 (0)