Prerequisite
- Create a Facebook Pixel.
- Create a payment success page on your domain and add the Facebook Pixel to it.
Workflow
Let us assume you are a Internet Service Provider. You attract customers using advertisements on Facebook and attract subscribers on your website using Razorpay Subscription Button. To track and measure the effectiveness of these Facebook ads and how many of them convert into purchases, you need to add a redirect from your Subscription Button to this success page. To do this:- Navigate to your Subscription Button in edit mode, to the Button Created Successfully screen.
- Click Configure against Redirect URL and Custom Message.
- In the modal that appears, enable Redirect URL.
- Add the redirect URL in the field.
- Click Save.