Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
330 B
2
Indexable
Never
<script>
  document.addEventListener("DOMContentLoaded", function() {
    if (typeof window.plausible === "function" && !localStorage.getItem("purchaseTracked")) {
      window.plausible("Purchase");
      // Set local storage item to prevent firing again
      localStorage.setItem("purchaseTracked", true);
    }
  });
</script>