Skip to content

Commit 873bdca

Browse files
MC-30789: GTM is not trigged without Page Reload
1 parent 90a479f commit 873bdca

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

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

3131
if ($.mage.cookies.get(this.options.cookieName)) {
3232
this.element.hide();
33+
$(document).trigger('ga:init');
3334
} else {
3435
window.location.href = this.options.noCookiesUrl;
3536
}

0 commit comments

Comments
 (0)