• Hi there

    We are using your plugin to place our facebook pixel tracing code insode, and although we can see whenever a lead is initiated we are not getting the value of that lead through, i was wondering if you can have a look at our code incase something is amiss?. So we use WP-forms and have some custom code to tell facebook pixel to track certain forms based on their IDS, the code is as follows –

    <script>
    if(window.location.href.indexOf(“wpforms-9658”) > -1){
    }
    else if (window.location.href.indexOf(“wpforms”) > -1){
    if(window.location.href.indexOf(“wpforms-9658”) > -1){}
    else if(window.location.href.indexOf(“wpforms-10107”) > -1){}
    else if(window.location.href.indexOf(“wpforms-15527”) > -1){}
    else if(window.location.href.indexOf(“wpforms-15543”) > -1){}
    else if(window.location.href.indexOf(“wpforms-16317”) > -1){}
    else if(window.location.href.indexOf(“wpforms-15555”) > -1){}
    else{
    fbq(‘track’, ‘Lead’, {
    value: 200.00,
    currency: ‘GBP’
    });
    }
    };
    </script>

    And we get the lead part coming through no problem, its just the value that we cannot see, is there a setting to receive the value another way?

    Kind Regards

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor intellywp

    (@intellywp)

    Hi @jamiethomasunbeatable
    Thanks for choosing IntellyWP products.

    Your code seems correct and but from the “Facebook pixel helper” extension i receive the following error

    “We detected event code but the pixel has not activated for this event, so no information was sent to Facebook. This could be due to an error in the code, but could also occur if the pixel fires on a dynamic event such as a button click.Learn more”

    Have you tried to include only this part of code?

    fbq(‘track’, ‘Lead’, {
    value: 200.00,
    currency: ‘GBP’
    }); 

    Thank you

    IntellyWP

    Thread Starter jamiethomasunbeatable

    (@jamiethomasunbeatable)

    Hi there

    Yeah i can see that message also, i think you are receiving that error because we tried to put the code elsewhere to see if that worked, but it hasn’t. I have replaced it to where we had it before and if you fill in the form again you should see no error message, this is why it is confusing as we are getting the lead but not the value, and the code looks fine. If i try to place in just the part of the code you suggest then we get a lead every time someone views our page, and we only want it to give us a lead once the form has been filled out

    Thanks

    Thread Starter jamiethomasunbeatable

    (@jamiethomasunbeatable)

    I have places the code back to where it was originally and the information comes through on the facebook pixel helper, it includes the lead and value information. Do you have an email address i could send a screenshot of the information to?

    Thanks again

    Plugin Contributor intellywp

    (@intellywp)

    Hi @jamiethomasunbeatable

    i sent you an email from the contact form on your website

    Cheers

    IntellyWP

    Thread Starter jamiethomasunbeatable

    (@jamiethomasunbeatable)

    Hi there

    I checked the contact us form and cant see your message, can you send me the same message here – rdickson@shasdes-blinds.co.uk?

    Thanks

    Thread Starter jamiethomasunbeatable

    (@jamiethomasunbeatable)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Value for lead not showing’ is closed to new replies.