Skip to content

Commit

Permalink
feat plausible: different tracking per page
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf committed Jan 2, 2025
1 parent 5a7c60c commit 68eed87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion browse/extensions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link href="./index.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../favicon.ico">

<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.hash.outbound-links.revenue.js"></script>
<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.hash.outbound-links.revenue.tagged-events.js"></script>

<!-- Social Embeds -->
<meta property="theme-color" content="#3b7cfe">
Expand Down Expand Up @@ -334,6 +334,7 @@ <h2 class="h3 my-3">
}utm_source=blueprint.zip&utm_medium=listing&utm_content=blueprint_${
data.identifier
}"
class="plausible-event-name=${platforms[platform][0]} plausible-revenue-amount=${_data.price} plausible-revenue-currency=${_data.currency}"
>
<div class="input-group mb-2 flex-nowrap">
<label class="input-group-text w-100 border-0 platform-button-content">
Expand Down
2 changes: 1 addition & 1 deletion browse/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link href="./index.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../favicon.ico">

<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.hash.outbound-links.revenue.js"></script>
<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.hash.outbound-links.js"></script>

<!-- Social Embeds -->
<meta property="theme-color" content="#3b7cfe">
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link href="./index.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../favicon.ico">

<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.hash.outbound-links.revenue.js"></script>
<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.outbound-links.js"></script>

<!-- Social Embeds -->
<meta property="theme-color" content="#3b7cfe">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link href="./index.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="./favicon.ico">

<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.hash.outbound-links.revenue.js"></script>
<script defer data-domain="blueprint.zip" src="https://plausible.prpl.wtf/js/script.outbound-links.js"></script>

<!-- Social Embeds -->
<meta property="theme-color" content="#3b7cfe">
Expand Down

0 comments on commit 68eed87

Please sign in to comment.