How to Remove the Pearl Diver tracking pixel on my website?
Option 1: Google Tag Manager (GTM)
-
Log in to Google Tag Manager and select the correct container.
-
Go to Tags.
-
Find the tag that contains “pearldiver.io” or “ldc.js” (often named “Pearl Diver Pixel”).
-
Click the tag and either:
-
Pause it (set it to not fire), or
-
Delete it.
-
-
Click Submit (top right) and Publish the changes.
Tip: You can also use the search field in GTM and type “pearldiver” or “ldc.js” to find it quickly.
Option 2: WordPress (common methods)
A) If it was added via a Headers/Footers plugin
-
In WordPress, go to Plugins and check if you use a plugin like “Insert Headers and Footers” or “WPCode”.
-
Open the plugin settings (commonly under Settings or Code Snippets).
-
Look in Header / Footer scripts for the Pearl Diver script (pearldiver.io or ldc.js).
-
Remove the script.
-
Save changes.
B) If it was added in the Theme header/footer files
-
In WordPress admin, go to Appearance → Theme File Editor.
-
Open header.php (and check footer.php if needed).
-
Search for “pearldiver” or “ldc.js”.
-
Remove the script line.
-
Click Update File.
C) If WordPress uses GTM plugin
If GTM is installed via a plugin, you’ll still remove the Pearl Diver tag inside GTM (see Option 1).
Option 3: Shopify
A) If installed in theme.liquid
-
Shopify Admin → Online Store → Themes.
-
Click Actions → Edit code.
-
Open layout/theme.liquid.
-
Search for “pearldiver” or “ldc.js”.
-
Remove the script.
-
Save.
B) If installed via “Preferences” (less common)
-
Shopify Admin → Online Store → Preferences.
-
Check any “Additional scripts” or tracking areas.
-
Remove the Pearl Diver script if present.
-
Save.
Option 4: Squarespace
-
Go to Settings → Advanced → Code Injection.
-
Check Header and Footer sections.
-
Search for “pearldiver” or “ldc.js”.
-
Remove the script.
-
Save.
Option 5: Wix
A) If installed in Custom Code
-
Go to Settings (or Dashboard) → Custom Code (or Tracking & Analytics).
-
Find the code snippet containing “pearldiver” or “ldc.js”.
-
Remove it (or disable it).
-
Publish your site.
B) If installed via GTM
Remove it from GTM (see Option 1).
Option 6: Webflow
-
Open your Webflow project.
-
Go to Project Settings → Custom Code.
-
Check the Head Code and Footer Code sections.
-
Search for “pearldiver” or “ldc.js”.
-
Remove the script.
-
Save changes, then Publish.
Option 7: HubSpot CMS (Website Pages / Landing Pages)
-
In HubSpot, go to Settings → Website → Pages.
-
Open Templates (or go to your Theme/Templates depending on your setup).
-
Check where tracking scripts are inserted (often the site header HTML).
-
Search for “pearldiver” or “ldc.js”.
-
Remove the script and Publish/Update.
If the script was added under Settings → Website → Pages → “Site header HTML”, remove it there and save.
Option 8: Custom HTML Site (or Developer-Managed Site)
-
Ask your developer to search the site codebase for:
-
“pearldiver”
-
“ldc.js”
-
“tag.pearldiver.io”
-
-
Remove the script from the global header/footer or the tag manager area.
-
Deploy/publish the updated site.
How to Confirm It’s Removed
After publishing your changes:
-
Open your website in an incognito/private window.
-
Right-click → View page source.
-
Use Find (Ctrl+F / Cmd+F) and search for “pearldiver” or “ldc.js”.
-
If nothing appears, the pixel is removed.