# Is it possible to connect a LinkedIn tracking pixel to Storylane?

### **Steps to Add a LinkedIn Tracking Pixel to Storylane:**

1. **Get Your LinkedIn Insight Tag Code**:
   * Log in to your LinkedIn Campaign Manager account.
   * Go to **Account Assets** and select **Insight Tag**.
   * Copy the provided JavaScript code, which will look something like this:

```javascript
<script type="text/javascript">
_linkedin_partner_id = "YOUR_PARTNER_ID";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script>
<script type="text/javascript">
(function(l) {
if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
window.lintrk.q=[]}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})(window.lintrk);
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=YOUR_PARTNER_ID&fmt=gif" />
</noscript>

```

2. **Add the Code to your Storylane Demo**:
   1. For an ***HTML*** Demo - Navigate to Demo Settings > Custom Code > Web Frame&#x20;
   2. For a ***Screenshot*** Demo - Navigate to Demo Settings > Custom Code

* S**creenshot Demo Example**:&#x20;

<figure><img src="https://2431356420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN8hWd9k2Pbb6YSWO4pUQ%2Fuploads%2FgzMknASgxho0E13zjwIa%2Fss%20demo%20pixel.avif?alt=media&#x26;token=961a1fa5-598b-48a0-a022-57d95436af09" alt=""><figcaption></figcaption></figure>

* &#x20;**HTML Demo Example**:&#x20;

<figure><img src="https://2431356420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN8hWd9k2Pbb6YSWO4pUQ%2Fuploads%2FtpPA2NrNFAJPrDf6lfk0%2Fhtml%20linkedinpixel.avif?alt=media&#x26;token=a9fe80aa-d451-4c46-a16f-0d13d4a96f8d" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Important Storylane Terminology!

* **Demo Frame**: Defines the **scope of the demo itself**—what the end-user will interact with. It captures only the relevant part of the webpage that is included in the demo experience.
* **Web Frame**: Represents the broader **Storylane-related scope**, including elements used for internal functionality but **not visible or relevant to the customer demo**. For **SS demos**, the **default script is already inserted into the Web Frame**, ensuring the necessary setup is in place.
  {% endhint %}

3. **Verify Tag Activation**: After adding the Insight Tag, you can verify that it’s working by:

* Going back to your LinkedIn Campaign Manager and checking if the pixel is receiving data.

**Benefits of Using LinkedIn Tracking Pixel with Storylane**:

* **Retargeting**: You can retarget users who have interacted with your demos.
* **Conversion Tracking**: Measure the effectiveness of your LinkedIn campaigns in driving engagement with your Storylane demos.
* **Audience Insights**: Learn more about your demo viewers through LinkedIn’s data, which can help tailor future campaigns.


---

# 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/tips-and-tricks/is-it-possible-to-connect-a-linkedin-tracking-pixel-to-storylane.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.
