---
title: "Setting up Website Tracking"
description: "Step by step instructions on setting up Website Tracking (Growth and Enterprise plans)"
url: https://hckacqqlv.gleap.help/en/articles/2498058-setting-up-website-tracking
collection: "Advanced Functionality"
updated: 2025-08-07
language: en
---

# Setting up Website Tracking

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

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**: [www.klenty.com](http://www.klenty.com))
    

Below is the copy of the code available on your account - Replace with the ID on your account 2. Event trackingThis 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(action\_name)

**Example:**  
`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)

**Example:**

```javascript
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: ‘google.com’,  
CompanyURL : ‘ [https://abc.xyz/](https://abc.xyz/) ‘,  
Title : ‘CEO’,  
Location: ‘California’,  
Phone : ‘+1000000000’,  
Email : ‘ [larry@google.com](mailto:larry@google.com) ’,  
TwitterId : ‘@larrypage’,  
CompanyPhone: ‘+1111111111’,  
City : ‘Palo Alto’,  
Country : ‘U.S.’,  
Img\_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:**

![](https://staticfiles.gleap.io/helpcenter/6863c6c57b99da5e060a1cb6/20250807102508_8410.png)

#### **Live Feed:**

![](https://staticfiles.gleap.io/helpcenter/6863c6c57b99da5e060a1cb6/20250807102508_5006.png)

#### Slack Notification:

![](https://staticfiles.gleap.io/helpcenter/6863c6c57b99da5e060a1cb6/20250807102508_7562.png)

You can also filter the prospects created via web form:

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

![](https://staticfiles.gleap.io/helpcenter/6863c6c57b99da5e060a1cb6/20250807102507_6095.png)

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