-
Notifications
You must be signed in to change notification settings - Fork 193
Closed
Labels
Group: IntegrationIntegration with other platforms and pluginsIntegration with other platforms and pluginsGroup: WordPressChanges related to WordPress or Gutenberg integrationChanges related to WordPress or Gutenberg integrationType: BugSomething isn't workingSomething isn't working
Description
Bug Description
1.) Story passes AMP validator, but Story's debug mode in the story preview is outputting the below warning when you enable the option to exclude all logged in users from Analytics in Site Kit by Google:
INVALID_JSON_CDATA at 6:106
The script tag contains invalid JSON that cannot be parsed
2.) Debug mode in the story preview is outputting inconsistent warnings on refresh on the same URL as above
Inconsistent.Debug.Results.mov
Expected Behaviour
1.) The warning should not be present
2.) Debug results should be consistent.
Steps to Reproduce
- Site Kit settings > edit Analytics > Exclude from Analytics all logged-in users
- Preview story
- See debug tab and notice invalid JSON error
- Refresh page and notice inconsistent results
Screenshots
Additional Context
related support topic: https://wordpress.org/support/topic/debug-error-issue-json/
-
Plugin Version:
Web Stories 1.7.2
Site Kit by Google 1.34.0 -
WordPress Version:
-
Operating System: macOS
-
Browser: Chrome
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
Implementation Brief
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Group: IntegrationIntegration with other platforms and pluginsIntegration with other platforms and pluginsGroup: WordPressChanges related to WordPress or Gutenberg integrationChanges related to WordPress or Gutenberg integrationType: BugSomething isn't workingSomething isn't working

