Squarespace: Difference between revisions
Jump to navigation
Jump to search
Created page with " A business Account or higher is required to install tag manager. == Install Tag Manager == Go to: <pre> Settings -> Advanced -> Code Injection </pre> Enter the GTM to the..." |
No edit summary |
||
| Line 3: | Line 3: | ||
A business Account or higher is required to install tag manager. | A business Account or higher is required to install tag manager. | ||
= Install Tag Manager = | |||
Go to: | Go to: | ||
| Line 11: | Line 11: | ||
Enter the GTM to the Head & Footer | Enter the GTM to the Head & Footer | ||
= Contact Form = | |||
On the contact form, click: | On the contact form, click: | ||
Revision as of 13:03, 19 November 2018
A business Account or higher is required to install tag manager.
Install Tag Manager
Go to:
Settings -> Advanced -> Code Injection
Enter the GTM to the Head & Footer
Contact Form
On the contact form, click:
Edit -> Advanced
within the Post-Submit HTML field enter:
<script>var dataLayer = window.dataLayer || [];dataLayer.push({'event' : 'contact-form-submitted'});</script>