Using Meta/Facebook Pixel Tracking

Meta Pixel is a system from Facebook (Meta) that allows you to track conversions. If you have Meta Pixel installed on your website, you can send the VoteAmerica+ events to Meta Pixel using the following JavaScript snippet.

window.addEventListener('VoteAmericaEvent', function(evt) {
  fbq('track', `${} - ${}`,;

You can read more about conversion tracking in Meta’s documentation

See JavaScript Events for more details on the types of events and the data contained in each event.