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

Avoid multiple plausibles #1010

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Avoid multiple plausibles #1010

merged 1 commit into from
Feb 18, 2025

Conversation

matheusgr
Copy link
Contributor

@matheusgr matheusgr commented Feb 14, 2025

What is this Contribution About?

If plausible script is executed multiple times (one for each page as an example), It will also insert plausible multiple times on the site. We avoid that with a global var to control if the script is already inserted.

Issue Link

Please link to the relevant issue that this pull request addresses:

Loom Video

Record a quick screencast describing your changes to help the team understand and review your contribution. This will greatly assist in the review process.

Demonstration Link

Provide a link to a branch or environment where this pull request can be tested and seen in action.

Copy link
Contributor

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.64.31 update
  • 🎉 for Minor 0.65.0 update
  • 🚀 for Major 1.0.0 update

@matheusgr matheusgr merged commit 3e4fa5f into main Feb 18, 2025
3 checks passed
@matheusgr matheusgr deleted the avoid_multiple_plausibles branch February 18, 2025 13:30
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.

1 participant