Skip to content

Commit

Permalink
Plausible custom events
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Aug 26, 2024
1 parent 7d85873 commit e1d6678
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
<link rel="icon" href="https://ichard26.github.io/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://ichard26.github.io/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://ichard26.github.io/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://ichard26.github.io/apple-touch-icon.png">
<link rel="mask-icon" href="https://ichard26.github.io/safari-pinned-tab.svg">
<script defer type="module" src="main.js"></script>
<script data-host="https://microanalytics.io" data-dnt="true" src="https://microanalytics.io/js/script.js" id="ZwSg9rf6GA" async="" defer=""></script>
<script defer="" data-domain="ichard26.github.io" src="https://webstats.internal.floralily.dev/js/script.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>

<style>
:root {
Expand Down
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ async function getNextNumber(owner, name) {
console.error("HTTPError", response);
throw new HTTPError(response.status, data.detail);
}
plausible("Next PR Number: Fetch", {props: {repository: `${owner}/${name}`}});
return data;
}

Expand Down

0 comments on commit e1d6678

Please sign in to comment.