SHOW:
|
|
- or go back to the newest paste.
1 | - | dataLayer.push({ |
1 | + | <script> |
2 | - | 'event': 'formSubmitted', |
2 | + | window.dataLayer = window.dataLayer || []; |
3 | - | formName: 'Contact Us', |
3 | + | window.dataLayer.push({ |
4 | - | serviceType: '{{type of service}}', |
4 | + | 'event': 'formSubmitted', |
5 | - | vehicleType: '{{vehicle type}}' |
5 | + | 'formName': 'Contact Us', |
6 | - | }); |
6 | + | 'formId': '1234' // Insert the actual ID of the form here. |
7 | }); | |
8 | </script> |