All Collections
Advanced Functionality
Setting up Website Tracking
Setting up Website Tracking

Step by step instructions on setting up Website Tracking (Growth and Enterprise plans)

Preena Francis avatar
Written by Preena Francis
Updated over a week ago

Klenty’s website tracking feature contains 3 components:

  1. Page visit tracking by identified prospects

  2. Event tracking

  3. Form submissions like sign-ups

1. Page visit tracking

This allows you to track prospects that visit your web pages such as the title and the URL of the page. You can set up slack notifications for these website visits. You can also click on a prospect to view the detailed prospect engagement history – which now includes website visits and in the Live feed page.

To enable page visit tracking:

  1. Login to Klenty. Go to Settings > Prospects > Website tracking

  2. Turn on the toggle

  3. Copy the code given in the page which is to be inserted in the header your primary website (Example:

Below is the copy of the code available on your account - Replace <your site tracking ID> with the ID on your account

<script>window.__kl__tr__Id='<Your site tracking ID>',function(){vart=document.createElement('script');t.type='text/javascript',t.async=!0,t.src='';var e=document.getElementsByTagName('script')[0];e.parentNode.insertBefore(t,e)}();</script>

2. Event tracking

This allows you to track specific actions taken by prospects on your webpage, such as links being clicked on your website.

Insert the following code snippet in each of the pages you want to enable event tracking for.

Format for the custom action to track events:


kl.onAction(“Clicked Pricing Page”);

3. Form submission

This allows you to track form submissions by your prospects on your web page. Information gathered here will be added to the prospect’s details in Klenty. If the prospect is not found, a new prospect will be created with the submitted details.

These can be used if you have a sign up page, subscribe blog post, etc.

Insert the following code snippet in the call to action button you have on the webpage to track the form submissions:

Format for the call to action button/ form:

kl.onFormSubmit(prospect_object, form_name)


kl.onFormSubmit(prospect_object, ‘Register Page’)

Format of the prospect_object that can be passed:

prospect_object = {
FirstName : ‘Larry’,
LastName: ‘Page’,
DateOfBirth : ‘March 26, 1973’,
Company : ‘Alphabet Inc’,
CompanyDomain: ‘’,
CompanyURL : ‘ ‘,
Title : ‘CEO’,
Location: ‘California’,
Phone : ‘+1000000000’,
Email : ‘ ’,
TwitterId : ‘@larrypage’,
CompanyPhone: ‘+1111111111’,
City : ‘Palo Alto’,
Country : ‘U.S.’,
Img_url : ‘<imag url>’,

Where do I see the website visits & form submissions?

You can find the website visits and the submitted forms in the prospect activity history, Live feed and can set up slack notification.

Activity History:

Live Feed:

Slack Notification:

You can also filter the prospects created via web form:

Navigate to the primary prospect page, choose Filter --> Source --> Website tracking

If you have any questions, do talk to our support team via chat or email to

Did this answer your question?