# Pardot

* Sync demo data with existing leads.
* Automatically create new leads if they don’t already exist.
* Log demo session activity on the Pardot timeline.
* Capture leads directly via Pardot forms.

Follow these step-by-step instructions to set up the integration:

***

### **Step 1: Add the Storylane Code to Your Website (Optional)**

This step enables lead attribution tracking. Add the following code snippet to the `<head>` tag of your website:

```javascript
(function(){"use strict";function e(t){const r=t.head;if(!r)return;const i=t.querySelector('script[src="https://js.storylane.io/js/v2/storylane.js"]'),n=t.querySelector('script[src="https://js.storylane.io/js/v1/storylane.js"]');if(i||n)return;const s=t.createElement("script");s.type="text/javascript",s.async=!0,s.src="https://js.storylane.io/js/v2/storylane.js",r.appendChild(s)}e(window.document)})();
```

> 💡 [Learn more about lead attribution here.](https://docs.storylane.io/storylane-knowledge-base/tracking-and-analysing/lead-attribution)

***

### **Step 2: Connect Pardot with Storylane**

1. **Contact Support:** Reach out to your sales contact or Storylane support team to initiate the integration process.
2. **Set Up the Integration:**
   * When the Pardot integration modal opens, click **Connect.**
   * Select your relevant Pardot account.
   * Enter your **unit ID** in the provided field.
   * Finalize the setup by logging in to your Pardot account when prompted.

***

### **What Data Does Storylane Sync to Pardot?**

#### **Custom Properties**

Storylane automatically syncs demo data to Pardot under custom fields. Here's the data included:

<table><thead><tr><th width="233.88629150390625">Property Name</th><th width="127.7117919921875">Applies To</th><th width="257.775146484375">Description</th><th width="114.95501708984375">Data Type</th></tr></thead><tbody><tr><td><strong>Storylane Sessions</strong></td><td>Demo + Hub</td><td>Total number of sessions (applies to both single demos and Hubs)</td><td>Integer</td></tr><tr><td><strong>Storylane Demo Name</strong></td><td>Demo</td><td>Name of the most recently viewed demo</td><td>String</td></tr><tr><td><strong>Storylane Demo Viewed At</strong></td><td>Demo</td><td>Timestamp of the most recent demo view</td><td>DateTime</td></tr><tr><td><strong>Storylane Demo Time (secs)</strong></td><td>Demo</td><td>Time spent viewing the demo (seconds)</td><td>Number</td></tr><tr><td><strong>Storylane Demo Complete (%)</strong></td><td>Demo</td><td>Percentage of demo steps completed</td><td>Number</td></tr><tr><td><strong>Storylane Demo Link</strong></td><td>Demo</td><td>Link to the demo</td><td>String</td></tr><tr><td><strong>Storylane CTA Clicked</strong></td><td>Demo + Hub</td><td>CTA URL clicked</td><td>String</td></tr><tr><td><strong>Storylane Demo Session Link</strong></td><td>Demo</td><td>Link to the specific demo audience session</td><td>String</td></tr><tr><td><strong>Storylane Buying Intent</strong></td><td><strong>Demo + Hub</strong></td><td>Engagement-based intent level (Low / Medium / High)</td><td>String</td></tr><tr><td><strong>Storylane Lead Source</strong></td><td><strong>Demo + Hub</strong></td><td>How the viewer was sourced (e.g. Nurtured, Inbound, Sales)</td><td>String</td></tr><tr><td><strong>Storylane Hub Name</strong></td><td>Hub</td><td>Name of the Hub that was viewed</td><td>String</td></tr><tr><td><strong>Storylane Hub Link</strong></td><td>Hub</td><td>Link to the Hub</td><td>String</td></tr><tr><td><strong>Storylane Hub Viewed At</strong></td><td>Hub</td><td>Timestamp of the most recent Hub view</td><td>DateTime</td></tr><tr><td><strong>Storylane Hub Viewed Content (%)</strong></td><td>Hub</td><td>Percentage of Hub content viewed</td><td>Number</td></tr><tr><td><strong>Storylane Hub Time (secs)</strong></td><td>Hub</td><td>Total time spent in the Hub (seconds)</td><td>Number</td></tr></tbody></table>

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.storylane.io/integrations/integrations/pardot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
