support plausible.io integration #272
Replies: 3 comments 11 replies
-
I think this is a great idea. I also like plausible.io, and think that both implementations (support additional analytics AND support custom injectables) would be a great addition to Retype. |
Beta Was this translation helpful? Give feedback.
-
We might be able to integrate Plausible. Configuration looks like it would only need to a simple integrations:
plausible:
enabled: true | false (default is false) Retype will use your <script defer data-domain="{{ url }}" src="https://plausible.io/js/plausible.js"></script> How does that sound? |
Beta Was this translation helpful? Give feedback.
-
We went with a The integrations:
plausible:
domain: example.com The above configuration outputs the following snippet into the <script defer data-domain="example.com" src="https://plausible.io/js/plausible.js"></script> The integrations:
plausible:
domain: example.com,docs.example.com The above config outputs the following <script defer data-domain="example.com,docs.example.com" src="https://plausible.io/js/plausible.js"></script> The Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
We use plausible.io as an alternative to google analytics due to its privacy approach. However, we would need to add the following html tag into our generated docs:
I tried various approaches, including to put that somehow in the footer, but nothing worked. I guess the only way to get it working would be to officially support it similar to the google analytics integration.
A more generic approach would of course be the support for javascript tags.
Beta Was this translation helpful? Give feedback.
All reactions