Skip to content

Conversation

mborkowski
Copy link
Contributor

Since 2.6.1 json initializing magepalGtmDatalayer is invalid. This breaks scripts execusion, it's IMO critical:
Uncaught SyntaxError: Unexpected token } in JSON at position 113 at JSON.parse (<anonymous>) at getNodeData (scripts.js:87) at Array.map (<anonymous>) at scripts.js:117 at apply (main.js:77)

Since `2.6.1` json initializing `magepalGtmDatalayer` is invalid. This breaks scripts execusion, it's IMO critical:
```{
        "*": {
            "magepalGtmDatalayer": {
                "dataLayer": "<?= /* @NoEscape */ $block->getDataLayerName() ?>"
            }
        }
    }```
@srenon srenon merged commit d34c932 into magepal:master Mar 30, 2021
@srenon
Copy link
Contributor

srenon commented Mar 30, 2021

@mborkowski ... thanks for pointing this out... I will release a new version shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants