Skip to content
  • There are no suggestions because the search field is empty.

How to Remove the Pearl Diver tracking pixel on my website?

Option 1: Google Tag Manager (GTM)

  1. Log in to Google Tag Manager and select the correct container.

  2. Go to Tags.

  3. Find the tag that contains “pearldiver.io” or “ldc.js” (often named “Pearl Diver Pixel”).

  4. Click the tag and either:

    • Pause it (set it to not fire), or

    • Delete it.

  5. 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

  1. In WordPress, go to Plugins and check if you use a plugin like “Insert Headers and Footers” or “WPCode”.

  2. Open the plugin settings (commonly under Settings or Code Snippets).

  3. Look in Header / Footer scripts for the Pearl Diver script (pearldiver.io or ldc.js).

  4. Remove the script.

  5. Save changes.

B) If it was added in the Theme header/footer files

  1. In WordPress admin, go to Appearance → Theme File Editor.

  2. Open header.php (and check footer.php if needed).

  3. Search for “pearldiver” or “ldc.js”.

  4. Remove the script line.

  5. 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

  1. Shopify Admin → Online Store → Themes.

  2. Click Actions → Edit code.

  3. Open layout/theme.liquid.

  4. Search for “pearldiver” or “ldc.js”.

  5. Remove the script.

  6. Save.

B) If installed via “Preferences” (less common)

  1. Shopify Admin → Online Store → Preferences.

  2. Check any “Additional scripts” or tracking areas.

  3. Remove the Pearl Diver script if present.

  4. Save.


Option 4: Squarespace

  1. Go to Settings → Advanced → Code Injection.

  2. Check Header and Footer sections.

  3. Search for “pearldiver” or “ldc.js”.

  4. Remove the script.

  5. Save.


Option 5: Wix

A) If installed in Custom Code

  1. Go to Settings (or Dashboard) → Custom Code (or Tracking & Analytics).

  2. Find the code snippet containing “pearldiver” or “ldc.js”.

  3. Remove it (or disable it).

  4. Publish your site.

B) If installed via GTM
Remove it from GTM (see Option 1).


Option 6: Webflow

  1. Open your Webflow project.

  2. Go to Project Settings → Custom Code.

  3. Check the Head Code and Footer Code sections.

  4. Search for “pearldiver” or “ldc.js”.

  5. Remove the script.

  6. Save changes, then Publish.


Option 7: HubSpot CMS (Website Pages / Landing Pages)

  1. In HubSpot, go to Settings → Website → Pages.

  2. Open Templates (or go to your Theme/Templates depending on your setup).

  3. Check where tracking scripts are inserted (often the site header HTML).

  4. Search for “pearldiver” or “ldc.js”.

  5. 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)

  1. Ask your developer to search the site codebase for:

    • “pearldiver”

    • “ldc.js”

    • “tag.pearldiver.io”

  2. Remove the script from the global header/footer or the tag manager area.

  3. Deploy/publish the updated site.


How to Confirm It’s Removed

After publishing your changes:

  1. Open your website in an incognito/private window.

  2. Right-click → View page source.

  3. Use Find (Ctrl+F / Cmd+F) and search for “pearldiver” or “ldc.js”.

  4. If nothing appears, the pixel is removed.