Facebook pixel events call from server

后端 未结 2 798
忘了有多久
忘了有多久 2020-12-28 08:20

I have absolutelly the same question as dan here - Facebook conversion pixel with "server to server" option . There was written, that there was no way, but it was

2条回答
  •  失恋的感觉
    2020-12-28 08:46

    Facebook has now a Server-Side API: https://developers.facebook.com/docs/marketing-api/server-side-api/get-started

    Implementing this is similar to implementing the offline events outlined in the accepted answer.

    Keep in mind that it will always be cumbersome to track and connect events from the browser and from your server. You need to share a unique user id between the browser and server, so that Facebook (or any other analytics provider) will know that the event belongs to the same user.

    Tools like mixpanel.com and amplitude.com may be more tailored to your needs, but will get very expensive once you move out of the free tier (100+ EUR at mixpanel, 1000+ EUR at Amplitude, monthly). Those tools are tailored towards company success, whereas Facebook is tailored towards selling and measuring Facebook ads.

提交回复
热议问题