Skip to content

Commit

Permalink
Plausible integration (#182)
Browse files Browse the repository at this point in the history
* Plausible analytic integration to our documentation website

* Update analytics with localhost support

* Make configurable, simplify

---------

Co-authored-by: Zachary Deziel <zachary.deziel@gmail.com>
  • Loading branch information
alukach and zacdezgeo authored Mar 15, 2024
1 parent 1ffda2f commit eab3665
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ repo_name: "developmentseed/eoAPI"
repo_url: "https://github.com/developmentseed/eoAPI"

extra:
analytics:
provider: plausible
domain: eoapi.dev
social:
- icon: "fontawesome/brands/github"
link: "https://github.com/developmentseed"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script defer data-domain="{{ config.extra.analytics.domain }}" src="https://plausible.io/js/script.outbound-links.js"></script>

0 comments on commit eab3665

Please sign in to comment.