Skip to content

Commit

Permalink
chore: add tracking of sending form
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenVlass committed Jun 21, 2024
1 parent ec28d9c commit db351ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,13 @@ <h2 class="form-title">Request the estimation for your project</h2>
region: "na1",
portalId: "7227761",
formId: "da33e91f-fa42-4232-b67e-540c4f76d4d9",
onBeforeFormSubmit: () => {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: "formSubmission",
formType: "Request the estimation",
});
},
});
</script>
</div>
Expand Down

0 comments on commit db351ec

Please sign in to comment.