Home App Docs Blog Github

Is there a good way to include Facebook Pixel or Google Analytics Events in Builder?

You can use the custom code block to achieve this and paste the code from your Facebook pixel/Google Analytics Events there.

Additionally, you can track Builder data easily to other providers using load events. For instance, when using with React, you can do:

import { BuilderComponent } from '@builder.io/react'
<BuilderComponent 
  model="page" 
  contentLoaded={(data, content) => {
    amplitude.track('builderImpression', {
      contentId: content.id,
      contentName: content.name,
      testVariationId: content.testVariationId,
      testVariationName: content.testVariationName
    })
  }
/>