Problem with short code
-
Hi there!
First of all, I would like to thank you for the wonderful plugin. It is no wonder that so many websites are using it!
I have a small issue that lies in the integration of Slimstat and (I think) Shareaholic.
- I am using the following shortcode to display a list of most popular posts:
- This is fine for most of the pages, when I publish a post and share it with its correct URL
- But when someone (or even I myself) shares the new post with Shareaholic a bunch of parameters is added to the URL
- Slimstat interprets that as a different URL and as a result I can have several entries of the same post in my top 10 list
- As a side note: I get the two results combined with my “Top Web Pages” report, but separated in my “Top Exit Pages” report
- You can see an example on my blog http://www.fromgnometogoliath.com/. There are two pages called “Emotional Intelligence – 10 Ways to Improve Your Self Awareness” – number 1 and number 4.
[slimstat f='top-all' w='post_link']content_type equals post &&& limit_results equals 5[/slimstat]?utm_campaign=shareaholic&utm_medium=facebook&utm_source=socialnetworkI would appreciate any help. Ideally I would like Slimstat to ignore the parameters after the URL and I would like some advises on how to fix the current database entries (in the worst case I am thinking about an UPDATE SELECT statement directly in the database).
Thanks in advance!
The topic ‘Problem with short code’ is closed to new replies.