Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Plausible integration as a plugin #291

Closed
leandrocp opened this issue Jul 24, 2023 · 1 comment
Closed

Proposal: Plausible integration as a plugin #291

leandrocp opened this issue Jul 24, 2023 · 1 comment
Milestone

Comments

@leandrocp
Copy link
Contributor

leandrocp commented Jul 24, 2023

Plausible is an open-source and privacy-friendly analytics solution that should effortlessly integrate with Beacon.

Not every site site will make use of Plausible which leads us to propose that integration as a plugin beacon_plausible or a similar name. We still don't have any plugin for Beacon, that would be the first one and serve as a template for future plugins.

The 2 main reasons for providing this plugin:
1 - Beacon should handle adblockers with a reverse proxy
2 - POST events from within that proxy to submit custom properties

In summary this plugin must:
1 - Inject the <script> tag into header that will redirect requests to the reverse proxy
2 - Implement the reserve proxy that respond to the following requests: script.js, POST /api/event
3 - Use the manual extension to have control over events
4 - POST pageview events in the after_render_template lifecycle stage

Note that this level of control is what enable us to have support for A/B testing

@TheFirstAvenger
Copy link
Member

PlausibleProxy fulfills this requirement.

@AZholtkevych AZholtkevych added this to the v0.1.0 milestone Feb 20, 2024
@AZholtkevych AZholtkevych mentioned this issue Apr 21, 2024
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants