bostrot / flutter_plausible_analytics

Plausible Analytics for Flutter as a Dart package.
GNU General Public License v3.0
12 stars 7 forks source link

Cors origin issue while trying to send an event from flutter web side. #3

Closed ahmedGibran closed 1 year ago

ahmedGibran commented 2 years ago

Describe the bug We using event function to set a new event but we facing cors origin error , any suggestions here? Screenshot 2022-09-05 at 16 26 54 Screenshot 2022-09-05 at 17 25 50

bostrot commented 2 years ago

It seems like CORS has to be enabled/allowed on your server. The process is different depending on what system you use. Are you using a reverse proxy in front of your Plausible instance?