Back to Community

Why Is Your PixelYourSite Form Tracking Not Working?

Content

If you've enabled form tracking in the 'PixelYourSite – Your smart PIXEL (TAG) & API Manager' plugin but aren't seeing events in Google Analytics, you're not alone. This is a common issue reported by users, especially with popular form builders like Contact Form 7 and WPForms. This guide will walk you through the most likely causes and how to resolve them.

Why Form Tracking Might Fail

The most common reason for form tracking failure is that the automatic event tracking is not correctly detecting the form submission. This can happen for several reasons:

  • JavaScript Conflicts: Another plugin or your theme's JavaScript might be interfering with the PixelYourSite tracking script.
  • Form Structure: Some forms, especially those loaded asynchronously (via AJAX), might not be detected by the plugin's standard tracking mechanism.
  • Cache: A cached version of your site might be serving pages without the latest tracking code.

How to Troubleshoot and Fix It

1. Test with Google Tag Assistant

The first step is always to verify what's happening on your site. Use the free Google Tag Assistant tool.

  1. Open your website in a browser where you are logged out or using incognito mode.
  2. Open the Tag Assistant extension or website.
  3. Start recording a session.
  4. Navigate to your form, fill it out, and submit it.
  5. Stop the recording and review the events that were fired.

Look for a 'Form' event. If it's not present, the plugin is not triggering the event on submission.

2. Check for Plugin or Theme Conflicts

A conflict is a frequent culprit. To test for one:

  1. Temporarily switch your theme to a default WordPress theme like Twenty Twenty-Four.
  2. Deactivate all other plugins except for PixelYourSite, WooCommerce (if applicable), and your form plugin (e.g., Contact Form 7).
  3. Test your form submission again using Tag Assistant.
  4. If the event now fires, reactivate your plugins and theme one by one, testing after each, to identify the conflicting software.

3. Clear Your Cache

If you use a caching plugin (e.g., W3 Total Cache, WP Rocket) or a server-side cache (like Varnish or Cloudflare), clear it entirely after making any changes to your PixelYourSite settings. Then, test the form again.

4. Verify on a Publicly Accessible Site

As seen in the support thread, testing on a development site that is behind a login or not publicly accessible can sometimes prevent tools like Tag Assistant from working correctly. For the most accurate test, perform these steps on your live, public-facing website.

What to Do If the Problem Persists

If you've gone through these steps and form tracking still isn't working, the issue may require more advanced debugging. The 'PixelYourSite – Your smart PIXEL (TAG) & API Manager' team maintains a detailed change log for their plugin updates. Reviewing it may provide insight into recent changes that could affect tracking. Since community troubleshooting can only go so far, you may need to seek more specific help by describing your exact setup and the results of your conflict test.