PixelYourSite Pro · Any script
Head and footer scripts for WordPress.
Insert any script in the head or footer of your pages from PixelYourSite Pro, globally or per page, by device, and on the WooCommerce thank-you page.
Scripts · all pages · desktop and mobile
head · footer
<!-- Head scripts -->
<script async src="https://example.com/tag.js"></script>
<script>
window.exampleTag = window.exampleTag || [];
exampleTag.push(['init', 'YOUR-ID']);
</script>
Also on the WooCommerce thank-you page, with the order’s id, title, categories, email, first_name, last_name.
Any script
a tag we don’t support yet, a chat widget, an affiliate pixel
Global or per page
all pages, or the ones you choose
By device
all, desktop only or mobile only
Thank-you page
fire a script when a WooCommerce order completes
Dynamic values
order data in your scripts, with the Super Pack
Add ANY script you need.
A pixel we don’t support yet, a chat widget, an affiliate tag.
Your site might need a script: an affiliate network’s tag, a chat widget, a pixel we don’t support yet. Paste it once in PixelYourSite Pro and control where it runs. No theme edits, no extra plugin.
Filter by device.
Run the scripts on all devices, on desktop only, or on mobile only.
Global or per-page scripts.
Insert scripts on all your pages, or per-page scripts on the pages you choose.
Hide global scripts.
Hide the global scripts on particular pages.
The WooCommerce thank-you page.
The hardest page to put a script on, made easy.
Due to the way the WooCommerce order-received page is configured, adding scripts to it can be challenging. That’s why we’ve added a special feature that helps you insert anything there.
Fire any script on a completed transaction.
Easily fire any script when someone completes a transaction on your WooCommerce site.
Hide global scripts there.
Hide the global scripts on the WooCommerce thank-you page, useful to fire a different script configuration for your clients.
Customize your scripts with dynamic variables from the order. You can use: id, title, categories, email, first_name, last_name.
Part of the Super Pack.
Dynamic values need the Super Pack add-on. It comes with the PixelYourSite Pro Advanced and Agency licenses, and with All Access.
Reviews
What PixelYourSite users say.
-
★★★★★
This plugin is a life saver
“i have been looking for a plugin that would let me add all my Facebook pixel info for woocommerce and this is the only that not only let’s me do it has other codes i never thought to use”
lindsaye
WordPress.org · Apr 2016
-
★★★★★
Love it – the plugin and the support too!
“Very nice plugin, works greatly. Was trying to install all the codes manually but PixelYourSite saved me all the trouble! Also, the support was incredibly fast, in less than a few minutes had all my questions answered! Thanks guys!!”
fraziinha
WordPress.org · Jan 2017
-
★★★★★
Pixelyoursite Review
“Easy to follow instructions for plug-in and addon. Much more than I expected. Highly useful.”
dottiglenn
WordPress.org · Jun 2021
Head and footer scripts is one of the many features in PixelYourSite Pro.
Meta, Google Analytics, Google Ads, TikTok and OpenAI need no manual script setup: turn the platform on, paste its ID, and every event is tracked.
Strategies
Set it up like a pro.
Step-by-step guides for PixelYourSite Pro, written by the team that builds the plugin.
-
EDD Tracking Audit with Claude, ChatGPT via PixelYourSite MCP
Before launching a campaign for your EDD store, one conversation with Claude, ChatGPT, or Gemini is enough to verify your tracking is solid. Pixel…
Written guide
-
WooCommerce Tracking Audit with Claude, ChatGPT via PixelYourSite MCP
Before launching a campaign, one conversation with Claude, ChatGPT, Gemini, or any MCP-compatible AI assistant is enough to verify your WooCommerce tracking is solid.…
Video guide
-
Track What Matters: Custom Pixel Events with PixelYourSite MCP
PixelYourSite lets you track any visitor action and send it to every ad platform at once. With an AI assistant connected via MCP, you…
Written guide
