Skip to content

Fix plausible script tags and make them configurable (maintenance -> main) #123

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

Merged
merged 2 commits into from
Nov 14, 2022

Conversation

rogermparent
Copy link
Contributor

This adds the changes from #105 into main

* Add plausible through metadata

* Use Gatsby SiteMetadata for plausible domain and src

* Use automatic plausible inference and relative proxy source links

* Disable plausible on example

* v0.1.23

* Add plausibleAPI

* Re-disable plausible in example

* Fix conditional plausible disable

* Re-add defaults for max compatibility

* Use disablePlausible flag and change mechanism to signal with src

* Use pluginOptions for src/api/domain and use src presence over extra boolean flag

* Allow null on plausible options

* Change src to null
@rogermparent rogermparent requested a review from a team as a code owner November 11, 2022 20:12
@rogermparent rogermparent temporarily deployed to gatsby-theme-update-wit-cmhkbc November 11, 2022 20:12 Inactive
@rogermparent rogermparent temporarily deployed to gatsby-theme-update-wit-7rxrtd November 11, 2022 20:22 Inactive
Copy link
Contributor

@yathomasi yathomasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@rogermparent rogermparent merged commit a5b9cb6 into main Nov 14, 2022
@rogermparent rogermparent deleted the update-with-maintenance branch November 14, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants