---
title: How to install Shopify custom pixel for Conversion Booster and GA4
description: In this article, you will guided on how to remove the PM tracking script and Conversion Booster snippets from 'Additional scripts' in Shopify, and thereafter in how to add these as custom pixels
---

[Skip to content](https://knowledge.profitmetrics.io/shopify-custom-pixel-for-conversion-booster#main-content)

[![ProfitMetrics logo black version](https://knowledge.profitmetrics.io/hs-fs/hubfs/pm_logotype_blue.png?width=193&height=28&name=pm_logotype_blue.png)](https://knowledge.profitmetrics.io/?hsLang=en)

Open main navigation

Close main navigation

- [Contact Support](https://knowledge.profitmetrics.io/kb-ticket/new)

[Contact Support](https://knowledge.profitmetrics.io/kb-ticket/new?hsLang=en)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge base](https://knowledge.profitmetrics.io/?hsLang=en)
2. [Tracking & Conversion Setup](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en)
3. [Conversion Booster Custom Pixels](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#conversion-booster-custom-pixels)

# How to install Shopify custom pixel for Conversion Booster and GA4

## In this article, you will guided on how to remove the PM tracking script and Conversion Booster snippets from 'Additional scripts' in Shopify, and thereafter in how to add these as custom pixels

---

**Part 1:** [Create a custom pixel for "PM - Conversion Booster Script"](https://knowledge.profitmetrics.io/shopify-custom-pixel-for-conversion-booster#part3)

**Part 2**: [Add Custom Pixel for Google Analytics 4](https://knowledge.profitmetrics.io/shopify-custom-pixel-for-conversion-booster#part4)

---

### Part 1: Create a custom pixel "PM - Conversion Booster Script"

1. Start by completing the Conversion Booster configuration described here:   
   [How to Configure Conversion Booster](https://knowledge.profitmetrics.io/how-to-configure-conversion-booster-v2-for-google-ads?hsLang=en)
2. Click **"Copy snippet"**
   
   ![Adjusting Google Ads conversion value integration in ProfitMetrics - Step 5](https://knowledge.profitmetrics.io/hs-fs/hubfs/Adjusting%20Google%20Ads%20conversion%20value%20integration%20in%20ProfitMetrics%20-%20Step%205.png?width=670&height=376&name=Adjusting%20Google%20Ads%20conversion%20value%20integration%20in%20ProfitMetrics%20-%20Step%205.png)
3. I Shopify: Navigate to "Settings" \> "Customer events" and click **"Add custom pixel"
   
   ![Set Up Custom Pixel for Customer Events in Shopify - Step 4](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%204.png?width=670&height=375&name=Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%204.png)**
4. Click the **"Pixel name"** field and type **"PM - Conversion Booster Script"**
   
   ![Set Up Custom Pixel for Shopify Conversion Tracking - Step 8](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%208.png?width=655&height=366&name=Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%208.png)
5. Click **"Add pixel"
   
   ![Set Up Custom Pixel for Shopify Conversion Tracking - Step 8 (1)](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%208%20(1).png?width=655&height=366&name=Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%208%20(1).png)**
6. Click **"Permission"**
   
   ![Set Up Custom Pixel for Shopify Conversion Tracking - Step 9](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%209.png?width=655&height=366&name=Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%209.png)
7. Select **"Not required"**
   
   ![Set Up Custom Pixel for Customer Events in Shopify - Step 9](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%209.png?width=670&height=375&name=Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%209.png)
8. Click **"Data sale"**
   
   ![Set Up Custom Pixel for Customer Events in Shopify - Step 10](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%2010.png?width=670&height=375&name=Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%2010.png)
9. Select **"Data collected does not qualify as data sale"
   
   ![Set Up Custom Pixel for Customer Events in Shopify - Step 11](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%2011.png?width=655&height=366&name=Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%2011.png)**
10. Remove all existing text in the **Code** field paste the Conversion Booster snippet into the **Code** field
    
    ![Set Up Custom Pixel for Shopify Conversion Tracking - Step 16](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%2016.png?width=655&height=366&name=Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%2016.png)
11. Click **"Save"**
    
    ![Set Up Custom Pixel for Customer Events in Shopify - Step 15 (1)](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%2015%20(1).png?width=670&height=375&name=Set%20Up%20Custom%20Pixel%20for%20Customer%20Events%20in%20Shopify%20-%20Step%2015%20(1).png)
12. Click **"Connect"**
    
    ![Set Up Custom Pixel for Shopify Conversion Tracking - Step 18](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%2018.png?width=655&height=366&name=Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%2018.png)
13. Click **"Connect"** again
    
    ![Set Up Custom Pixel for Shopify Conversion Tracking - Step 19](https://knowledge.profitmetrics.io/hs-fs/hubfs/Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%2019.png?width=655&height=366&name=Set%20Up%20Custom%20Pixel%20for%20Shopify%20Conversion%20Tracking%20-%20Step%2019.png)
14. That's it. You have now removed the old tracking and ensured compatibility with the new Shopify checkout page.

### Part 2: Add Custom Pixel for Google Analytics 4

Please see [How to set up Google Analytics 4 (GA4) Custom Pixel in Shopify](https://knowledge.profitmetrics.io/how-to-set-up-google-analytics-4-ga4-custom-pixel-in-shopify?hsLang=en)

 

- [Getting Started](https://knowledge.profitmetrics.io/getting-started?hsLang=en#main-content)

    - [Learn the Basics](https://knowledge.profitmetrics.io/getting-started?hsLang=en#learn-the-basics)
    - [Prepare for Onboarding](https://knowledge.profitmetrics.io/getting-started?hsLang=en#prepare-for-onboarding)
    - [Account Setup](https://knowledge.profitmetrics.io/getting-started?hsLang=en#account-setup)
- [E-commerce Platforms](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#main-content)

    - [Shopify](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#shopify)
    - [WooCommerce](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#woocommerce)
    - [Magento](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#magento)
    - [PrestaShop](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#prestashop)
    - [BigCommerce](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#bigcommerce)
    - [Shopware](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#shopware)
    - [DanDomain & Related](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#dandomain-related)
    - [Universal Integration (Clientside)](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#universal-integration-clientside)
    - [Universal Integration (Server-side Hybrid)](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#universal-integration-server-side-hybrid)
    - [Other Platforms](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#other-platforms)
    - [Developer Documentation](https://knowledge.profitmetrics.io/e-commerce-platforms?hsLang=en#developer-documentation)
- [Ad Channels](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#main-content)

    - [Google Ads](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#google-ads)
    - [Meta (Facebook/Instagram)](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#meta-facebook-instagram)
    - [Microsoft Bing Ads](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#microsoft-bing-ads)
    - [Google Analytics 4](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#google-analytics-4)
    - [Partner-ads](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#partner-ads)
    - [Other Channel Configuration](https://knowledge.profitmetrics.io/ad-channels?hsLang=en#other-channel-configuration)
- [Tracking & Conversion Setup](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#main-content)

    - [Overview](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#overview)
    - [Conversion Booster for Google Ads](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#conversion-booster-for-google-ads)
    - [Conversion Booster for Meta](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#conversion-booster-for-meta)
    - [Conversion Booster Custom Pixels](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#conversion-booster-custom-pixels)
    - [Enhanced Conversions](https://knowledge.profitmetrics.io/tracking-conversion-setup?hsLang=en#enhanced-conversions)
- [Shopping Booster](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#main-content)

    - [Overview & Setup](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#overview-setup)
    - [Supplemental Feeds](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#supplemental-feeds)
    - [Campaigns & Labels](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#campaigns-labels)
    - [Troubleshooting](https://knowledge.profitmetrics.io/shopping-booster?hsLang=en#troubleshooting)
- [Product Feed & Costs](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#main-content)

    - [Product Feed](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#product-feed)
    - [Shipping & Payment Costs](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#shipping-payment-costs)
    - [Expenses](https://knowledge.profitmetrics.io/product-feed-costs?hsLang=en#expenses)
- [Dashboard, Orders & Reporting](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#main-content)

    - [Dashboard & Orders](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#dashboard-orders)
    - [Looker Studio](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#looker-studio)
    - [Google BigQuery](https://knowledge.profitmetrics.io/dashboard-orders-reporting?hsLang=en#google-bigquery)
- [Account & Billing](https://knowledge.profitmetrics.io/account-billing?hsLang=en#main-content)

    - [Users & Access](https://knowledge.profitmetrics.io/account-billing?hsLang=en#users-access)
    - [Billing & Invoices](https://knowledge.profitmetrics.io/account-billing?hsLang=en#billing-invoices)
- [Privacy & Consent](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#main-content)

    - [GDPR](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#gdpr)
    - [Consent Management Platforms](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#consent-management-platforms)
    - [Google Consent Mode](https://knowledge.profitmetrics.io/privacy-consent?hsLang=en#google-consent-mode)
- [For Agencies](https://knowledge.profitmetrics.io/for-agencies?hsLang=en#main-content)

    - [Getting Started as an Agency](https://knowledge.profitmetrics.io/for-agencies?hsLang=en#getting-started-as-an-agency)
    - [Agency Certification](https://knowledge.profitmetrics.io/for-agencies?hsLang=en#agency-certification)
- [Shopify](https://knowledge.profitmetrics.io/shopify?hsLang=en)
- [PrestaShop](https://knowledge.profitmetrics.io/prestashop?hsLang=en)
- [Google Ads](https://knowledge.profitmetrics.io/google-ads?hsLang=en#main-content)

    - [troubleshoot](https://knowledge.profitmetrics.io/google-ads?hsLang=en#troubleshoot)
- [Meta (Facebook / Instagram)](https://knowledge.profitmetrics.io/meta-facebook-instagram?hsLang=en)
- [Uncategorized](https://knowledge.profitmetrics.io/uncategorized?hsLang=en)
- [Billing](https://knowledge.profitmetrics.io/billing?hsLang=en)
- [Google Sheets](https://knowledge.profitmetrics.io/google-sheets?hsLang=en)
- [Account](https://knowledge.profitmetrics.io/account?hsLang=en)
- [Ideal Shop](https://knowledge.profitmetrics.io/ideal-shop?hsLang=en)

[![ProfitMetrics logo black version](https://knowledge.profitmetrics.io/hs-fs/hubfs/pm_logotype_blue.png?width=193&height=28&name=pm_logotype_blue.png "ProfitMetrics logo black version")](https://profitmetrics.io)

<https://www.facebook.com/ProfitMetrics/> <https://podcasts.apple.com/> [mailto:support@profitmetrics.io](mailto:support@profitmetrics.io)

Copyright © 2026, ProfitMetrics ApS