# Installing the Pixel

To take advantage of Primer's conversion tracking, particularly our [Lift Analysis](https://support.sayprimer.com/primer/learn-more/conversion-lift-analysis-beta), you need to install the Primer Web Script (aka a website tracking script). Below are instructions.&#x20;

#### Get your customized tracking script on the [Connections](https://my.sayprimer.com/connections?tab=Website%20Tracking) page

Visit the Connections Page --> [Website Tracking](https://my.sayprimer.com/connections?tab=Website%20Tracking) tab to find your customized script.

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2F5XzA9khDR4W4nRjCyAtO%2FScreenshot%202025-03-08%20022654.png?alt=media&#x26;token=0eb5fd8d-8ac5-4b90-9ef5-8b9c2354ecd4" alt="" width="563"><figcaption></figcaption></figure>

Copy the Primer snippet below and paste it in the`<head>`of your website or see instructions below for installing via Google Tag Manager.

#### Google Tag Manager Installation

**Step 1: Create Google Tag Manager Tag**

* Log in to [Google Tag Manager](https://tagmanager.google.com/)
* Navigate to "Tags" section
* Click "New" to create a new tag

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2FB0gkKaWyq2wCaUbsZfW6%2Fimage.png?alt=media&#x26;token=f812e147-afe9-4493-b359-c93f5e972d92" alt=""><figcaption></figcaption></figure>

* Choose "Custom HTML" as the tag type

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2Fns8zzPXdSKTxziF5y0Uw%2Fimage.png?alt=media&#x26;token=9be85b3d-38d6-4cbc-83d6-8f15a2b9de2a" alt=""><figcaption></figcaption></figure>

* Paste your prepared script (from step 1) into the HTML field

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2FsJAy5Jhiq0vk8GIb5x4r%2Fimage.png?alt=media&#x26;token=e94335fb-d070-4f86-a241-ab66f44fe003" alt=""><figcaption></figcaption></figure>

**Step 2: Set Up Triggers**

* In the tag configuration, click on the "Triggering" section

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2FegUPwZl7NpFoLz9isXjP%2Fimage.png?alt=media&#x26;token=bed83044-4b11-4196-b5b5-7065e8cdbf84" alt=""><figcaption></figcaption></figure>

* Click the "+" to add a new trigger
* Choose "Page View" as the trigger type

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2FqRrDBgd0Tgd1Faty1zvk%2Fimage.png?alt=media&#x26;token=bc1bc9e4-994b-424e-90dd-6d34066b2510" alt=""><figcaption></figcaption></figure>

* (Optional) Under "This trigger fires on", specify the URLs to run the script on
  * For example: "Page URL" contains "/marketing/"
  * Or list specific pages: "Page Path" equals "/landing-page-1/"

**Step 3: Name your tag & hit "Save"**

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2F4PaSy8n8KxEZ5lxz7zYw%2Fimage.png?alt=media&#x26;token=fa1ec502-f617-45e9-a874-5f06a8608d03" alt=""><figcaption></figcaption></figure>

**Step 4: Press Submit to publish the new tag**

<figure><img src="https://888674264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGKE0Prjh2dfbNy05EsHY%2Fuploads%2FovLhJFkrIy2t4Wm0qqKj%2Fimage.png?alt=media&#x26;token=f21cbe4d-8e14-4f26-a553-d918b5f8a4c8" alt=""><figcaption></figcaption></figure>

**Step 5: Final Steps:**

* Navigate to your own website to fire the script
* Navigate back to <https://my.sayprimer.com/connections?tab=Website%20Tracking> and verify the connected the connected status.
* Debug: If connected status not seen, repeats steps a and b again. Inspect the site to ensure pixel is installed and firing, etc.
