Skip to main content

2.6.8 How to Test if the LeadJourney Click ID Is Successfully Parsed into the Hidden Field

Jonas Strambach avatar
Written by Jonas Strambach
Updated this week


Why This Test Matters

After you’ve installed the LeadJourney script and added a hidden field named lj_click_id to your form, it’s critical to verify everything works as expected.

This test ensures every lead submission is:

✅ Matched to the correct ad click
✅ Tracked end-to-end
✅ Eligible for offline conversion feedback to Meta & Google Ads


✅ What You’ll Confirm in This Test

By the end, you’ll know:

  • Whether the Click ID is retrieved correctly by LeadJourney

  • Whether it’s injected into your form's hidden field

  • How to check the value using your browser’s Developer Tools


🛠 What You’ll Need

  • A live page on your site containing your form

  • The LeadJourney script installed site-wide

  • A hidden form field with the name:

    • form_fields[lj_click_id] (for Elementor)

    • lj_click_id (for WPForms, Heyflow, or custom setups)


🔍 Step-by-Step Testing Instructions

1️⃣ Open Your Form Page in Incognito Mode

Use a private browser window to simulate a fresh visitor session. This ensures the Click ID is freshly assigned.


2️⃣ Open Developer Console

  • Right-click anywhere on the page

  • Click “Inspect”

  • Go to the Console tab


3️⃣ Reload the Page and Check Console Logs

If set up correctly, you’ll see logs like:

Click ID found: lj-abc123xyz Hidden Field found: <input type="hidden" name="form_fields[lj_click_id]"> Click ID successfully inserted: lj-abc123xyz

This confirms:

✅ LeadJourney retrieved the Click ID
✅ The correct hidden field was found
✅ The ID was injected before form submission


4️⃣ Submit the Form

  • Fill out the required fields

  • Submit the form

  • Check your CRM or form handler

Look for a value in the lj_click_id field such as:

d3751853-8de7-4ecd-990f-c6cc7d7b81bd

If present — ✅ your setup is working!


⚠️ Troubleshooting Guide

🚫 No Console Logs?
✔ Ensure the LeadJourney script is properly added to your site header
✔ Disable AdBlock or browser privacy extensions
✔ Use an incognito window to eliminate cache/session conflicts


🚫 “Hidden Field Not Found”?
✔ Verify the input field name is exactly lj_click_id
✔ For Elementor, confirm it appears as form_fields[lj_click_id]
✔ Inspect the form HTML (right-click → Inspect Element) to confirm presence


🚫 “No Click ID Found”?
✔ Confirm the LeadJourney tracking script is active
✔ Open the console and test with another browser or device
✔ Refresh the page with DevTools open to see live logs


💡 Tip: Using Elementor?

We provide a fully tested, battle-proof version of the Click ID injection script:

It includes:

  • MutationObserver to detect dynamic form rendering

  • Fallbacks for popups and AJAX loads

  • Pre-submission injection for max reliability


💬 Still Need Help?

If you’re using a different CMS or custom setup and need help verifying the implementation, our support team is ready to walk you through it step-by-step.


🧠 Final Summary

Testing ensures:

✅ Click IDs are being parsed correctly
✅ Your CRM receives the data
✅ Your conversion data loop is complete and reliable

Always test thoroughly—especially with dynamic forms or popups—to avoid attribution loss and reporting blind spots.


Let us know if you’d like us to audit your setup directly. We’re happy to help you get this right.

Did this answer your question?