ConvertedU Marketing Library Webinar Blog

Need help? You've come to the right place

What's New Getting Started Building Integrating Publishing

Page Tracking and Third-Party Analytics

While we provide built-in analytics for all of your Leadpages and Leadboxes, you can also use third-party analytics or tracking code. Tools like Google Analytics and Facebook’s Pixel provide powerful metrics so you can get even more data on your pages and forms’ performance. 

In this guide, you’ll also learn where you can paste third-party tracking code in Leadpages and Leadboxes as well as edit search engine keywords and social media previews.

NOTE: We can’t provide support for specific questions about your third-party tracking service. Learn more…
 

The fine print

Here are some notes to keep in mind while you work with third-party analytics and tracking code:

  • Modifying your page’s code can cause issues on your pages or Leadboxes. Take care to properly configure your tracking code according its documentation, and avoid entering other code in the tracking code sections.
  • Some services calculate metrics differently than our system, so in some cases third-party data will differ from our numbers. More info…

Access page tracking

Each Drag & Drop page has a set of global Page Tracking settings. You can access them in the builder’s left-hand sidebar, as shown below.

If you're using the Standard Builder, you'll want to navigate to your Leadpage Options as indicated below.

Installing Third-party analytics (i.e. Facebook Pixel, Google Analytics)

Determine where to install your code

Before getting started, you’ll need to find out where your code should be installed. Check your tracking service’s documentation for their recommendation. Typically, they’ll suggest placing the code in the <head> or <body> section of your page. 

You’ll also want to determine which page to paste your code onto. Some services require you to paste their code on a “thank you” or confirmation page. Other tools might instruct you to install the code on your opt-in page itself.

You can find installation guides for Google and Facebook below:

If you’re using a different service, visit their site to find out where they recommend pasting their tracking code.

Google Analytics Tracking ID

Within the Page Tracking section of the Leadpages builder, you can paste your Google Analytics Tracking ID (i.e. UA-123456-0). This is a quick and simple way to get your Google Analytics tracking code running on your Leadpage.

NOTE: This field is currently for Google Analytics only. It's available in solely the Drag & Drop Builder. If you're using Google Tag Manager, you'll want to utilize the tracking code sections detailed below.

Facebook Pixels

Before following the steps below, you'll want to grab your Facebook Pixel code within the Facebook Ads Manager. We've got a couple of videos here to help you out!

Access your Facebook Pixel

Add Facebook Pixels to Leadpages

Drag & Drop Leadpages and Leadboxes

Here’s where you can install your tracking code in our Drag & Drop Leadpages and Leadboxes:

  1. Create or open a Drag & Drop Leadpage or Leadbox where you’d like to install your code. 
  2. Click Page Tracking / Leadbox Tracking in the left-hand sidebar, then select Analytics.
  3. Paste your tracking code in one of the fields provided, according to instructions from your analytics service provider.
  4. Click Save, then Update your page or Leadbox.

NOTE: Code pasted into the <body> section of a Leadbox will always appear at the beginning of the <body> section.

Standard Builder

You can paste tracking code onto any Standard Leadpage or opt-in form. Here’s how:

  1. Open an existing Standard Leadpage, or create a new one.
  2. In the builder, click Lead Page Options in the left sidebar, then select Tracking Codes
  3. Paste your code in the head or body section, then click Done.
  4. Click Save in the top-right corner. 

To add code to a form, follow the steps below.

  1. Open your form (which can be part of a Leadpage or a standalone Standard Leadbox). 
  2. Click Tracking Code in the left sidebar.
  3. Paste your code in either the “Extra head” or “Extra body” section, then click Okay. Click Okay again to save your form changes. 

Search engine optimization (SEO)

Search engine optimization (SEO) is a complex topic, so we won’t cover all the details here. The good news is that a lot of best practices are built into Leadpages already—such as mobile responsiveness and structured HTML.

For additional tips, check out Google’s Webmaster Guidelines. While you may not be able to implement every single best practice, their guide provides handy advice for optimizing your pages.

Finally, you can set the title, keywords, and description of any Leadpage in the Page Tracking tab under the SEO tab.

If you’re unsure what to put in your page’s SEO fields, review this article from Google: Create good titles and snippets in Search Results ↗

Some Leadpages users want to make sure they have an SEO H tag on their page. You can make sure of this by using the headline widget, as each size setting within the headline widget corresponds with an H tag like so:

  • Jumbo, Headline = <h1>
  • Subhead = <h2>
  • Small Subhead = <h3>

SEO settings are located in the Leadpage Options next to Tracking Codes in the Standard Builder, as indicated above.

Facebook Preview

Editing the title, description, and Facebook thumbnail image will impact the preview of your Leadpage when you share it on social media. Some fields will also transfer over to other social networks. Learn more here. ↗

Frequently asked questions

Do third-party analytics work with Leadpages published to WordPress or my server?

Yes! As long as you include the code on your page, it should work with all of our publishing options, including WordPress. If you use our Advanced HTML export feature, it’s usually best to paste your tracking code right within your page’s source code (rather than in the builder). 

I need help setting up my tracking code… what are my options?

As much as we’d like to help, we’re not able to provide direct support for third-party analytics platforms. That said, many top services have excellent guides that cover everything from setup to troubleshooting advice. 

If you’re still stuck, you might try reaching out to your analytics service’s support team—or, if they don’t offer one-one-one support, check for a forum, such as those for Google and Facebook:

That said, don’t hesitate to reach out to us if you have issues or questions about anything within Leadpages. 

(Updated August 10, 2018)


Please let us know if you have additional questions.

You can always file a support ticket if you have additional questions by clicking the Support button in your dashboard shown here or clicking here to file a support ticket.

Was this article helpful?
Powered by Zendesk