Git Product home page Git Product logo

flutter_plausible_analytics's Introduction

Hi there ๐Ÿ‘‹

I am Eric, an enthusiastic Software Developer from Aachen - Germany.

๐Ÿ“– Languages

... and stuff I made with them (or contributed large portions).

๐Ÿ”ฎ Stack:

Languages

Flutter Dart C# C++ Rust Prolog

Testing and code styling

Eslint SonarQube Selenium

CI/CD

Jenkins Github Actions GitLab CI

VCS, Server and Containerization

Git Proxmox Docker NodeJS

Scripting

JavaScript TypeScript Python3 CSS3 HTML5

Shell

Bash PowerShell

๐Ÿ“ซ How to reach me

  • Visit my Website ๐ŸŒ
  • Connect with me on LinkedIn ๐Ÿ‘ค
  • Write me an Email โœ‰๏ธ
  • Visit my Blog ๐Ÿ—’
  • Contact me with Telegram ๐Ÿค–

๐Ÿ‘€

flutter_plausible_analytics's People

Contributors

afijal avatar b-e-r-k-e-r avatar bostrot avatar jannilsscheele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flutter_plausible_analytics's Issues

Country data not showing up

Describe the bug
Country data always says no data, did anyone manage to make it work?

Screenshot 2023-06-14 at 09 57 32

Here is how I create an event

return event(
      name: eventName,
      page: eventPage,
      referrer: 'referrerPage',
      props: {
        'app_version': packageInfo.version,
        'app_platform': Platform.operatingSystem,
        'app_locale': Platform.localeName,
        'app_theme': MediaQuery.of(context).platformBrightness.toString(),
      },
    );```

Shouldn't X-Forwarder-For be left?

hi!

i'm looking into implementation of this:

request.headers.set('X-Forwarded-For', '127.0.0.1');

Shouldn't this be left? How is plausible supposed to generate unique ids now?

Also, i've been thinking of a way of getting actual user ids - generating random uuid at the first app start, and then using that - but seems that plausible wants to be so private that this isn't much supported: plausible/analytics#1141 (comment)

On the other hand, this way we're going to get much more unique users than there actually are ๐Ÿค”

X-Forwarded-For header should not be added

The X-Forwarded-For is set to 127.0.0.1 by the plugin.

This is no need to add the X-Forwarded-For header as it is optional according to the event api documentation (https://plausible.io/docs/events-api#request-headers).

It also create a CORS error when a POST request is sent to the event api from a flutter web app. The navigator will first send a preflight request and plausible will not respond with X-Forwarded-For in Access-Control-Allow-Headers resulting in a CORS error. Plausible not adding X-Forwarded-For to Access-Control-Allow-Headers makes sense as the X-Forwarded-For is set by the reverse proxy and should not be set on client side.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.