How to Add Google Analytics to Teachable
Connecting Google Analytics to your Teachable school is one of the fastest ways to understand how students find you and what they do once they arrive. Instead of relying on guesswork, you can get concrete data on which marketing channels are working, what course pages get the most attention, and where your audience is coming from. This guide will walk you through the simple steps to get your analytics up and running.
Why Connect Google Analytics to Teachable?
Teachable has its own built-in reports, which are great for a quick overview of sales and student progress. But Google Analytics (GA) takes your data to a whole new level. It's built to analyze web traffic in incredible detail, giving you insights you can't get from Teachable alone.
Once connected, you can answer critical questions like:
- Where are my students coming from? You can see exactly how many visitors are coming from your blog, social media channels, email newsletters, or Google searches.
- Who is my audience? Gain insights into your visitors' demographics, including their age, gender, location, and interests. This is invaluable for tailoring your marketing messages.
- Which content is most engaging? Discover which course sales pages, landing pages, and curriculum lessons are viewed the most, helping you double down on what works.
- How effective are my marketing campaigns? Track the performance of specific ads or promotions by seeing if visitors from those campaigns end up exploring your courses.
In short, it helps you move from "I think this is working" to "I know this is working" by backing your decisions with real data.
Step 1: Find Your Google Analytics 4 "Measurement ID"
Before you can add anything to Teachable, you need a unique tracking code from Google Analytics. We'll be using Google Analytics 4, which is the latest version. This code is called a "Measurement ID" and it looks like this: G-XXXXXXXXXX.
How you find this depends on whether you already have a Google Analytics account.
If You're Already Using Google Analytics 4
If you have an existing GA4 property for your website, finding your Measurement ID is easy.
- Log in to your Google Analytics account.
- Click the Admin gear icon in the bottom-left corner.
- In the Property column, make sure your correct property (e.g., "My Teachable School") is selected.
- Click on Data Streams.
- Select your web data stream from the list. It will usually be the name you gave your website or URL.
- On the next screen, you'll see the Measurement ID in the top-right corner. Copy it! That's the
G-XXXXXXXXXXcode you need.
If You Need to Create a New Google Analytics Account
If you've never used Google Analytics before, you'll need to create an account and a property for your Teachable school. It's a quick, one-time setup.
- Go to the Google Analytics website and sign in with your Google account.
- Click Start measuring to begin the setup process.
- Account Creation: First, give your account a name. This is just for your organization, so something like "My Online Business" works perfectly. Review the data sharing settings and click Next.
- Property Creation: Now, create a "Property." Name it after your school (e.g., "Awesome Art School"). Set your reporting time zone and currency. Click Next.
- Business Details: Provide some basic information about your industry and business size. This helps Google tailor your reporting experience. Click Next.
- Business Objectives: Select what you want to achieve, such as "Generate leads" or "Drive online sales." Click Create and accept the terms of service.
- Set Up a Data Stream: This is where you tell Google where to collect data from. Choose Web as your platform.
- Enter your Teachable school's URL (e.g.,
myschool.teachable.com) and give the stream a name (e.g., "Teachable School Website"). Click Create stream. - After creating the stream, you'll see a page with your stream details. Your Measurement ID (
G-XXXXXXXXXX) will be in the top right corner. Copy this code.
Step 2: Add Your Measurement ID to Your Teachable School
With your Measurement ID copied, the hard part is over. Now you just need to paste it into the right spot in your Teachable admin dashboard.
- Log in to your Teachable school's admin area.
- From the left-hand navigation menu, click on Site.
- In the sub-menu that appears, select Code Snippets.
- You'll see several sections here for different code types. Scroll down to the Google Analytics area.
- Simply paste your GA4 Measurement ID (the
G-XXXXXXXXXXcode) into the field labeled "Analytics ID." - Double-check that you've pasted the entire ID correctly without any extra spaces.
- Scroll down and click the Save button.
That's it! You've now officially connected Google Analytics to your Teachable School.
Step 3: Verify That Data is Collecting Correctly
After setting everything up, it’s always a good idea to confirm that data is flowing from your Teachable school into your Google Analytics account. The best way to do this is with the Realtime report.
- In a new browser window or tab, open up your Teachable school. Click around to a few different pages, like your homepage, a course sales page, and your 'all courses' page.
- In another tab, go to your Google Analytics account. On the left side navigation, go to Reports > Realtime.
- Within a minute or two, you should see yourself appear as a user on the map and in the "Users in Last 30 Minutes" card. You'll also see the pages you're viewing pop up in the "Views by Page title and screen name" card.
If you see activity in the Realtime report, you're all set! It can take 24-48 hours for data to start populating the full standard reports, so don't worry if they look empty at first.
Using a Custom Domain? One Final Step
If you use a custom domain for your Teachable school (e.g., courses.myawesomebrand.com instead of myawesomebrand.teachable.com), there's one more setting you should configure for accurate tracking. This is called cross-domain measurement, and it ensures that if a user moves between your main website and your Teachable school, Google Analytics treats them as a single user in one continuous session.
- Go back to your Google Analytics Admin panel.
- Click on Data Streams and select your web data stream.
- Scroll down and click on Configure tag settings.
- Under the Settings column, click Configure your domains.
- Add a condition for every domain you want to track in the same session. For example, add your main website domain (e.g.,
myawesomebrand.com) and your Teachable custom domain (e.g.,courses.myawesomebrand.com). - Click Save.
This simple step prevents major data headaches, like inflated user counts and broken session tracking, giving you a much cleaner view of your students' entire journey.
Final Thoughts
You've now successfully turned on a powerful stream of data for your online school. By following these steps to connect Teachable and Google Analytics, you can finally move beyond basic sales numbers and start understanding the behavior behind them, allowing you to make smarter decisions about your marketing, content, and course offerings.
Once your data is flowing, you might discover the next challenge is making sense of it all alongside reporting from Facebook Ads, your email platform, or other tools. To pull everything together easily, we built Graphed. After connecting your analytics accounts in just a few clicks, you can use simple natural language to build real-time dashboards and ask questions like, "Which of my social campaigns from last month led to the most course sales?" to get immediate, actionable answers without juggling spreadsheets or learning complex BI software.
Related Articles
How to Connect Facebook to Google Data Studio: The Complete Guide for 2026
Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.
Appsflyer vs Mixpanel: Complete 2026 Comparison Guide
The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.
DashThis vs AgencyAnalytics: The Ultimate Comparison Guide for Marketing Agencies
When it comes to choosing the right marketing reporting platform, agencies often find themselves torn between two industry leaders: DashThis and AgencyAnalytics. Both platforms promise to streamline reporting, save time, and impress clients with stunning visualizations. But which one truly delivers on these promises?