Javascript errors
-
New to web stories and trying to get everything sorted. Analytics events don’t seem to be firing, and in looking into the cause I noticed some JS errors.
`Failed to execute ‘getImageData’ on ‘CanvasRenderingContext2D’: The canvas has been tainted by cross-origin data.
U @ error-reporting.js:206
background-blur.js:144 Uncaught (in promise) DOMException: Failed to execute ‘getImageData’ on ‘CanvasRenderingContext2D’: The canvas has been tainted by cross-origin data.
at Eg (https://cdn.ampproject.org/v0/amp-story-1.0.mjs:5:113775)
at https://cdn.ampproject.org/v0/amp-story-1.0.mjs:5:113101`I read some previous discussions about CORS issues others were having but not sure this is related. It appears our headers are set to allow Access-Control-Allow-Origin.
Any idea what could be causing these JS errors? Would this prevent analytics from working correctly?
- The topic ‘Javascript errors’ is closed to new replies.