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 - Script"
Part 2: Remove the existing Conversion Booster Snippet in the Shopify checkout (IMPORTANT)
Part 3: Create a custom pixel for "PM - Conversion Booster Script"
Part 4: Add Custom Pixel for Google Analytics 4
Part 1: Create a custom pixel "PM - Script"
- Click "Settings"
- Click "Customer events"
- Click "Add custom pixel"
- Click the "Pixel name" field and type "PM - Script"
- Click "Add pixel"
- Click "Permission"
- Select "Not required"
- Click "Data sale"
- Select "Data collected does not qualify as data sale"
- Copy the script from the "Open Script Setup Guide" in ProfitMetrics Shopify Integration page
- Remove all existing text in the Code field and paste the script into the Code field
- Click "Save"
- Click "Connect"
- Click "Connect" again
Part 2: Remove the existing Conversion Booster Snippet in the Shopify checkout (IMPORTANT)
NOTE: You may skip this step if you already have Shopify Checkout Extensibility enabled, and additional scripts are fully greyed out.
WARNING: If you have set up Google Ads tracking for ProfitMetrics Conversion Booster via Google Tag Manager, you will need also to delete the Google Ads Conversion Tag for Revenue and Profit before you continue.
Failure to do so will result in double tracking.
- Navigate to the Conversion Booster integration and make sure you are on the correct website
- Select "Update integration"
- Open a new browser tab > log in to your Shopify store, and click "Settings"
- Then "Checkout"
- Scroll down to "Additional scripts" and delete the existing Conversion Booster snippet. The script might look different depending on when it was installed.
If the script you find does not match the script below, look for the highlighted line as this will exist in all versions with different numbers.<!-- Start ProfitMetrics - Conversion Booster for Google Ads - (v1) -->
<!-- End ProfitMetrics - Conversion Booster for Google Ads - (v1) --> - Find the code and delete it.
- Click "Save"
- Check "I have removed the script from the website"
- Click "Next step"
Part 3: Create a custom pixel "PM - Conversion Booster Script"
- Click "Copy snippet"
-
I Shopify: Navigate to "Settings" > "Customer events" and click "Add custom pixel"
-
Click the "Pixel name" field and type "PM - Conversion Booster Script"
- Click "Add pixel"
- Click "Permission"
-
Select "Not required"
-
Click "Data sale"
- Select "Data collected does not qualify as data sale"
- Remove all existing text in the Code field paste the Conversion Booster snippet into the Code field
- Click "Save"
- Click "Connect"
- Click "Connect" again
- That's it. You have now removed the old tracking and ensured compatibility with the new Shopify checkout page.
Part 4: Add Custom Pixel for Google Analytics 4
Please see How to set up Google Analytics 4 (GA4) Custom Pixel in Shopify