Let's set up your Facebook purchase event for your Inn Style bookings using the Facebook Pixel. This process is straightforward and doesn't require Google Tag Manager.
Here's how to do it:
Create a Facebook Pixel
• If you haven't already, create a Facebook Pixel in your Facebook Ads Manager• Make a note of your Pixel ID, you'll need it for Inn Style
Add Facebook Pixel to your Inn Style account
• Log into your Inn Style admin dashboard
• Navigate to Account > Website Integration
• Find the Facebook Pixel input field
• Paste your Facebook Pixel ID into this field and submit
You are now set up!
Inn Style will automatically fire the Facebook purchase event when a user is redirected to the reservation confirmation page after successfully paying for their booking.
Here's what happens behind the scenes:
Automatic event tracking
• When a guest completes a booking, Inn Style will automatically fire the Facebook purchase event
• The event will include all the necessary data as per the below code sample
The purchase event will include the following information:
• Value: Total value of the transaction
• Currency: Currency of the transaction
• Content_type: Usually set to the affiliation (e.g., "Hotel Booking")
• Contents: An array of booked items with details
• Num_items: Total number of nights booked across all bookings
Here's a sample of what the Facebook purchase event data might look like:
Important note: This event will fire when a guest completes a booking and lands on the reservation confirmation page. If you have a custom confirmation redirect set up, the event may not fire as expected. In such cases, please contact Inn Style support for assistance.
Verifying the implementation
• Use the Facebook Pixel Helper browser extension to verify that the Pixel is firing correctly • Make a test booking and check if the purchase event is being tracked
• You can also use the Facebook Events Manager to see incoming events
Remember, if you need any help with the Inn Style side of things, we're here for you. For specific Facebook Pixel questions or advanced tracking needs, it's best to consult with a digital marketing professional.