-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configParser issue when applying datalayer to different site than WeRetail #15
Comments
The issue seems to be present when the page is within a folder structure - which is the case for all of the websites in the project I'm working on. When there are at least two outer folders (not one weirdly enough) the issue arises. This is an example of the bad json string that can't be parsed:
Looks like a code-comment might have something to do with the issue? The string always stops abrubptly at |
Also, the issue appears in edit mode and not in published mode. There is a chance that our page components are at fault, but it's hard to say at this point. |
Also on the backend-side this error appears when we experience the issue:
"subpath2" is the page where the datalayer configuration is added. |
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:
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.
The text was updated successfully, but these errors were encountered: