Google Tag Manager (GTM) is the recommended method if you already use GTM on your site, as it lets you deploy and update the pixel without touching your site’s code directly.Create a new tag
Click New Tag and give the tag a descriptive name (e.g., Dash.fi Ad Pay Protection).
Configure the tag
Set the following options:
- Tag Type: Custom HTML
- HTML: Paste your full pixel script into the HTML field
- Triggering: All Pages
Save the tag
Click Save to store the tag configuration.
Publish the container
Click Submit in the top navigation bar, add a version name or description if prompted, and publish. The pixel is now live on all pages.
After publishing, use GTM’s Preview mode to verify the tag fires correctly on page load before closing your session.
If your storefront runs on Shopify, you can add the pixel directly to your theme’s theme.liquid file so it loads on every page automatically.Always back up your theme before editing code. In Shopify Admin, go to Online Store > Themes, click the three-dot menu on your active theme, and select Duplicate to create a backup copy.
Open the theme code editor
In Shopify Admin, go to Online Store > Themes. Click the three-dot menu (or Actions) on your active theme, then select Edit code.
Open theme.liquid
In the Layout folder on the left, click theme.liquid to open the file.
Locate the closing head tag
Use your browser’s find function (Ctrl+F / Cmd+F) to locate the closing </head> tag in the file.
Paste the pixel script
Paste your pixel script on a new line directly above the </head> tag.
Save the file
Click Save. The pixel will now load on every page of your Shopify store.
If you use Funnelish to build and manage your funnels, add the pixel through the funnel’s custom codes settings.Open Funnel Settings
From your Funnelish Dashboard, select the funnel you want to track. Click the Funnel Settings gear icon.
Navigate to Custom Codes
Go to the Tracking Codes section, then open Custom Codes.
Create a new code
Click Create a new code.
Configure the code
Set the following options:
- Name: A descriptive name (e.g.,
Ad Pay Protection Pixel)
- Code placement: Append to page head (this setting is critical — do not choose a footer option)
- Lazy Load: Disabled (leave unchecked)
- Code Block: Paste your entire pixel script
Save the code
Click Create Code or Save changes. The pixel will now fire on every page of your funnel.
Ensure Lazy Load is disabled. If the pixel loads lazily, it may miss early page events and produce incomplete tracking data.
If you manage your website’s HTML directly, you can add the pixel manually to each page or to a shared header file.Always back up your HTML files before making edits. Keep a copy of the original files in a safe location before you begin.
Identify files to edit
Determine which HTML files need the pixel. If your site uses a shared header or layout file, you only need to edit that one file. Otherwise, identify every individual page you want to track.
Open the file in a text editor
Open the target HTML file in your preferred text or code editor.
Locate the closing head tag
Find the closing </head> tag in the file.
Paste the pixel script
Paste your pixel script on a new line immediately before </head>.<!-- Dash.fi Ad Pay Protection Pixel -->
<!-- Paste your pixel script here -->
</head>
Save and upload
Save the file and upload it to your web server, replacing the existing version. Repeat this process for all pages if there is no shared header file.