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 prospect details when they visit your web pages such as the title and URL of the page they visit. You will be able to get notified of website visits via Slack notifications. You can also click on a prospect to view the detailed prospect engagement history – which now includes website visits.

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 each of the pages you want to enable tracking for.

Below is the copy of the code available 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.

// Can call the custom action as kl.onAction(action_name) // for example
kl.onAction(“Clicked Pricing Button”);

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.

Insert the following code snippet in each of the pages you want to track form submissions for.

// code sample:
// kl.onFormSubmit(prospect_object, form_name) // format of prospect_object
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>’,

kl.onFormSubmit(prospect_object, ‘Register Page’)

Where do I see the website visits?

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:

Did this answer your question?