Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 27, 2024
1 parent 6a4a735 commit 70629b7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/docs/src/routes/(docs)/store/checkout/+page@.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@
const urlParams = new URLSearchParams(window.location.search)
window.lemonSqueezyAffiliateConfig = {
store: "daisyui",
debug: true,
// trackOnLoad: false,
// onReady: (e) => {
// e.Track(urlParams.get("aff"))
// },
onTrack: (e) => {
// window.location.href = `https://daisyui.lemonsqueezy.com/checkout/buy/${urlParams.get("product")}?aff_ref=${e.click}`
window.location.href = `https://daisyui.lemonsqueezy.com/checkout/buy/${urlParams.get("product")}?aff_ref=${e.click}`
},
}
</script>
Expand Down

0 comments on commit 70629b7

Please sign in to comment.