One other question: Is there anyway to get stats on how often people click the share buttons? I do not want to use a counter but would like to know if people are using the buttons.
Thank you!
Hi @steveclash,
Thanks for using WP Socializer.
With shortcodes, we cannot set custom HTML. We can only choose the icons.
In shortcode you can refer one of the two templates which you have saved i.e [wpsr_share_icons template="1"]
But the problem is we cannot pass custom page URL, title etc.
To do that please replace the entire wp-socializer/core/shortcodes.php file with this code https://gist.github.com/vaakash/ace7e1c10026aa487268c757806693c2 (you can use an FTP if needed or the plugin editor)
With that you can do [wpsr_share_icons template="1" page_url="https://google.com"] I didn’t get a chance to test this, but it should work.
I’ll make this change official in the upcoming version may be in couple of weeks.
Thanks,
Aakash
Regarding the analytics, it is not supoported right now. But I have plans to support it in the near future. (no timeline for it right now)
If you are aware of JS and use google analytics, then you can send click event to Google analytics which I can’t explain more as it is beyond the plugin’s scope.
Hi Vaakash! Thank you for the helpful reply.
When I change the shortcode.php file would I be able to use the other parameters like Page_title?
I will look into JS and Google.
Thank you. Very good plugin. Like I said I spent a bunch of time downloading and research many and this for sure the best.
-
This reply was modified 5 years, 9 months ago by
steveclash.
Hi @steveclash,
Yes, you can use all the parameters which start with “page_” as mentioned in the table.
Happy that you like the plugin.
Please do rate the plugin !
https://ww.wp.xz.cn/support/plugin/wp-socializer/reviews/?rate=5#new-post
I’ll mark this thread closed. Please reply back if anything related to this.
Thanks,
Aakash