<head> (on every page you want to track), publish, then run Verify installation in ShortPen.
Before you start
- You have already created a Pixel in ShortPen.
- You know which domain(s) the Pixel should cover.
How to manually install the pixel: Steps
Open the Pixel installer
In ShortPen, go to Settings → Organization → your Pixel → Pixel configuration (curly brackets icon) → Install manually and copy the entire code snippet.
Paste the snippet inside <head>
In your website/app layout, paste the snippet before the closing
</head> tag so it loads early on every page you want tracked.This is the preferred placement for reliability and snippet detection.Verify installation
Back in ShortPen, use Verify installation: paste a live page URL where you added the Pixel and click Verify. You’ll see a confirmation when the Pixel is detected.
Where exactly should the Pixel go?
- Every page that can trigger an event (e.g., a thank-you page). Putting it in your global layout ensures site-wide loading.
- Inside
<head>(not just before</body>): this makes the script available during fast navigations/SPAs and reduces race conditions.
FAQ
Do I need the Pixel on every page
Do I need the Pixel on every page
Install it site-wide. At a minimum, it must load on any page that triggers an event (e.g., thank-you pages).
Can I use a tag manager instead of editing code
Can I use a tag manager instead of editing code
Yes, insert the snippet via your tag manager as an HTML tag that fires on all pages, still effectively placing it in the virtual
<head>. Keep one Pixel ID active.