Buy me a coffee

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!

Leave a Comment

Ask me a question, free

If your site is private or in trial, just setup password and share url. See how to: https://beaverhero.com/squarespace-how-to/
Please check your email carefully. Recently I got a lot of questions with wrong emails.

If you haven't heard from me within 24 hours please check your junk/spam folder