如何在我定制的 React 网站中将产品目录集成到我的 Facebook Pixel 中?

问题描述

我会在 Facebook 中展示关于我的产品的动态广告。

目录管理员说我的 Facebook Pixel 尚未准备好,This pixel's microdata is incomplete

enter image description here

虽然这里说微数据没问题:

enter image description here

这里是在我的 React 应用程序中设置的微数据:

<MetaTags>
  <title>{buyTicketData.name}</title>
  <Meta property="og:description" content={buyTicketData.description} />
  <Meta property="og:title" content={buyTicketData.name} />
  <Meta
    property="og:image"
    content={`https://ticket-t01.s3.eu-central-1.amazonaws.com/${eventId}_0.cover.jpg`}
  />
  <Meta property="og:url" content={`https://ticket.hu/${eventId}`} />
  <Meta property="product:retailer_item_id" content={eventId} />
  <Meta property="product:price:amount" content={buyTicketData.price} />
  <Meta property="product:price:currency" content="HUF" />
  <Meta property="product:availability" content="available for order" />
  <Meta property="product:category" content="499969" />
</MetaTags>

ViewContent 事件也被发送。

enter image description here

是的,我收到警告,我不知道是否应该发送 product_catalog_id

我希望在使用我的网站期间,目录会更新。但我想念的东西,你知道吗?

ReactPixel.track("ViewContent",{
  content_ids: eventId,//product_catalog_id: eventId,content_type: "product",contents: [{ id: eventId,quantity: 1 }],});

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)