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 site track ID

  4. Use the site track ID in the following code, which is to be inserted in each of the pages you want to enable tracking for.


<script>window.__kl__tr__Id='<YOUR_SITETRACK_ID>’,function(){var t=document.createElement(‘script’);t.type=’text/javascript’,t.async=! 0,t.src=’https://s3-us-west-2.amazonaws.com/sitetrack/klenty_track.js’;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: ‘google.com’,
CompanyURL : ‘ https://abc.xyz/ ‘,
Title : ‘CEO’,
Location: ‘California’,
Phone : ‘+1000000000’,
Email : ‘ larry@google.com ’,
TwitterId : ‘@larrypage’,
CompanyPhone: ‘+1111111111’,
City : ‘Palo Alto’,
Country : ‘U.S.’,
Img_url : ‘<imag url>’,

kl.onFormSubmit(prospect_object, ‘Register Page’)

Did this answer your question?