import * as fbq from '../lib/fpixel' export default function Home() { const handleClick = () => { fbq.event('Purchase', { currency: 'USD', value: 10 }) } return (

Go to `pages/_app.js` to see how you can add Facebook Pixel to your app

Click the button below to send a purchase event to Pixel

) }