You already know that you need Google Analytics on your website. (And if you didn’t know that, then I recommend reading my Intro to Google Analytics for Private Practices to find out why you need to drop what you’re doing and install it right away!) So now, you’re probably wondering how to actually add Google Analytics (GA) to your site. Well, buckle up for a fun (and slightly technical) ride to unlocking the power of analytics on your website. There are a lot of different website management systems out there, but I’m going to show you an easy way to cut through the difficult technical coding and implement everything using Google Tag Manager. Don’t worry, though—it won’t be too painful.

Okay, deep breath—and here we go.

The PT Patient’s Guide to Understanding Insurance - Regular BannerThe PT Patient’s Guide to Understanding Insurance - Small Banner

Getting Started

Getting Google Analytics on your website isn’t rocket science, but it does take a little preparation. Here’s what you’ll need to get started:

  • A Google account that only you have access to (if you don’t have a Google Account, you can follow these instructions to create one)
  • Ability to add code to your website
  • Roughly 15-30 minutes

Finally, make sure you can copy and paste like a pro!

Signing Up for Google Tag Manager (GTM)

First, you’ll need to sign up for a free Google Tag Manager account. (If you already have a Google account and are signed into that account, then this process will be super quick and easy.



After clicking the signup button, you’ll land on the Add a New Account screen. You can name your account anything you wish, but I would recommend using your company’s name. Once you fill in your account name, you’ll be prompted to set up a container. This sounds more confusing than it is. All you need to do is name your container after your website URL, which is “” in the example below (please note that this is a fake website that I’m using as an example only). Then, select where you want to use this container. In this case, because this is going on your website, you’ll select “Web.” Finally, click “Create” and accept the terms of service agreement.



You’ll then see a screen like this:



Now, this is a moment when you might normally start to panic (especially if you aren’t a developer). But, I’m here to tell you not to worry. In fact, you can leave this screen alone for now and open up another tab in your browser. We’ll come back to it in a few minutes to finish this process.

Installing Google Tag Manager on Your Website

Okay, this is going to be the hardest part of getting Google Analytics on your website, but I’m going to do everything I can to make it as painless as possible.

First off, sign into your website’s content management system (CMS). For this example, I’m going to show you how this is done in WordPress (if you’re having trouble replicating this process in your own CMS, just let me know in the comments and I’ll see if I can help you out).

Once you’ve signed into WordPress, select “Plugins” on the left side of your dashboard, as shown below.



Then, select “Add New,” and search the plugins for “Header and Footer,” and install and activate the plugin (this plugin is free, and you can take a look at it here if you’re interested).

Ready for the hard part? Here it is: click back to the Google Tag Manager and copy all the code on that page. Then, click back to the tab that has WordPress open and paste the code into the <Head> Section Injection on every page. It should look like this:



After you’ve installed the plugin, click on “Settings”; then, click “Header and Footer.” That’ll take you to a page like this:



Finally, click “Save” at the bottom of the page—and you’re done! Well, you’re done adding code to your site, anyway. Pat yourself on the back; you made it through the hard stuff!

Setting Up Google Analytics

Now that your code is all ready to go on your site and you’ve set up some of your Google Tag Manager, it’s time to head to Google Analytics. Scroll a little ways down the page and click “Get Started” under the Google Analytics box.



You’ll then see a screen like this:



Click “Sign Up” on the far right. You’ll then land on this page:



It might look scary, but don’t worry. I’ll walk you through it!

First, set up the account name. It’ll probably be the same one you used for your account name in Google Tag Manager. Then, fill in your website name (this will probably be the same as your account name) and add your website URL.

If you have more than one website, you’ll want to use your corporation’s name as the name of your account. Then, your website name will be the individual website name with the URL specific to that website.

Now, select the industry option that best describes your website (for the average WebPT Blog reader, the most appropriate option is likely “Healthcare”). Then, choose the location and timezone of your business.

I’d recommend leaving all of the data-sharing settings checked. Now, click “Get Tracking ID.” Accept the terms of service. Okay, you’re done with the setup for now—but leave that page open. Time to go back to Google Tag Manager!

Setting Up Google Analytics on Your Site Through Google Tag Manager

We are nearing the end of the trip, everyone. Hang on tight—we're almost there!

On your Google Tag Manager account, you should see a screen like this:



To complete Google analytics setup, you’ll first need to click “Add a New Tag.”
You will then see this screen:



Click on the tag configuration box and select “Universal Analytics - Google Analytics” from the menu (it should be at the very top).

Now, you’ll enter your Tracking ID and Track Type—and you’ll have a ton of other options under “More Settings” and “Advanced Settings.” For this example, we are going to keep it simple and ignore the advanced settings and options. (If you’re interested in these or have a specific question about them, please let me know in the comments.)

Anyway, you’ll need to switch back to your Google Analytics tab and copy your Tracking ID. It should look something like this:



Copy the whole code (starting with the “UA”), switch back to your Google Tag Manager tab, and enter the code into the Tracking ID field. For this example, we’ll leave the Track Type as “Page View.” Then, click “Triggering” and select the only option available (it will say “All Pages” with the type “Page View”).

Your page should look like this:



Click “Save” in the top-right corner and name the tag.

Final step: Click “Publish” in the right corner of the screen.



When you click “Publish,” you’ll have the option to name your published edits and add a description. For example, you may want to name this “GA Version 1” and in the description write “created and deployed Google Analytics tag.” However, you normally only need to do this if you want to add more tags to your site in the future or if you need to update or fix an error with this version.

That’s it—once you publish the tag, it’ll be active on your website. Now, you just have one—and this time, I really mean one—last step before you can breathe a sigh of relief and call it a day.

Confirming That Your Google Analytics Tag is Working

Whew—talk about a lot of steps! Now comes the moment of truth: did it all work? Thankfully, there’s a quick and easy way to check. Head over and download the free Chrome extension from Google called Tag Assistant. Once it’s installed, navigate to your website and click on the Tag Assistant extension in the top right of your browser. You’ll then need to click “Enable” in the bottom-left corner and reload your web page.

It will then show you all the tags on your page, and if everything is working correctly, you should see something like this:



Double-check that the Tracking ID code is the same as the one you entered, and you’re all good to go! Google Analytics is official installed on your website and will start collecting data on your visitors right away.

Bringing it All Together

So you went through this whole process, and now you’re thinking, “What exactly do I do now that I have Google Analytics on my website?” Stay tuned: my next post will show you how to look at the data coming in, set up a dashboard to quickly assess how your visitors are interacting with your website, and create a few simple goals to inform you of when a visitor completes a contact form.

As always, feel free to ask any questions you have about this or anything else related to Google Analytics or Tag Manager in the comments.

  • Common Questions from our Physical Therapy Website Optimization Webinar Image

    articleOct 18, 2017 | 21 min. read

    Common Questions from our Physical Therapy Website Optimization Webinar

    On October 17, 2017, WebPT’s own Charlotte Bohnett and Shawn McKee hosted a webinar detailing how rehab therapy practices can make themselves findable—and, more importantly, discoverable—online. During the presentation, they covered everything from blogging and soliciting reviews to keywording and optimizing online profiles. It was a lot of juicy information—and we received a lot of juicy questions from our audience. We’ve compiled the most common ones—and their answers—in the FAQ below. Reviews Can I send patients a …

  • Intro to Google Analytics for Private Practices Image

    articleAug 16, 2016 | 6 min. read

    Intro to Google Analytics for Private Practices

    Do you want to acquire more patients? Do you want your current patients to show up to their appointments more often? What if you could start working toward accomplishing both of those goals—and more—for free? Got your attention now, don’t I! It’s easy to meet those goals if your company has a strong digital presence—one that is built around your website. (By the way, just to double-check—you do have a website , right?) Now, ask yourself: “Is …

  • The How and Why of Google My Business Image

    articleAug 24, 2016 | 7 min. read

    The How and Why of Google My Business

    What keeps you awake at night? Are you worried about that leaky faucet in the kitchen? Or is it your clinic that demands your mind’s attention in the wee hours of the morning? Perhaps you’re concerned that potential new patients won’t be able to find your business online—or worse, that they’ll see that dreaded one-star review when they search your company’s name. Well, I’ve got good news for you: I’m about to show you an easy way …

  • How to Spend Your Clinic’s Marketing Dollars for Maximum Returns Image

    articleAug 17, 2016 | 11 min. read

    How to Spend Your Clinic’s Marketing Dollars for Maximum Returns

    As author and marketing guru Seth Godin says, “In a crowded marketplace, fitting in is a failure. In a busy marketplace, not standing out is the same as being invisible.” If you want to stand out in the rehab therapy marketplace—and potentially grow your clinic—then spending money on marketing is essential. But, to ensure a maximum return on investment, you’ve got to carve out—and carefully manage—your physical therapy clinic’s budget. Knowing where to put those dollars can …

  • 6 Biggest Takeaways from PPS 2015 Image

    articleNov 16, 2015 | 10 min. read

    6 Biggest Takeaways from PPS 2015

    Last week, I joined hundreds of amazing physical therapy professionals, students, and vendors (including yours truly, WebPT) at this year's PPS Annual Conference in Orlando, Florida. Despite the uncomfortable combination of tropical heat and humidity outside—and near-freezing conference rooms inside—everyone was in high spirits. Though I never made it to Disney World, I still felt like I was in the most magical place on Earth, thanks to the inspiring and informative presentations I saw and the thought-provoking …

  • How to Get New Patients: Calling Dr. Google! Image

    articleAug 14, 2014 | 4 min. read

    How to Get New Patients: Calling Dr. Google!

    Brrrring! Just like that, my phone rings, and on the other end of the line is a new patient inquiring about an appointment—a new patient sent from my number-one referral source. This source requires no pandering, office lunches, or thank-you letters, and it will refer hundreds of new patients to your practice, too. Who is it? Dr. Google, of course. Dr. Google is the referral source I have to thank for the majority of new patients who …

  • Referrals Run Dry: How Consolidation is Impacting PT Practice Revenue Image

    articleMar 19, 2018 | 6 min. read

    Referrals Run Dry: How Consolidation is Impacting PT Practice Revenue

    The physical therapy industry has seen more than a few ebbs and flows when it comes to consolidation. However, as WebPT President Heidi Jannenga, PT, DPT, ATC/L, pointed out in this predictions post , consolidation is currently on the rise—and more and more independent practices are being absorbed into larger systems. As a result, it’s becoming increasingly challenging for the remaining small-to-medium-sized practices to obtain enough physician referrals to compete with big physical therapy companies and large …

  • 4 Ways to Involve Your PT Staff in Clinic Marketing Image

    articleDec 18, 2018 | 9 min. read

    4 Ways to Involve Your PT Staff in Clinic Marketing

    Unless you have a complete monopoly (or run an incredibly niche-based practice), word-of-mouth efforts generally won’t keep your clinic’s doors open. Marketing is an essential part of running a healthy PT clinic, and while many clinics keep a dedicated marketing specialist on staff, smaller clinics might not have the budget to do so. Luckily, there are plenty of ways to leverage existing clinical staff to help with marketing efforts—and they’ll get the chance to flex their creative …

  • webinarFeb 1, 2013

    Achieve Greatness: Basic Tips, Tricks, and PT How-To's

    Sure, you’ve got your New Year’s resolutions down on paper but if achieving greatness isn’t on the list, there’s still time to include it—and check it off after implementing what you’ll learn from this month’s webinar. In this 60-minute session, WebPT Co-Founder Heidi Jannenga and Marketing Manager Mike Manheimer will discuss basic tips, tricks, and how-to’s to help you achieve greatness in therapy practice—everything from how to hire top talent and choose the right CEUs to maximize …

Achieve greatness in practice with the ultimate EMR for PTs, OTs, and SLPs.