The LeadSquared Web Tracking feature tracks web activities such as website visits and form submissions through its tracking script. It also allows you to track custom web events such as button clicks, image clicks or video views. This will enable you to track your prospect action beyond page views and submissions, since there may be more important activities that help you learn more about your prospects.
- Please ensure that LeadSquared tracking script is installed on all the pages where you need to use this feature.
- You’ll need two additional pieces of information- Your Account Number and the Activity Code for the activity.
logMXWebEvent('Account Number','Activity Code','Description','score');
‘Description’ and ‘Score’ are optional parameters, you can pass them only if required.
- In our example above, assuming account number is 1, we would call:
logMXWebEvent(1, 154,'Home Page Main CTA', 5);
- If I dont need to pass description and custom score, I would call:
This function would be called inside the event handler you want to capture. You would see the leads’ events in the activity history when logged:
If you encountered any errors while following the procedure listed here, or if you have any other related questions, go ahead and enter them in the comments section below.