BLOG

SHORT HILLS DESIGN BLOG
CATEGORY: 

How to Add Google Analytics Data to a LeadPages.com LeadPage

Published:  October 21, 2019
How to Add Google Analytics Data to a LeadPages.com LeadPage

There are a number of ways to get analytics data from your LeadPages that you generate from LeadPages.com. Here's a way to add your own Google Analytics data to your LeadPage:

  1. In the LeadPages editor, head to your Page Settings:

2. Then navigate to the Analytics tab:

3. Leave the tracking ID section blank, and add your custom code to the box below:

Lead Pages GA Code

Note this is the new gtag.js code.  And here's the code itself to copy and paste:  (please note that this is a work in progress, and you might find a better way. SHD makes no guarantees for the code below. Use at your own risk).

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-XX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-XXXXXX-XX', {
'page_title' : 'your page title here',
'page_path': '/somePath'
});
</script>

The Website Owner's Manual

Download our free 100+ page "website owner's manual" and learn what you and your team need to know about your website before you invest your marketing dollars

Download today

CONTACT US

We're a Google Certified Partner

© Copyright 2008-2021 - Short Hills Design, LLC - All Rights Reserved
envelopephone-handsetmap-marker linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram