Menu

Order and Signup Tracking Code

On the Advanced Settings page of your admin dashboard you’ll find options called Order Tracking Code and Signup Tracking Code.


These fields enable you to easily add HTML and/or Javascript to your Thinkific site, so that you can keep track of events such as referrals and conversions in external softwares - analytics programs, affiliate programs, etc.


Below, we’ve included some general info on how tracking code works on Thinkific and the variables that you can use to send information on user signups and orders to whichever external software you’re using!


Order Tracking Code


Advanced Settings > Order Tracking Code allows you to track conversions to paying customers on your Thinkific site - this field adds code specifically to the checkout thank you page for your site, and so your code will fire information back to your external software whenever a successful purchase is completed.




You can use the following Liquid variables, wrapped in {{ }}, to send over details of the order:


  • order_number
  • billing_name (The full name of the person who made the purchase)
  • billing_email
  • payment_method
  • total_price_in_cents (e.g. 10000 for $100.00)
  • total_price (The amount in dollars and cents e.g. 100.00)
  • referral_code

For example, to send the order number include {{ order_number }}  in your tracking code - this will output the Thinkific order number, e.g. ORD00001.



Signup Tracking Code


Advanced Settings > Signup Tracking Code allows you to track new user signups on your Thinkific site. Order Tracking Code will not fire for free courses, so if you’re looking to track signups for a free course, or general user signups to your site even if they don’t result in a purchase, then you can use this field instead.


You can use the following Liquid variables, wrapped in {{ }}, to send over details of the signup:


  • id (The unique identifier of the user that signed up)
  • first_name
  • last_name
  • full_name
  • email
  • created_at (The date of the signup in number of seconds since the Unix epoch)

For example, to send the user’s email include {{ email }}  in your tracking code - this will output e.g. joe@example.com.



Common uses for tracking code


Some of the most common uses for tracking code are for tracking conversions based on advertising campaigns run on Google and Facebook. We have some specific instructions for setting up conversion tracking in Google Analytics here. For Facebook ads, there’s actually no Advanced Settings stuff required - simply paste your base pixel code under Integrations > Facebook on your admin dashboard!


If you have any additional questions about this, please leave us your feedback below!

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.