Hey Guys,
I am using LikeBtn on my site and I need it to tie into the CMS and count individually for each dynamic item.
The problem is that when I like one and not the other and then refresh the page, both counters were triggered. Here is the script from the website. How do I connect each individual post from the CMS?
<span class="likebtn-wrapper" data-theme="custom" data-f_size="10" data-icon_l="hrt1" data-icon_d="hrt1" data-icon_size="16" data-icon_l_c="#d6d6d6" data-icon_l_c_v="#ff5a5f" data-counter_l_c="#b0b0b0" data-bg_c="rgba(250,250,250,0)" data-brdr_c="rgba(198,198,198,0)" data-label_fs="r" data-identifier="item_1" data-show_like_label="false" data-dislike_enabled="false" data-popup_disabled="true" data-share_enabled="false" data-lazy_load="true" data-tooltip_enabled="false"></span>
<script>
(function(d, e, s) {
if (d.getElementById("likebtn_wjs")) return;
a = d.createElement(e);
m = d.getElementsByTagName(e)[0];
a.async = 1;
a.id = "likebtn_wjs";
a.src = s;
m.parentNode.insertBefore(a, m)
})(document, "script", "//w.likebtn.com/js/w/widget.js");
<!-- LikeBtn.com END -->
</script>
Here is my public share link: LINK
(how to access public share link)