Issue:
Recently there have been in issues with the Source not being captured correctly when using the LeadSquared Suite plugin in WP because the ProspectID being passed and LeadID being generated were different.
Recently there have been in issues with the Source not being captured correctly when using the LeadSquared Suite plugin in WP because the ProspectID being passed and LeadID being generated were different.
This is even after passing the [tracking] keyword in the WordPress CF7 forms.
Solution:
A custom JS file needs to be installed inside the current Leadsquared Plugin in WordPress. This file passes the captured ProspectID so that the same is present in Lead ID, thereby allowing the source to be captured correctly.
Mxjs.js
jQuery(document).ready(function()
{
setTimeout(function ()
{
console.log(‘Test’ +MXCProspectId);
jQuery(‘input[name=”ProspectID“]’).attr(‘value’,MXCProspectId);
}, 2500);
});
PFB screenshot of where it should be added:
Adding the URL, since I am unable to attach the folder:
