Home › Forums › Quform WordPress › Facebook Pixel Dynamic Value based on Selected Menu
- This topic has 24 replies, 2 voices, and was last updated 3 years ago by Ally.
- AuthorPosts
- October 25, 2021 at 11:23 am #33567AllySupport Staff
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 9, 2021 at 12:38 pm #33665AudiojungleDanielParticipantHi I really struggle with my Facebook Pixel and conversions. I need to go back to a more stable solution like a standard event script.
So when submitting my forms, I want this code to run (in order to trigger a facebook pixel purchase event), how do I achieve this?
Thx!
<script>
fbq(‘track’, ‘Purchase’, {currency: “SEK”, value: 89.00});
</script>November 9, 2021 at 12:39 pm #33666AudiojungleDanielParticipantConcerning this domain: https://dinadrycker.se
November 10, 2021 at 9:53 am #33669AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 10, 2021 at 8:41 pm #33671AudiojungleDanielParticipantOk, I need to redirect them to a custom URL. I tried with the choice “Show a messages then redirect to a custom URL. This set up didn’t work. Any other solutions?
Thank You! / Daniel
Attachments:
You must be logged in to view attached files.November 11, 2021 at 9:48 am #33673AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 11, 2021 at 8:50 pm #33675AudiojungleDanielParticipantOk, Sorry for being inexplicit. The choice in the dropdown menu “Show a messages then redirect to a custom URL” works fine. The tracking didn’t. But now I have added the code you gave me instead. Can you take a look if it seems right this time? It’s runs on the URL below:
<script>
fbq(‘track’, ‘Purchase’, {currency: “SEK”, value: 89.00});
</script>Attachments:
You must be logged in to view attached files.November 16, 2021 at 10:12 am #33688AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 17, 2021 at 2:22 pm #33704AudiojungleDanielParticipantWow! Thats was great news!
Thanks a lot! It works perfectly well now! This feels like a more solid setup when the script is connected to every uniq form instead of adding the script in the “Custom javascript field” in settings.
Do you believe that it’s possible to send a “Dynamic Value data to Facebook based on the “Selected Menu” in the form?
For example: Price (129.00) * Value in the selected menu (3) = Purchase value 387 Kr
Attachments:
You must be logged in to view attached files.November 18, 2021 at 11:10 am #33709AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.