# Count affiliate link for external sites

**URL:** <https://community.hivepress.io/t/count-affiliate-link-for-external-sites/14831>\
**Category:** HivePress\
**Tags:** code\
**Created:** [January 29, 2025, 11:50am UTC](https://community.hivepress.io/t/count-affiliate-link-for-external-sites/14831 "2025-01-29T11:50:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhilesh.as.as](https://community.hivepress.io/user_avatar/community.hivepress.io/akhilesh.as.as/32/7199_2.png) [@akhilesh.as.as](https://community.hivepress.io/u/akhilesh.as.as)\
**Post date:** [January 29, 2025, 11:50am UTC](https://community.hivepress.io/t/count-affiliate-link-for-external-sites/14831/1 "2025-01-29T11:50:31Z")

</div>

Hello Team HivePress!

I am wondering if I can count all the affiliate links or have some kind of statistics where I can see how much business has been raised through our website.

Explainantion:  
I post opportunities where I have this button called “Apply Now” and Visit “Official Website.”  
Now I want to know how many visitors are actually visiting the external site by clicking on the buttons.

Is there any possibility to check? Is this feature available in hivepress statics?  
It would be a great statistic to show and invite them to onboard with our website.

Can you please guide me on this?  
Check the SS to unerstan more…

 ![Screen Shot 2025-01-29 at 5.13.26 PM](https://community.hivepress.io/uploads/default/original/2X/9/9a5479fb12ff7e569513f42b208d4a8b219d981f.png)

Thanks a lot

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [January 30, 2025, 1:55pm UTC](https://community.hivepress.io/t/count-affiliate-link-for-external-sites/14831/4 "2025-01-30T13:55:48Z")

</div>

Hi,

Unfortunately, this feature is not available, but thank you for your feedback, we will consider adding it. As a workaround, you can create a custom page and specify the URL in the format button: /custom-page-slug-here?redirect=actual-button-url-here, and on this page, using a custom PHP implementation, increase the counter and redirect the user to the URL from the redirect parameter.

​I hope this is helpful to you.

---

<div class="post-metadata">

**Author:** ![condorito.fr](https://community.hivepress.io/user_avatar/community.hivepress.io/condorito.fr/32/11449_2.png) [@condorito.fr](https://community.hivepress.io/u/condorito.fr)\
**Post date:** [January 30, 2025, 3:40pm UTC](https://community.hivepress.io/t/count-affiliate-link-for-external-sites/14831/5 "2025-01-30T15:40:59Z")

</div>

By default, AFAIK, affiliate programs count how many clicks where done through their services, and how many went through (i.e to a purchase), no ?

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [March 1, 2025, 3:41pm UTC](https://community.hivepress.io/t/count-affiliate-link-for-external-sites/14831/6 "2025-03-01T15:41:36Z")

</div>

Closed on March 1, 2025, 3:41pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
