
Zoho SalesIQ GTM Event Listener
Free Zoho SalesIQ tracking code for GTM. Tracks chat starts, offline messages, button clicks and ratings as one clean event, ready for GA4 and Google Ads.
zoho_salesiq_event Get the code

Copy this into a Custom HTML tag in Google Tag Manager. It pushes tally_form_submit to the dataLayer when the Tally form is sent.
<script>
/* Tally listener by MD Niamul - mdniamul.com
Fires tally_form_submit when an embedded or popup Tally form is
submitted (Tally.FormSubmitted). Works on tally.so and your own
Tally custom domain. */
(function () {
if (window.__mdnTallyBasic) return; // tag fired twice: keep one copy
window.__mdnTallyBasic = true;
// Using a Tally custom domain? Add it here, e.g. 'https://forms.yoursite.com'
var TALLY_CUSTOM_DOMAINS = [];
window.dataLayer = window.dataLayer || [];
var sent = {};
function allowed(origin) {
return origin === 'https://tally.so' || TALLY_CUSTOM_DOMAINS.indexOf(origin) !== -1;
}
function push(p) {
if (!p || typeof p !== 'object') return;
var key = p.id || (p.formId || '') + '|' + (p.createdAt || '');
if (sent[key]) return; // one push per submission
sent[key] = true;
window.dataLayer.push({
event: 'tally_form_submit',
form_id: p.formId || '',
form_name: p.formName || '',
page_path: window.location.pathname
});
}
// Embedded forms and popups talk to the page with postMessage
window.addEventListener('message', function (e) {
if (!e || !allowed(e.origin)) return;
var d = e.data;
if (typeof d === 'string') {
if (d.indexOf('Tally.FormSubmitted') === -1) return;
try { d = JSON.parse(d); } catch (err) { return; }
}
if (!d || typeof d !== 'object' || d.event !== 'Tally.FormSubmitted') return;
push(d.payload);
}, false);
// Form opened directly on your custom domain, with GTM added through
// Tally code injection. Skipped inside an embed, the parent page counts it.
window.addEventListener('Tally.FormSubmitted', function (e) {
if (window.self !== window.top) return;
push(e && e.detail);
}, false);
})();
</script>
This code is also on GitHub with a README and version history: github.com/mdniamul0/tally-form-gtm-listener
tally_form_submittally_form_submit, use it on your GA4, Google Ads or Meta tag, then Preview and Publish.After you install the code and send a test entry, this is the data that shows up in GTM. You don’t need to paste it anywhere. Use it to check the listener works and to create Data Layer Variables such as form_id.
{
event: 'tally_form_submit',
form_id: 'wM5kE8',
form_name: 'Free Tracking Audit Request',
page_path: '/free-audit/'
}TALLY_CUSTOM_DOMAINS at the top of the code, for example 'https://forms.yoursite.com'. Forms on tally.so work without any change.tally_form_submit as the event name. Add Data Layer Variables for form_id and form_name.generate_lead), Google Ads conversion or Meta Pixel Lead event on the tally_form_submit trigger.tally_form_submit shows up once, and publish your container.Good to know: the event comes from Tally’s own Tally.FormSubmitted message, which Tally sends only after a successful submit. Page views inside the form, resize messages and messages from other sites are ignored, and each submission is counted once.
Want the full Google Ads setup? Read my guide on tracking Tally form submissions as Google Ads conversions with GTM. If you’d rather have it done for you, see my Google Ads tracking specialist page and my server-side tracking service.
The free code tells GTM that a lead happened. The advanced code tells your ad platforms who the lead is and where they came from.
| What you get | Basic Free | Advanced Paid |
|---|---|---|
| Fires only on a successful submit or booking | Yes | Yes |
| Form or platform ID in the dataLayer | Yes | Yes |
| UTM source, medium, campaign, term and content | No | Yes |
| Ad click IDs (gclid, wbraid, gbraid, fbclid, ttclid, msclkid) | No | Yes |
| SHA-256 hashed email, phone and name | No | Yes |
| First-party cookies (_fbp, _fbc, _ga, _gcl_aw) | No | Yes |
| Device, browser and visitor location | No | Yes |
| event_id for Pixel and CAPI deduplication | No | Yes |
| Ready for Google Ads Enhanced Conversions and Meta CAPI | No | Yes |
| Install help from MD Niamul | No | Yes |
Built for agencies and brands that run paid ads. Every lead carries the data that Meta, Google Ads, TikTok and GA4 need to match the person and credit the right campaign.
One-time price. Start with the code, or let me set everything up for you.
You install it yourself
We set it up together
I install and test it
Browser + server tracking
Stape.io plan paid separately
Server-side: Server-side tracking runs on Stape.io. The Stape plan is not included: you pay Stape directly (they have a free plan for small sites). I set it up on your account. Get Stape (global) · Stape EU server
One-time prices in USD. You pay me directly and get an invoice in your client portal.
Not sure which one fits? Message me and I will tell you what you need.
Already bought the advanced code? Get it in your client portal.
Yes. Popups send the same Tally.FormSubmitted message as embeds. For a custom domain, add it to TALLY_CUSTOM_DOMAINS at the top of the code, otherwise its messages are ignored for safety.
No. If people fill the form on tally.so itself, your website is not part of it, so GTM cannot see the submit. Embed the form on your page, or use a custom domain with GTM added in Tally code injection.
You can use either one, but not both, or every lead counts twice. This listener works on embeds, popups and custom domains, ignores fake messages and sends one clean tally_form_submit with the form ID and name.
Message me on WhatsApp. After payment I add it to your client portal with the code, a setup video, a PDF guide and a GTM import file.
Yes. The basic code on this page is free to copy and use on your own or your clients’ sites. It fires the tally_form_submit event when the Tally form is sent.
The basic version only tells GTM that a lead happened. The advanced version also sends UTM values, ad click IDs, hashed email and phone, first-party cookies, device and location data and an event_id, so Meta CAPI, Google Ads Enhanced Conversions and GA4 get much better data.
Message me on WhatsApp, book a call or use the contact form. It is a paid, one-time purchase, and I can install it for you if you like.
No. The listener runs inside Google Tag Manager and listens for the form’s own success signal. You don’t need to edit the form or your theme.
💬 Want this implemented without mistakes?
I’ve completed 850+ projects for 600+ businesses and 15+ agencies, helping clients generate $11M+ in revenue with accurate client-side & server-side tracking and business automation.
⮏ My core services include:
⨭ GoHighLevel Automation — build CRM pipelines, WhatsApp automation, AI voice workflows & automated follow-ups end-to-end.
⨭ AI Agent Automation — deploy AI chatbots & agents for 24/7 lead qualification and support.
⨭ Paid Ads Management — Google Ads, Meta Ads.
⨭ Full Stack SEO/GEO/AEO Manager.
⨭ CRO-Focused Web Development — Landing Pages on WordPress, Shopify, Wix, Squarespace.
⨭ Google Tag Manager (GTM) — manage data layers & (Marketing platform Tag, Trigger & Variables).
⨭ Custom Code by GTM — HTML, CSS & JavaScript for advanced marketing platform tracking.
⨭ Server-Side Tracking — recover data lost to ITP & ad blockers (Official Stape Partner).
⨭ Google Analytics 4 (GA4) — visualize customer journeys.
⨭ Multi-Channel CAPI — Facebook, TikTok, Pinterest & Snapchat Conversion API & Klaviyo email marketing tools.
⨭ Third Party Checkout Conversion Tracking — Shopify, Stripe, GoKwik, Shiprocket, PayPal or more.
⨭ Google Consent Mode (GCM) — maintain GDPR compliance.
⨭ Marketing Automation — streamline workflows (Zapier/n8n/Make).
⨭ CRM Conversion Tracking — link offline sales to ads.
⨭ Tag Management — GTM & Third-Party Checkout Tracking.
⨭ Offline & CRM Tracking — HubSpot, Salesforce, Zoho, Pipedrive, Odoo, Webhook & Sheet.
⨭ Advanced Analytics — GA4, Google Looker Studio & BigQuery (SQL) for deep data visualization.
If you want your Tally Form Tracking done right the first time, message me.