New features available! Check the changelog
Subscribfy

Custom Pixel (Event Tracking)

Track user interactions on your storefront with Subscribfy's custom pixel for analytics and conversion tracking

Track button clicks, form submissions, and user interactions across your storefront for analytics and conversion tracking.

The Custom Pixel captures events when customers interact with VIP membership options, subscription buttons, and other Subscribfy elements. Data is transmitted to your analytics dashboard for funnel analysis.


Setup

Go to SubscribfySettingsSubscribfy Scripts tab.

Enable Event Tracking

Click Turn on to activate the pixel. When enabled, a green badge shows "Enabled" and the pixel starts capturing events.

Configure Selectors (Optional)

Default values work with standard Subscribfy themes. Only modify if your theme uses custom class names.

Test Your Implementation

Use browser developer tools (F12 → Network tab) to verify events are being captured when you click tracked elements.


Element Selectors

Configure CSS selectors to track specific elements on your storefront.

Cart Option IDs

SettingDefaultDescription
VIP Membership OptionsetExtensionCart option ID for VIP membership selection
Pay-as-you-Go OptionsetNoExtensionCart option ID for non-VIP purchases

Button Selectors

SettingDefaultDescription
Join Now Button.exm_dialog-learn-moreCSS class for the "Join Now" button
Join Club Button.exm_join_clubCSS class for the "Join Club" button
Manage Subscription.mm__button_continueCSS selector for "Manage Subscription" button

Selectors use standard CSS syntax. Use . for classes, # for IDs, or any valid CSS selector.


Tracked Events

When enabled, the pixel tracks these user interactions:

Event KeyTrigger
setExtensionWhen VIP option is clicked
setNoExtensionWhen Pay-as-you-Go option is clicked
.exm_dialog-learn-moreWhen Join Now button is clicked
.exm_join_clubWhen Join Club button is clicked
.mm__button_continueWhen Manage Subscription is clicked

Implementation

If you need to add custom tracking elements to your theme, use this HTML structure:

Example: Join Now Button
<div class="exm_continue_shopping">
  <a href="/cart?exm=vip" class="exm_dialog-learn-more">Join Now</a>
</div>

The pixel automatically captures clicks on elements matching your configured selectors.


Use Cases


Troubleshooting


Was this page helpful?

On this page

AI Chat

Ask a question about Subscribfy