Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referer is the URL (not URIs) #72

Open
tallerawkan opened this issue Feb 12, 2021 · 3 comments
Open

Referer is the URL (not URIs) #72

tallerawkan opened this issue Feb 12, 2021 · 3 comments

Comments

@tallerawkan
Copy link

tallerawkan commented Feb 12, 2021

Hi Colin! Thank you so much for this project! It is realy great and easy to use!

I am having trouble because it is getting my website url, not considering the uris. So instead of counting claps for a single post, it is counting for all of them.

It might be because of this:
https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default

May you help me?

@ColinEberhardt
Copy link
Owner

Can you please provide a link to your website?

@tallerawkan
Copy link
Author

tallerawkan commented Feb 27, 2021 via email

@fchabouis
Copy link

fchabouis commented Jul 23, 2022

I had the same problem and managed to handle it using the url attribute.

I use Hugo, so I can pass the page permalink to the button like this, and each page gets its own independant counter.

<div>
  <applause-button url={{ .Permalink }} />
</div>

You can adapt this solution to your particular stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants