The zingfit iframe supports three analytics systems;
For each of these systems, zingfit provides the same trackable page views and events.
What type of tracking can I do?
Currently, zingfit has listeners in place to track the following events:
Add To Cart
Booked (classes, events)
Purchase transactions can be tracked for any of the analytics systems. The zingfit system produces conversion information, hidden to the user, including product name and purchase value.
For Google Analytics or GTM you need to enable Google Ecommerce Tracking for your domain. Set-up instructions for Google Ecommerce Tracking can be found here: https://support.google.com/analytics/answer/1009612?hl=en
Please note: zingfit only supports standard commerce tracking, not enhanced commerce tracking
With either of the google systems, the iframe will emit events and write directly to your analytics implementations. You do not need to do anything on the zingfit side for this to happen. Install Google Tag Manager or Google Analytics (GA) on your web site and the zingfit iframe script will integrate with it automatically.
Facebook Pixel Analytics
For Facebook, you will need to register your pixel ID in the zingfit System Settings and the tracking code will be rendered within the iframe pages.
To find your Facebook Pixel ID, Go to your Ad Manager or;
Power Editor > Select Tools > Pixels > Grab the ID in the top right
Then login into your zingfit account and go to;
Admin > Configuration > System Settings
Paste the Facebook Pixel in the appropriate field > Save.
For each example it is assumed the iframe is loaded on your pricing page with a hash path of `#/pricing`
Google Universal Analytics
ga('send', 'event', 'Registration', 'Complete');
Google Tag Manager