How to Add Google Analytics Data to a LeadPage

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

There are a number of ways to get analytics data from your LeadPages that you generate from 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=""></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'

More about Google Analytics 4

(973) 715-9947
© Copyright 2008-2023 - Short Hills Design, LLC - All Rights Reserved
phone-handsetmap-marker linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram