Reply
adding a counter to an mp3
Old 05-13-2008, 09:21 PM adding a counter to an mp3
Junior Talker

Posts: 1
Name: sally
HI can anybody tell me if it is possible to add a hidden counter to an mp3 on my website so that i can track how many people have clicked on the music. I will have a few songs on the page and want to track all of them individually..
any hlee would be appreciated. Thank You
sally60 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-14-2008, 12:58 AM Re: adding a counter to an mp3
tamar's Avatar
Webmaster Talker

Posts: 507
Name: Tamar Weinberg
Location: New York
I don't think MP3s have that kind of element....
tamar is offline
Reply With Quote
View Public Profile Visit tamar's homepage!
 
Old 05-14-2008, 02:57 AM Re: adding a counter to an mp3
VirtuosiMedia's Avatar
Webmaster Talker

Posts: 738
You could do that through a JavaScript onclick event, combined with a bit of of AJAX and server-side code.
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 05-14-2008, 06:41 AM Re: adding a counter to an mp3
Extreme Talker

Posts: 176
Name: Tim
Set up a google analytics's account and you can check how many people have clicked on certain links on you page or in your case mp3s.
__________________
My Website.. www.timothyblake.com/
My Portfolio.. gallery
timothynblake is offline
Reply With Quote
View Public Profile
 
Old 05-15-2008, 01:23 PM Re: adding a counter to an mp3
highanddry's Avatar
Close Talker

Posts: 876
Name: Jacob
You can also make the mp3 play in a new (small) window and have the page it is on tracked.
highanddry is offline
Reply With Quote
View Public Profile
 
Old 05-15-2008, 10:08 PM Re: adding a counter to an mp3
Average Talker

Posts: 25
Name: Larry
Quote:
Originally Posted by tamar View Post
I don't think MP3s have that kind of element....


There are quite a few ways to track. Javascript for one, and there are a few neat little scripts at http://php.resourceindex.com where you can keep tabs on your links, Hits in, people hot linking, daily etc.etc.
__________________
Proud Member of The Self Propelled Marketer Network
:|: A Free Advertising & Online Marketing Resource :|:
Ragenetic is offline
Reply With Quote
View Public Profile
 
Old 05-16-2008, 12:39 AM Re: adding a counter to an mp3
tamar's Avatar
Webmaster Talker

Posts: 507
Name: Tamar Weinberg
Location: New York
Quote:
Originally Posted by Ragenetic View Post


There are quite a few ways to track. Javascript for one, and there are a few neat little scripts at http://php.resourceindex.com where you can keep tabs on your links, Hits in, people hot linking, daily etc.etc.
Right. But it's not an ID3 element, which is what I thought the OP had asked.

If you can edit an MP3 file by adding a counter directly to the MP3 file, it would open a whole can of worms because that means the MP3 file would have permissions on it that would let you write to it, and you can inject dangerous code into it.

That was the thought process behind my answer, at least.
tamar is offline
Reply With Quote
View Public Profile Visit tamar's homepage!
 
Old 05-16-2008, 02:15 AM Re: adding a counter to an mp3
ghiavolu's Avatar
Master of The World

Posts: 342
Location: Cluj-Napoca
You can track it. If you`re controlling the play button through javascript, you can add to the link a script that onClick sends through ajax and php the IP of the one who clicked to your database for storage. This was you can make sure there are unique clicks. For a player that is controllable through javascript you might wanna check THIS one. I hope it`s helpful.
ghiavolu is offline
Reply With Quote
View Public Profile
 
Old 05-17-2008, 10:00 AM Re: adding a counter to an mp3
wchua24's Avatar
Ultra Talker

Posts: 310
Location: florida
i also wanted that to.....like in imeem it is post how many times your music had been playing...is there any way? huh?
wchua24 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to adding a counter to an mp3
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15333 seconds with 12 queries