Skip to Content
Menu
This question has been flagged
2 Replies
1200 Views

UncaughtCorsError

Uncaught CORS error
Unknown CORS error

An unknown CORS error has occurred.
The error is likely caused by a JavaScript file being served from a different origin.
(Opening your browser might give you an indication of the error.)


This is the error I get after filling in the Tracking Id and Client Passcode in the Analytics part in Website



Avatar
Discard
Author Best Answer
There is no code, I used this link https://www.odoo.com/documentation/15.0/applications/websites/website/reporting/google_analytics_dashboard.html  to activate the API and do the side configurations Odoo, but once on the dashboard the link with the Analytics account does not work


Avatar
Discard
Best Answer

Hey,

CORS are a protection to avoid other source to access your website as they please.

Now I don't know how Google Analytics works but maybe you haven't settled it in the configuration of your google analytics manager, maybe there is a key they need to allow you to use their service which you haven't set in the call of the url.

I can't tell more cause all you give us is an error and no context, no sample of code to see how you have done it.

But apparently if you go in odoo despite the error it will show you what you're looking for like in the console.

Avatar
Discard