#Victor Lesme

1 messages · Page 1 of 1 (latest)

lavish socketBOT
clever roost
#

Hi 👋 I haven't heard of the functionality you're describing before, and I don't think it's something that we offer, as our hosted Checkout flows have limited options for customizations. Are you seeing this referenced in a piece of Stripe documentation somehwere that you could point me to?

regal vault
#

Hey, how are you? Thanks for answering!
No, I'm just wondering if it's possible to install the Facebook pixel on the payment page!

#

I'm new to stripe, so I don't understand much about the platform.

clever roost
#

Gotcha, if you're referring to our Checkout Sessions (which are also used for Payment Links), then no, as far as I'm aware that isn't supported.

If you wanted a flow where you can embed additional tracking components, you'd probably want to build your own page(s) for that, and use our Payment Element inside of that flow:
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
The Payment Element shown there is an embeddable component that you can add to your page. That integration path allows you to control most of the behavior of your checkout flow, but allows you to still route payments through our already-compliant systems.

Securely accept payments online.

regal vault
#

I don't speak English and I don't understand programming at all, I apologize for that, but for example! Could I add this code to the purchase page?

<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1057364382064919');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1057364382064919&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->

#

Is there any plugin that you can install and add this Facebook pixel at checkout?

clever roost
#

No, if you're using Checkout Sessions then you cannot add your own tracking pixel. If you're creating your own page, then I don't see why you wouldn't be able to add a tracking pixel, but doing so isn't something I'm familiar with.

I don't know if there is a plugin for that, that's not outside of our area of expertise. We help developers who are building custom Stripe integrations work with our APIs and SDKs.