Redirect to thank you page after pro sites purchase

How do I redirect to thank you page after pro sites purchase, or how can we use the FB pixel to track purchases?