WooCommerce: Add Script Code to Thank You Page

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)

Step 1. Install and Activate Code Snippets Plugin

code-snippets-install1-min

Step 2. Add New Snippet

code-snippets-add-new-min

Step 3. Paste these code

Copy these code

and paste

add-script-code-to-thank-you-page2-min

Step 4. Save Changes and Activate

code-snippets-save-changes-activate-min

Done!

Share this post:

Leave a Comment