I’m looking to track a user’s scroll depth on my webpage using JavaScript and store that value in a variable. However, I’m having trouble determining the best place to insert my custom code and how to integrate it with my existing data variable. Could you provide some guidance on how to achieve this?
I uploaded an image to the storage and referenced it in an embedded HTML. It works fine in the development environment, but in production, I’m encountering a CORS error. Does anyone have suggestions on how to resolve this?