Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Link counter

Featured Replies

Most of the links on my site get a high click through rate. However I would really like to prove this to potential members.

 

Is there anyway I can place a link counter next to each listing (link)? Where would I grab a code for this?

There are websites where you can grap a code to show how many visitors comes on the targeted link if that´s something you want.

 

Take a look here;

http://www.website-hit-counters.com/

 

Add the code on the targeted link and everytime it's being visited the content of that link 1 hit counter appears.

You can set up your own 'counter' service using special links such as:

 

example.com/link.php?site=bbc - Then each time time page is visited, it records a tally and increments. Then the user is forwarded to the designated site.

 

You could even use mod rewrites to make the link less 'referral/money maker' looking by using something like example.com/browse/bbc etc.

 

The links page will then just echo the 'count' from the database. :)

 

If you need help with this, let me know as its not a big job making the bones of it.

  • Author

Thank you, but thats not really what I'm after.

 

For example: If I have 10 (listings) links per page I would like a little counter to sit next to each link and show how many people have clicked on that specific link (not a counter to show how many people have been on my page)

Thank you, but thats not really what I'm after.

 

For example: If I have 10 (listings) links per page I would like a little counter to sit next to each link and show how many people have clicked on that specific link (not a counter to show how many people have been on my page)

 

That's what the above will do. Evey time the client clicks the link, the counter will be dynamically updated for that single link. Then a new total count will be displayed. Like such:

 

Lancashire Web Design (Clicked: 46 times)

Blah speech here.....

 

etc :)

Edited by AlecIsh

You can however add a variable to the targeted link an let it ++ (increment) everytime a user clicks on it.

It's do able in php.

Unfortunate I ony know how to create it with memberships but not outside of it.

I have made a very quick fully working mock up here: http://www.sharkeyweb.com/clients/counter/

 

Click the link, and it will open in a new tab. Then go back to this page and you will notice the count for that link has increased by 1.

 

Obviously this is rough, and no advance PHP protection has been applied to it yet to stop 'refreshers' bumping up the hit count etc.#

 

:) Is this what your looking for?

  • Author

It is, however my members are looking for a dofollow link to their site. If I link to their site in this method they may not like it.

It is, however my members are looking for a dofollow link to their site. If I link to their site in this method they may not like it.

 

In that case, we can use ajax to update the counter hit total when the link is clicked, then once that's done, process the do follow link via the 'return true', which will load the URL just like normal. The user should not see any difference, while you get a counter, and the client gets a dofollow link. :)

Thanks for you help.

 

No problem, and thanks for the +1.

 

If you need this implemented, PM me anytime. :)

  • Author

Actually thinking about it. Do you know a website that would offer this as a service. If the information was linked to an independent unbiased source, it would be much better for my business. Does this exist?

Actually thinking about it. Do you know a website that would offer this as a service. If the information was linked to an independent unbiased source, it would be much better for my business. Does this exist?

 

Google analytics has tracking that you can add to buttons?

  • Author

Google analytics has tracking that you can add to buttons?

 

I just can't see how to do it. Is it in the 'Advanced Segments'?

 

Or do you have a link that tells you how. Please help!

I just can't see how to do it. Is it in the 'Advanced Segments'?

 

Or do you have a link that tells you how. Please help!

 

Something like this:

 

Linky

 

Hope this helps :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.