Question:
Why is my Facebook custom conversion not working?
Product:
Wix Editor
What are you trying to achieve:
I am trying to set up a Facebook custom conversion on my Wix website. I created the custom conversion on Facebook and connected it to the URL containing “danke-fuer-deine-bewerbung.” The relevant code has been added to Wix as follows: Settings > Custom Code > Add Code. I will include the code snippet at the end of my description.
In the new window for entering the code, I selected the following settings:
- Add Code to Pages: Select Specific Pages
- Target Page: “Danke für deine Bewerbung”
- Place Code in: Head
Here is the code:
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/de_DE/sdk.js#xfbml=1&version=v2.12';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script>
// Ensure fbq is defined
if (typeof fbq === 'function') {
// Track Lead Event
fbq('track', 'Lead');
// Track Custom Event
fbq('trackCustom', 'Danke Seite für Bewerber');
}
</script>
Despite applying these settings, the custom conversion remains inactive after several days.
What have you already tried:
- Installed the Facebook Pixel correctly and verified with the Google Chrome Plugin Meta Pixel Helper.
- Tested the event on Facebook by entering the URL “https://www.immobilien-zell.com/danke-fuer-deine-bewerbung” and it redirects to the correct page.
Additional information:
My homepage is www.immobilien-zell.com, and the pixel should work on the following subpage: https://www.immobilien-zell.com/danke-fuer-deine-bewerbung. Despite all efforts, it hasn’t been working for days.
I would be very grateful for any help.
Have a great day and best regards,
Domi