正在用 Spotify 播放 正在用 YouTube 播放
前往 YouTube 视频

正在加载播放器...

从 Spotify 记录音乐?

将您的 Spotify 帐户连接到您的 Last.fm 帐户,通过任何设备或平台上的任何 Spotify 应用记录您所听的一切内容。

连接到 Spotify

关闭

不想看到广告?马上升级

How to add a counter in your last.fm page

Some people has asked me about this a couple of times, so I decided to make a detailed guide of the procedure.

························································

1.Register in statcounter in:
http://my.statcounter.com/register.php

2. After the registration you will be redirected to a confirmation page, click in 'Add a statcounter project'

3. Select 'Standard StatCounter Project' and click 'Next'

4. Enter the name of your project in 'Website Title' it can be anything for example: 'My Last.fm Page'

5. Copy the url of your last.fm page , for example my url is http://www.last.fm/user/C26000, and paste it in 'Website URL'

6. Select other options that are better explained in the page and in 'Public Stats' check the box if you want to allow everyone to see the detailed view of your stats (example), then click next.

7. In the page that apears click 'Configure & Install Code'

8. Select 'Visible Counter' option and click 'Next'

9. Select what do you want to display in the counter, unique or total visits, Click 'Next'.

10. Select 'Counter Image Option' and click 'Next'

11. Customize the apperance of your counter and use the button 'Update' to preview the changes,

12. If you want to make your stats public in 'Add a 'View My Stats' Link?' check 'Add the Link?' and click next.

13. In 'Do you use a web page editor?' select 'No, I want the default install guide', select the 'OPTIONAL - HTML Only Counter' option and click 'Next'

14. You will be redirected to a page with a box,The text in the box looks like this:

<a href="http://www.statcounter.com/"; target="_blank"><img src="http://c36.statcounter.com/3255360/0/85386a0df/0/"; alt="hit counter" border="0"></a>

copy only the url after src=" and add image tags to it, like this but without the '***'

http://c36.statcounter.com/3255360/0/85386a0df/0/

15. If you want to make your counter behave like a link to your detalied stats, visit your statcounter account and click in 'My Projects' > 'Your project name', copy its url and add it to the counter code like this:

http://c36.statcounter.com/3255360/0/85386a0df/0/

16. Paste your code in the about me box in your last.fm settings page:

http://www.last.fm/settings/

and click 'save details'

17. Visit your page and to test it, it should show 00001.

18. You can see your detailed stats visiting your statcounter account and clicking 'My Projects' > 'Your project name'

If you find some confusing step or an English mistake please let me know.

不想看到广告?马上升级

API Calls