Contact Form Conversion Code
I have a question about this box and about how it applied to the form.
Do I have to past the entire code, include the <script> tags in order to include a GA send call?
Can you point me to a tutorial to help me write this send call? I only want to send an event when the form is submitted successfully.
Answers
-
Hi there,
Yes, the entire code, including the <script> tags would need to be added in that box.
While we don't have specific tutorials, we do have some resources. Here they are:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
https://vimeo.com/showcase/8614163/video/475583289
I hope this helps!
Thank you!
0 -
Thanks Rebecca, I love Jairo's video, and used it to install GTM on my duda site when I first implemented it. However, the event tags in GTM don't differentiate between successful and unsuccessful form submittions. I've only been able to track submission attempts, and get a hit for both successful and unsuccessful submissions.
I expect that's a problem what the field in the form settings is there to address.
What would be helpful is to see a sample tag that others have put into this field in the forms settings in order to see the syntax.
<script>
_trackEvent(Form, Submission, Successful Response)
</script>
Does anyone who has done this know if this is even close?
0 -
Or would it look like
<script>
ga(‘send’, ‘event’, Forms, Form Submit, Contact Form');
</script>
0
Categories
- 670 All Categories
- 2 Getting Started
- 48 Announcements
- 590 Ask a Question
- 15 Going Live & Publishing
- 84 Website Builder
- 5 App Store
- Custom Branding & Client Management
- 4 Team Collaboration
- 14 eCommerce
- 37 Conversations
- 3 Industry News
- 3 Website Design Feedback
- 2 Random
- 7 Idea Board
- Duda Experts
- 4 Events