Meta CAPI · Custom website

Install Meta on a custom website — step by step.

A hand-held guide for hand-coded sites, static sites (Astro, Hugo, Jekyll), and any template-based setup where you can edit the page <head>. No developer required. Around 10 minutes start to finish.

Before you start, make sure you have:

  • An AdsPing account — free, no credit card.
  • Access to edit your site’s HTML (or template files).
  • A Meta Pixel in a Business Manager you can access — you’ll connect it in Step 1.

The 4 steps

  1. 1

    Create your pixel & connect Meta

    Create a pixel, pick a plan, and connect Meta in the dashboard.

    ~5 min

  2. 2

    Find your AdsPing script

    Copy a one-line script tag from your dashboard.

    ~2 min

  3. 3

    Paste the script in your site

    Drop it into the <head> of your pages.

    ~3 min

  4. 4

    Pick what to track

    Choose the actions you want to send to Meta (Purchase, Lead, AddToCart, …).

    ~5 min per event

Was this page helpful?