Hi @NITIZ SHARMA,
I understand how frustrating it can be when tracking doesn't work as expected. Since your main contact form is tracking conversions successfully, it sounds like the setup is mostly correct, but there might be a specific issue with the popup forms.
Here are a few steps you can try to troubleshoot the issue:
-
Check Trigger Settings in Google Tag Manager: Make sure that your triggers are set up to fire on the popup form submission specifically. Sometimes, triggers set to "All Pages" or broad settings might not capture events in popups.
-
Use the Preview Mode in GTM: Enable the Preview mode in Google Tag Manager and test the popup form submission. This will help you see if the tags are firing correctly when the form is submitted.
-
Verify Your Form Submission Trigger: Ensure that the popup form is indeed firing the same form submission trigger as your main form. Popups can sometimes use different submission methods, which might require a different trigger setup.
-
Event Listener for Dynamic Elements: If your popup is loaded dynamically (e.g., via AJAX), the event listeners set in GTM may not work as expected. You might need to use a custom JavaScript event to trigger the conversion tracking.
-
Check Google Ads Conversion Tracking Setup: Double-check that the conversion ID and label in your GTM tag match those in your Google Ads account.
-
Form ID/Class: Ensure the popup form has a unique ID or class that’s being targeted correctly in your GTM tag.
-
Debugging with Google Analytics: If you're also using Google Analytics, you can set up event tracking to see if the popup form submissions are being captured there. This can help narrow down whether the issue is with GTM or Google Ads specifically.
If you've gone through these steps and still can't get it to work, you might want to consider setting up a custom event listener with JavaScript and manually sending the conversion to Google Ads using the gtag('event', 'conversion', {...})
method.
I hope this helps! Let me know if you need further assistance.