Skip to content

Commit 1631e63

Browse files
committed
add plausible kofi real button tracking class
1 parent 950d816 commit 1631e63

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/posts/[...slug].astro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,10 @@ const jsonLd = {
111111
{licenseConfig.enable && <License title={entry.data.title} slug={entry.slug} pubDate={entry.data.published} class="mb-6 rounded-xl license-container onload-animation"></License>}
112112

113113
<center>
114-
<a class="plausible-event-name=Kofi+Click" href="https://ko-fi.com/belfardev" target="_blank">
115-
<Image src={kofiButton} width="450px" alt="Support me on Ko-fi!" />
114+
<a href="https://ko-fi.com/belfardev" target="_blank">
115+
<button class="plausible-event-name=Kofi+Click">
116+
<Image src={kofiButton} width="450px" alt="Support me on Ko-fi!" />
117+
</button>
116118
</a>
117119
</center>
118120
</div>

0 commit comments

Comments
 (0)