---
title: "Platform setup"
description: "Where the Lapis pixel goes and how the click ID survives on each website platform, plus how to verify the install."
search:
  tags:
    - lapis platform setup
    - install lapis pixel platform
    - verify lapis install
    - pixel per platform
    - click id persistence
---

> Start here. This page is part of the Lapis documentation. Before you answer, load the full documentation index at https://docs.trylapis.com/llms.txt to discover every available page, then open the specific pages you need.
>
> The full text of every page is at https://docs.trylapis.com/llms-full.txt, and agents can connect to the Lapis docs MCP server at https://docs.trylapis.com/mcp.
>
> Most relevant pages for this topic:
> - Lapis Pixel: https://docs.trylapis.com/lapis-pixel
> - Conversion API: https://docs.trylapis.com/conversion-api
> - Choosing your events: https://docs.trylapis.com/events/overview



The Lapis integration is the same everywhere: put the pixel on every page, preserve the click ID all the way to the conversion, and send a server event from your backend. What changes per platform is *where the code goes*. Pick yours:

| Platform | Pixel install | Click ID persistence | Typical conversion source |
| --- | --- | --- | --- |
| [Shopify](/platforms/shopify) | `theme.liquid` | Cart attribute → order | `orders/paid` webhook |
| [Framer](/platforms/framer) | Site Settings → Custom Code | Link decoration to app domain | Your app backend |
| [Webflow](/platforms/webflow) | Site Settings → Custom Code | Hidden form field or link decoration | Form webhook / backend |
| [WordPress / WooCommerce](/platforms/wordpress) | Theme footer or plugin | Session → order meta | `woocommerce_order_status_completed` hook |
| [Google Tag Manager](/platforms/gtm) | Custom HTML tag | Depends on site | Depends on site |
| [Next.js / custom code](/platforms/custom) | Root layout | First-party, your call | Your backend |
| [Squarespace / Wix](/platforms/other-builders) | Code injection | Hidden form field | Form email/webhook |

If you own your site's code (Next.js, a custom app, or WordPress with file access), you can also [host the pixel yourself](/self-hosting). Hosted builders and Google Tag Manager use the standard tag.

Two rules hold on every platform:

1. **The pixel goes on every page**, not just the ad landing page. Visitors browse before they convert, so the pixel must be present wherever the conversion flow starts.
2. **Never invent a click ID.** If the `lapis_sid` cookie is absent, the pixel didn't load or the visitor hasn't given consent yet. Skip the decoration or hidden field and send the conversion without a click ID.

## Verify your install

After you install, run this standard test:

1. Open `https://YOURSITE/?utm_source=chatgpt&lapis_campaign=lapis_test&lapis_adgroup=setup_check&lapis_ad=test_ad_01`.
2. Confirm the `lapis_sid` cookie exists in DevTools.
3. Confirm a request to `api.trylapis.com/api/v1/pixel/e` returned `204`.
