-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
AEM version: 6.4
AEM Datalayer version: 0.3.0
Hi there. When we add a datalayer configuration to one of our sites, the following error appears when the page loads:
Uncaught SyntaxError: Invalid or unexpected token
at Object.ns.configParser (core.js:7499)
at new constructor (core.js:8461)
at HTMLUnknownElement.<anonymous> (core.js:34654)
at Function.each (jquery.js:370)
at jQuery.fn.init.each (jquery.js:137)
at Object.ns.ContentFrame.self.getEditables (core.js:34650)
at Object.ns.ContentFrame.self.loadEditables (core.js:34691)
at Object.<anonymous> (core.js:34711)
at Function.Deferred (jquery.js:3472)
at Array.ns.ContentFrame.self.loadEditablesAsync (core.js:34710)
The datalayer works, we can add data to it and see that it is exposed, but the site does not display properly. Everything works when we add a configuration to the WeRetail project. The issue seems to stem from a bad json config-object in some CQ-specific JS, but we haven't been able to discern the real cause of the issue.
Metadata
Metadata
Assignees
Labels
No labels