• Resolved fabianspring


    Hi, great AddOn. I just wish to add a Facebook Standard-Event once a payment was triggered and wonder if that was possible somewhere.
    I guess if it goes somewhere in the PHP source it should probably look something like this:

    fbq(“track”, “Purchase”, {value: “<?php print esc_attr($amount); ?>”, currency: “<?php print esc_attr(get_option(‘sd_paypal_currency’, SD_PAYPAL_LANGUAGE)); ?>”});

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople


    Hello Fabian,

    In this case would be required customize your copy of the plugin. You can include the javascript code directly in the download page, but as you need the currency and payment amount, would be required to read the database information before generate the javascript code.

    If you need a custom coding service, do not hesitate in contact me through my private website:


    Best regards.

    Thread Starter fabianspring


    thank you for your fast response. You helped me already as I’ll just use a different event for now in the download page.
    Once I need to go deeper intp detail with this including the price etc. I’ll get back to you.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add FB-Pixel-Event’ is closed to new replies.