Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

JS console errors for shinyMobile but tracking seems to work #8

Open
DivadNojnarg opened this issue Jul 15, 2023 · 4 comments
Open

Comments

@DivadNojnarg
Copy link

The app is deployed on shinyapps.io (like the 2 others). I see some errors in the JS console. Strangely the tracking seems to work well on the dashboard. Just putting it here for you to check.

Access to fetch at 'https://shinymetrics.com/event/add' from origin 'https://dgranjon.shinyapps.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

shinymetrics.com/event/add:1     Failed to load resource: net::ERR_FAILED

shinymetrics.min.js:1 Uncaught (in promise) TypeError: t is not a function
    at shinymetrics.min.js:1:12810
@JohnCoene
Copy link
Member

Thanks.

Strange indeed, Did that happen right before you posted this?

@DivadNojnarg
Copy link
Author

When I open and inspect the deployed app at any time.

@JohnCoene
Copy link
Member

Can you share the source code of the app? (here or whatsapp)

@DivadNojnarg
Copy link
Author

It’s the one from shinyMobile /inst/examples/gallery dev branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants