> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.getomnify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Set Up and Track Facebook / Meta Pixel in Omnify Using Google Tag Manager

### Omnify Tracking Setup Guide

###### Google Analytics + Google Ads + Facebook / Meta Pixel via Google Tag Manager

This guide explains how to set up tracking inside Omnify for:
* Google Analytics 4 (GA4)
* Google Ads Conversion Tracking
* Facebook / Meta Pixel
* Paid Campaign Attribution
* Conversion Tracking

###### Step 1 — Create Google Tag Manager (GTM)
1. Go to:
[https://tagmanager.google.com/](https://tagmanager.google.com/)
2. Create:
    * Account
    * Container
3. Copy the GTM Container ID
Example:
```
GTM-XXXXXXX
```
###### Step 2 — Add GTM in Omnify
Open:
```
https://admin.getomnify.com/dashboard/settings/service-store/custom-code
```
Go to:
```
Settings → Service Store → Custom Code
```
Paste the Google Tag Manager Container Code in:
```
Google Tag Manager Section
```
Example:
```
GTM-XXXXXXX
```
Save the settings.
###### Step 3 — Configure Tracking Inside GTM
Recommended integrations:
* Google Analytics 4
* Google Ads
* Facebook / Meta Pixel
* Retargeting Pixels
* Custom Conversion Events
###### Supported Omnify Services for Tracking
Tracking can be configured for:
* Classes
* Programs
* Classpacks
* Memberships
* Parties
* Camps
* Products
* Digital Products
* Gift Cards
###### Sample Store URLs
## Homepage
```
https://myomnify.getomnify.com/home
```
## Service Details
```
https://myomnify.getomnify.com/service-details
```
## Checkout URL
```
https://myomnify.getomnify.com/checkout/123456/?type=class
```
## Success URL
```
https://myomnify.getomnify.com/welcome/success/987654?type=camp
```
###### Recommended Tracking Events
| Event | Supported |
| ---- |
| Page Visit | Yes |
| Service View | Yes |
| Checkout Started | Yes |
| Purchase Completed | Yes |
| Camp Registration | Yes |
| Membership Purchase | Yes |
| Meta Purchase Event | Yes |
| Google Ads Conversion | Yes |
###### Recommended GTM Triggers
###### Service View Trigger
```
URL contains:
/service-details
```
###### Checkout Trigger
```
URL contains:
/checkout/
```
###### Purchase Success Trigger
```
URL contains:
/welcome/success/
```
###### Supported Tracking Platforms
| Platform | Supported |
| ---- |
| Google Analytics 4 | Yes |
| Google Ads | Yes |
| Facebook / Meta Pixel | Yes |
| Retargeting Pixels | Yes |
| Custom HTML Scripts | Yes |
###### Info
```
Omnify tracking works best when all scripts are managed centrally via Google Tag Manager.
```
###### Tip
```
Capture UTM parameters on the landing page using GTM and store them in cookies/localStorage for better attribution tracking.
```
Example:
```
utm_source
utm_medium
utm_campaign
gclid
fbclid
```
###### WARNING
```
UTM parameters may not automatically persist across all internal Omnify checkout URLs.
```
Recommended workaround:
```
Use GTM + cookies/localStorage to preserve attribution data.
```
###### Recommended Final Setup
```
Google Tag Manager
        ↓
Google Analytics 4
Google Ads
Meta Pixel
Conversion Tracking
Remarketing
```
###### Best Practice Recommendation
Use:
* GTM for all tracking scripts
* GA4 for analytics
* Google Ads for paid conversion tracking
* Meta Pixel for Meta campaign optimization
* URL-based success tracking for purchases
This is the recommended and scalable setup for Omnify service stores.

###### Additional Recommendation
```
If you have multiple locations, it is recommended to create separate Google Tag Manager (GTM) containers for each location to ensure accurate conversion tracking, campaign attribution, audience segmentation, and reporting per location.
```