1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Implementing Facebook pixel

Discussion in 'Programming' started by Loque, Nov 22, 2020.

  1. #1
    I need an help in implementing facebook pixel.
    I have setup a basic html store. The pixel respond well to page view and purchase completion. The payment is made with stripe that redirect to my thank you page when the payment is completed. The pixel is set that the thank you page trigger the completion of the transaction. The problem is that simply refreshing that page or navigate directly to that web page and another 'purchase' event is triggered.
    How to avoid this and make it safe?
    Loque, Nov 22, 2020 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Likes Received:
    Best Answers:
    Trophy Points:
    You didn't mention a webhook. Has a Stripe webhook been integrated into your payment process? If you're not familiar with webhooks, it will be hard to explain the concept in a forum post. Check out this implementation page: https://stripe.com/docs/webhooks
    qwikad.com, Nov 22, 2020 IP
  3. Loque

    Loque Greenhorn

    Likes Received:
    Best Answers:
    Trophy Points:
    I created a checkout_session_completed webhook.
    Loque, Nov 23, 2020 IP