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.

WebPT + Billing Software - Regular BannerWebPT + Billing Software - 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 …

  • Social Networking with Purpose: A Guide for OTs Image

    articleMar 10, 2017 | 4 min. read

    Social Networking with Purpose: A Guide for OTs

    1.86 billion Facebook users and myself agree: online networking platforms represent one of the best technological advances in recent years. If you aren’t leveraging the online sphere to grow your occupational therapy network, you may be missing out. However, we all know by now that the online world can be a rabbit hole of dead ends and misadventures. It is, therefore, critical to approach social networking with purpose.  Here are three steps to help you do just …

  • D’Oh! 3 Major Physical Therapy Marketing Fails Image

    articleSep 18, 2017 | 8 min. read

    D’Oh! 3 Major Physical Therapy Marketing Fails

    Homer Simpson introduced the catchphrase “d’oh!” on the long-running cartoon sitcom, The Simpsons, in 1989. It’s arguably one of the most recognizable catchphrases in American pop culture. So much so, in fact, that the Oxford Dictionary of English added the word in 2001. Defined as an informal exclamation “used to comment on a foolish or stupid action, especially one's own,” “d’oh” is the most fitting—and safe for work—reaction to committing a major fail. “D’oh” is even more …

  • What’s a Value Prop, and Why Does Your PT Clinic Need One? Image

    articleApr 1, 2019 | 6 min. read

    What’s a Value Prop, and Why Does Your PT Clinic Need One?

    We’ve written a gazillion posts about the importance of selling the value of physical therapy—as well as the value of your specific services. After all, so few of the patients who could benefit from receiving physical therapy are actually receiving it. Thus, it’s clear that most of the general public still doesn’t understand what this profession is capable of —namely, helping people restore function, improve wellbeing, and recover from injury without relying on dangerous, costly interventions such …

  • 3 Quick Wins for Your Online Marketing Strategy Image

    articleMar 24, 2015 | 6 min. read

    3 Quick Wins for Your Online Marketing Strategy

    Starting a clinic in a new city—with new referral sources and limited networks—can be very challenging. But with the right online marketing strategy, you can expedite the process. In fact, over the last three months, I’ve been able to grow my patient base by using old school word-of-mouth marketing and establishing an online presence in the local community. There are many ways to use the power of the Internet to market to patients and referring providers, and …

  • 3 Things You’ve Gotta Know About Running a PT Practice Image

    articleApr 7, 2016 | 8 min. read

    3 Things You’ve Gotta Know About Running a PT Practice

    As physical therapists, we’re observant. We closely examine movements, attentively listen to patient complaints, and expertly read between the lines. Unfortunately, though, we don’t always give that level of attention to the non-clinical stuff. Because while we’re expert empathizers, we’re not the strongest scrutinizers. And when it comes to business, you need to scrupulously scrutinize. I worked as a physical therapist for more than 15 years, and I spent a good portion of that time as a …

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