Skip to main content

Meta Pixel Integration

Updated this week

Steps to enable Meta tracking for organisers

1. Facebook Pixel ID

  1. Go to Integrations > Facebook Pixel ID.

  2. Enter your Facebook Pixel ID

2. Generate and share access token

  1. Generate an Access Token for your Facebook Pixel.

  2. Once generated, share it with us.

  3. We will store this token in our database.

3. Install Facebook Pixel script

  1. 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

  • Sent when the widget is opened and the content is listed

AddToCart

  • Sent when a user adds tickets to their basket.

  • Tracks product interest and intent.

InitiateCheckout

  • Sent when the user proceeds to the checkout step.

  • Tracks the start of the purchase process.

CheckoutProgress

  • Sent when the user completes the checkout and moves to the payment step.

  • Tracks progress toward completing a purchase.

AddPaymentInfo

  • Sent when the user fills in their payment information.

  • Tracks payment intent and readiness.

Purchase

  • Sent when the user successfully completes the payment.

  • Tracks completed transactions and revenue.

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.

Did this answer your question?