Steps to enable Meta tracking for organisers
1. Facebook Pixel ID
Go to Integrations > Facebook Pixel ID.
Enter your Facebook Pixel ID
2. Generate and share access token
Generate an Access Token for your Facebook Pixel.
Once generated, share it with us.
We will store this token in our database.
3. Install Facebook Pixel script
Install the Facebook Pixel script on your website where the Smeetz widgets are embedded. This ensures Facebook pixel has generated a tracking cookie for the users.
Events We Send to Facebook
We track the following events to help you measure user interactions and optimise campaigns:
Event | Description |
ViewContent |
|
AddToCart |
|
InitiateCheckout |
|
CheckoutProgress |
|
AddPaymentInfo |
|
Purchase |
|
Data Structure for Each Event
**For each event, we send the following payload to Facebook: { "data": [ { "event_name": "event_name", // e.g., "PageView", "AddToCart", etc. "event_time": "timestamp", // Time when the event is sent "user_data": { "client_user_agent": "user_agent", // User agent of the client "fbp": "facebook_tracking_cookie" // Facebook tracking cookie }, "custom_data": { "currency": "currency_code", // Currency of the transaction (e.g., "USD") "value": "total_value", // Total value of tickets "items": [ { "id": "category_id", // Category ID of each ticket "name": "category_name", // Category name of each ticket "currency": "currency_code", // Currency of the item "brand": "brand_name", // Brand name "price": "price_value", // Price of the item "quantity": "quantity", // Quantity selected (if applicable) "discount": "discount_value" // Discount applied (if any) } ] }, "event_source_url": "organizer_website_url", // Organizer's website URL "action_source": "website" // Indicates the source of the event } ] }**
Why Server-Side Tracking?
Improved Accuracy: Reduces reliance on browser cookies, which can be blocked or lost.
Enhanced Privacy Compliance: Ensures data is handled securely and in compliance with privacy regulations.
Reliable Event Tracking: Works even when users have ad blockers or poor network connectivity.