Facebook Meta Pixel
Use Meta Pixel tracking to measure Q engagement for your Facebook/Instagram ad campaigns and build retargeting audiences based on quiz completions or form submissions.
Qzzr sends events to Facebook/Meta as Custom Events, which requires your Q to be embedded on a verified domain. You can read more on why you need to verify your domain here.
Set up verified domains on Facebook/Meta
- Go to your your Meta Business Manager.
- Go to Business Settings.
- Go to the Brand Safety section. Please consult the Facebook guide for more information.
- Once your domain is verified, create a Meta Pixel or take the existing Pixel code from the Business Settings Data Sources section in Meta Business Manager and add it to the webpage where you want to embed the Q.
Use Facebook/Meta Pixel in Qzzr
- Go to PUBLISH.
- Go to Tracking.
- Enable Facebook / Meta Pixel.
- On the webpage where you embed the Q you need to have your Facebook tracking script enabled. Typically, the Facebook Tracking Code is in the header section of every page, so no extra work is required. Qzzr automatically sends all events to your Facebook tracking code.
- If you have customized your tracking code and are not using "fbq", you can enable the Custom Facebook Pixel configuration and change the default from "fbq" to whatever you are using. Please only change this value if you know what you are doing.
- If you only want to track certain events, open Custom event configuration and uncheck events that you do not want to track. The default setting is that all Q events are sent to Facebook.
- Install the Meta Pixel Helper in Google Chrome to ensure proper implementation of monitoring all events sent to Facebook.
- This is the code we send to Facebook/Meta Pixel:
window.fbq
fbq("trackCustom", riddleEvent.category, {
eventAction: riddleEvent.action,
eventName: riddleEvent.name
});