Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.31 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.31 KB

X Pixel samples

The X Pixel is the conversion tracking tag for X Ads. Advertisers add it to their website to measure the actions people take after seeing or clicking their ads, such as sign-ups and purchases.

This repository has samples for adding the X Pixel to your site.

Samples

  • HTML: plain HTML pages, no build step
  • React: a single-page app with Vite and React Router
  • Next.js: App Router and TypeScript
  • Next.js store: an online store that sends content view, add to cart, checkout initiated, and purchase events

Resources

License

MIT