> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pingtree.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Click Script

> Configure and customize your Pingtree Click Script for real-time tracking, attribution, and integration with ad networks and compliance tools.

## Overview

The **Pingtree Click Script** is a vital snippet of code that enables real-time tracking and attribution for all lead traffic within a campaign. It ensures every click is properly attributed and recorded within Pingtree's system.

<img className="block" src="https://mintcdn.com/pingtree/5J3zdrNvtKbPn5ub/assets/images/docs/documentations/campaign/settings/clickscript.png?fit=max&auto=format&n=5J3zdrNvtKbPn5ub&q=85&s=c4fcdc39af38231f35b76867f7ed73eb" alt="All Sources" width="2220" height="1147" data-path="assets/images/docs/documentations/campaign/settings/clickscript.png" />

***

## Script Configuration

Within the **Click Script** tab under Campaign Settings, users can modify and enhance the script with direct integrations such as:

1. **Lead User Web Recording**
2. **Jornaya**
3. **Trusted Form**
4. **Google Ads**
5. **TikTok Ads**
6. **Facebook (Meta) Ads**

These integrations allow for advanced attribution, verification, and compliance across various advertising platforms.

***

## Additional Customization Options

* **Sub Parameters**:\
  Users can add custom query parameters for granular tracking.

* **Custom Fields**:\
  Additional fields can be appended to the script for advanced targeting or tracking needs.

* **Cookie Storage Time**:\
  Adjust how long the transaction ID persists in a user's session by changing the cookie expiration duration.

> Tip: Proper setup of the Click Script ensures your leads are accurately tracked and integrated with your preferred marketing and compliance tools.
