Not every SharpSpring user solely uses the site analytics provided by the application. Often, users want Google Tag Manager implemented on their site along with SharpSpring tracking code. By default, pages built in the Landing Page Builder and hosted in SharpSpring do not have Google Tag Manager tracking. This article will detail how to implement Google Tag Manager on landing pages built in SharpSpring.
|
Available with: | ||||
Marketing Automation | ✓ | ||||
CRM Ultimate | |||||
CRM PRO | |||||
CRM Free | |||||
Toolbar: | |||||
![]() |
|||||
Users: | |||||
Administrators | ✓ | ||||
Company Managers | |||||
Marketing Managers | |||||
Sales Managers | |||||
Salespersons | |||||
Jr. Salespersons | |||||
Placing Code on Landing Pages
To place tracking codes on landing pages, do the following:
<!-- Google Tag Manager -->
|
|
|
Note: SharpSpring offers Professional Services to assist with custom coding.
|
Refer to Google's help documentation for more information on web tracking with Google Tag Manager. However, when utilizing this external documentation, do not follow the second step that deals with <body>
tag content. Instead, use the supplied block of text in the above procedure.
This is due to how Google's instructions uses code that contains <noscript>
tags. SharpSpring does not permit <noscript>
tags. Also, Google's code can only run when JavaScript is not present in code. SharpSpring landing pages require JavaScript, which means that Google's supplied code would cause errors.