In this video, you’re going to learn how to add the Ontraport tracking script to your web pages. Now, if you’re only using Ontraport Pages, you can ignore all this and go grab a cup of coffee — we’ll add the script for you automatically. But if you’re using anything else, you’ll want to make sure to get this done. It’s pretty quick. If you aren’t big on coding, the words “tracking script” might sound a bit terrifying. But fear not — it’s a lot more approachable than it seems, and you can totally handle it. In fact, I’ll even take a second to break down what this tracking script is and why it’s important before we dive in. The Ontraport Tracking Script is a snippet of code that lives on your pages. It helps Ontraport track who’s visiting your site, where they came from, their UTM variables, Google and Facebook IDs for deep funnel conversion tracking, who referred them and more — and boom! All that information ends up getting added to each visitor’s contact record. Once you’re capturing these visits and this data, a lot more automation opens up and you’ll basically become unstoppable. You can kick off a new automation whenever someone visits your site. Or you might increase someone’s lead score as soon as they hit your pricing page. Or you could look at the platforms people are coming from. Who spends more time on your site — leads from Facebook or from Google? To let Ontraport work its magic, you need to have our tracking script installed on all your pages. That’s where this video comes in handy — we’ll show you how to do it step-by-step, based on the kind of website you have. When you’re done, you’ll know how to insert our tracking script into all your existing and future pages. This is a pretty important thing to check off that to-do list of yours — which is why we made it super easy to crank out. If you’re using WordPress, you’ll:
Add the PilotPress plugin to Ontraport.
Adjust settings in WordPress.
If you’re using other website builders, you’ll:
Copy your Ontraport tracking code.
Paste script to page’s code.
Before we jump in, note that there are three kinds of website builders: First, we have Ontraport Pages — which is absolutely fabulous, but we’re going to ignore it for now. Like I mentioned before, you’ll automatically have scripts on these pages already. Then, we have WordPress sites. And finally — everything else. Let’s start with WordPress, since that’s the most popular website builder in the world. We’ve made this super easy, because nobody wants to spend their day fiddling with settings in WordPress. All you have to do is add our PilotPress plugin to WordPress, and boom! The rest is automatic. Before you start, go into the Administration section of your Ontraport account, navigate to the Membership tab on the left, and then Wordpress Website. Click on the New WordPress Site button. Do this even if you already have a WordPress site hosted. At this point you’re just updating Ontraport. Next, choose Existing WordPress Site or New WordPress site. The New WordPress site option is for using Ontraport to host a brand new WordPress site, which we don’t recommend except for testing. So I’ll assume you’ve got your own site hosted and ready to go. Pick Existing WordPress site. Enter your website URL in the field provided, give your site a name at the top, then click save. You’ll now see your API key and App ID here. Keep this information handy — you’ll need it in a second. To add the plugin in WordPress, go to “Plugins” and click “add new.” Search for “PilotPress.” When you see it pop up, click Install and activate it. Go ahead and do a little happy dance, because you’re already almost done. Now go to Settings, then PilotPress, then General Settings. This is where you’ll pop in your API key and App ID. That’s it for WordPress! Quick. Painless. Just like I promised. Now let’s see how to add scripts for any other website builders, for those of us who prefer to take the road less traveled. This is pretty easy too — only two steps. First, you’ll get your Ontraport tracking code. Every Ontraport account’s script is different — to find yours, go to Administration. When you’re here, click this Developer Preferences and Resources tab off to the side. Then get your tracking code. When you see this little pop-up box with your code, go ahead and copy it. So that’s step one — give yourself a little high five. You’re halfway there. For step two, we’ll add this script to your page’s code. I don't know which specific tool you’re working with. But almost every builder out there lets you add custom code to your site. Otherwise, you wouldn't be able to use things like Google Analytics Tracking or Facebook Pixels. Your Ontraport script will go right next to those. It should be pretty easy to spot, even if this code looks like gibberish. Just paste it right after this “body” tag on your web page, right around here. Ideally, your editor should let you apply this script to all your pages at once. If not, you’ll need to repeat these steps for the rest of your website’s pages, too. I know that sounds tedious — but it’s totally worth it, if you want to know what your site visitors are up to. And that’s all there is to it! You've installed Ontraport’s tracking scripts on your website and the magic has begun. Now you can track, record and report on everyone’s activity with your site. Pour yourself a cup of coffee, kick back and feel accomplished — this is going to make a big difference in your marketing.