This is the third article in few days about the Thank you page. I’m feeling a lot thankful.
Today you will learn how to add the Google Analytics tracking code used to track conversions. Since the first page you see after completing an order is the Thank you page, you need to add it there.
Are you ready to get your hands dirty?
Well, then open, as always, the file functions.php located in wp-content/themes/your-theme-name/ and add this code at the end of it:
Add your Google Analytics tracking code where you read <!– PUT YOUR GA CODE HERE –> and test the conversions in Google Analytics.