If you want add script code to Thank You Page WooCommerce . Script code can be Google Analytics, Facebook Pixel, Google Adwords…and many other script codes. Just follow these steps.
In this post, we will learn how to add Google Analytics Script Code to Thank You Page
You can use Code Snippets Plugin, or simply add snippet to functions.php (Appearance > Editor > functions.php)
In this post
Step 1. Install and Activate Code Snippets Plugin
Step 2. Add New Snippet
Step 3. Paste these code
Copy these code
and paste
Step 4. Save Changes and Activate
Done!