Skip to content

Commit 92b6764

Browse files
authored
Compatibility fix for Magefan Rocket Js
1 parent fde8269 commit 92b6764

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

view/frontend/templates/js_code.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ if (!isset($escaper)) {
126126
mfLoadGtm();
127127
<?php } ?>
128128

129+
if (!window.MagefanRocketJsCustomOptimization)
129130
require(['jquery', 'Magento_Customer/js/customer-data'], function ($, customer) {
130131
function updateMfGtmCustomerIdentifier(data) {
131132
if (data.mf_gtm_customer_identifier) {

0 commit comments

Comments
 (0)