Facebook Like/Unlike Tracking implemented for Ezoneclub Page
A new JavaScript implementation is now in place to track user interactions, specifically “like” and “unlike” actions, on the Ezoneclub Facebook page. This functionality is designed to capture these events and send them to Google Analytics via the dataLayer.
The script initializes Facebook’s SDK, enabling the tracking of page likes and unlikes. When a user likes the Ezoneclub Facebook page (identified by the URL https://www.facebook.com/ezoneclub),a ‘Facebook_like’ event with the action ‘Click’ and label ‘like’ is pushed to the dataLayer. Conversely, if a user unlikes the page, a similar event is triggered with the label ‘unlike’.
This integration allows for the monitoring of user engagement with the Ezoneclub’s Facebook presence, providing insights into audience interaction with their content and page. The Facebook SDK version used is v2.9, with the application ID set to ‘134643510061773’. The script is designed to load asynchronously to avoid impacting page performance.









