javascript - Sharethis Buttons for Dynamic Pages (Page 2, 3, 4 etc.) -


i using social sharing tool called "sharethis". gives header j.s. links add html header.

then, you'll need add span in code add social buttons, this:

<span class='st_fblike_hcount' displaytext='facebook like'></span> 

then, on load, you'll see buttons click on , social activity feedback. @ page, if have no idea how looks like: http://www.seoroger.com/seo_quotes_archive.php

problem is, make dynamic pages like: /seo_quotes_archive.php?page=2, page=3, etc. , widget considers each of these pages separate 1 (which true somehow), , keeps each page's statistics separately.

i think right thing instance, have 1 account of these pages , if user clicks on facebook button on /seo_quotes_archive.php?page=5, example, increments general facebook count.

if agree, , know how feasible, please help! in advance!

ps. case opposite of multiple sharethis buttons per page. in fact, it's looking way have 1 sharethis statistics multiple pages.

you can add "st_url" parameter specify shared url. insert current url without page-parameter share same url across multiple pages.

<span class='st_fblike_hcount' st_url='http://www.example.com/seo_quotes_archive.php' displaytext='facebook like'></span> 

source: http://support.sharethis.com/customer/portal/articles/475079-share-properties-and-sharing-custom-information#sthash.eoamlhnz.dpbs


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -