Track jotform submissions in Google Analytics using Google Tag Manager
Recently once of client ask me to track Jotform Success using Google Tag Manager Success when Display Thank you message it should fire event only in Google Analytic!.
Especially Problem with JotForm they will not allow inject any type of code because security reasons. Here you have one option to track form submission as the goals you need to redirect after successful submission.
Why you want track Form submission, Without Form submission you can not track success and effort of digital marketing, like if you are spending on money SEO, PPC and Facebook or any other marketing channels.
Step 1. Setup Google Tag Manager Code to modify to work for Joftform , Because of jotfom does not to directly place a code on Jotform for that case you need to modify below code to work in Jotfom,
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s),
<!– End Google Tag Manager –>
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>
Step 2. Now Configure Trigger , Tag and Event Triggers in Google Tag Manager for work for joftorm in Google Tag Manager.
3. Now time show result in Google Analytic after making couple code and datalayer written in Google Tag Manager.
Avoid self referral issue in Google Analytic, Look at below screen
Exclude these domains from your referral traffic. Users arriving at your site via any of these domains will not be counted as referral traffic in your reports.
For Contact: email@example.com
Disclaimer: Google tag manager belongs to Google property