Tracking Individual Social Button Shares

The main feature of the NGFB plugin for WordPress is to add Open Graph and Twitter Card meta tags (among others) to the head section of webpages, but it also offers social buttons for sharing webpages. The social buttons can be added to the content, as shortcodes, widgets, etc. In version 6.9, a new filter was added for the URL shared by each social button. A “source ID” is passed to the filter along with the URL, to identify the social button needing the URL, and its location (content, shortcode, widget, etc.).

Continue reading