Idlen Logo
Getting Started

Installation

Install the Idlen Pixel on your website

Installation

Add the Idlen Pixel to your website to start tracking page views and conversions.

Prerequisites

Add this snippet to your website's <head> section, just before the closing </head> tag:

<!-- Idlen Pixel -->
<script>
!function(i,d,l,e,n){i.idlen=i.idlen||function(){
(i.idlen.q=i.idlen.q||[]).push([].slice.call(arguments))};
var s=d.createElement('script');s.async=1;
s.src='https://pixel.idlen.io/v1/pixel.js';
d.head.appendChild(s)}(window,document);

idlen('init', 'YOUR_ADVERTISER_ID');
idlen('track', 'PageView');
</script>
<!-- End Idlen Pixel -->
Replace YOUR_ADVERTISER_ID with your actual Advertiser ID from the Ads Manager.

NPM Installation

Soon

For JavaScript/TypeScript projects:

npm install @idlen/pixel
import { init, track } from '@idlen/pixel';

// Initialize with your advertiser ID
init('YOUR_ADVERTISER_ID');

// Track page view
track('PageView');

Verify Installation

  1. Go to Ads Manager > Settings > Pixel
  2. Visit your website in a new tab
  3. Check the "Recent Events" section for incoming events
Debug Mode: Enable console logging to troubleshoot issues:
idlen('init', 'YOUR_ID', { debug: true });
Copyright © 2026