Optimizing the “Thank-You” page in eCommerce is of prime importance. It helps boost more conversions and can establish trust among the potential customers. 

It is even bit-challenging for Magento 2 store owners. So, I will provide a solution that can help to easily customize thank-you page in your Magento 2 store. 

You can easily add social media buttons, newsletter subscription buttons, coupon code blocks etc. Optimizing Magento 2 checkout success page helps increase conversion, enhanced customer experience and can help grow your business exponentially. 

The programmatic method to add custom block in checkout success page in Magento 2 is described best in the article at: https://meetanshi.com/blog/add-custom-block-in-checkout-success-page-in-magento-2/