Facebook Conversion API | Community
Skip to main content
Nina_Gonzalez1
New Participant
February 18, 2021
Solved

Facebook Conversion API

  • February 18, 2021
  • 1 reply
  • 4511 views

Has anyone implemented Facebook's Conversion API with Marketo. I am looking for more guidance for how this can be done. Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Calling the API endpoint (what FB calls an "edge", in keeping with its graph terminoligy) /events in itself is a pretty simple task.

 

It supports stateless requests, once you have your non-expiring API access token, so you can set up a webhook accordingly.

 

But the question is how are you getting the data into Marketo in the first place? Some fields must be hashed, for example. And just posting JSON to the endpoint won't hash them for you, you'd either need to hash them ahead of time (perhaps using another webook-enabled service) or call an intermediate API gateway as opposed to calling the FB API directly (the API gw would do the hashing and then send upstream).

1 reply

SanfordWhiteman
New Participant
February 19, 2021

Do you mean the actual server-side Conversions API? Or the client-side "pixel" (which is actually more of an embed code now).

Nina_Gonzalez1
New Participant
February 20, 2021

Thanks for your help @sanfordwhiteman, the server-side Conversion API.

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
February 21, 2021

Calling the API endpoint (what FB calls an "edge", in keeping with its graph terminoligy) /events in itself is a pretty simple task.

 

It supports stateless requests, once you have your non-expiring API access token, so you can set up a webhook accordingly.

 

But the question is how are you getting the data into Marketo in the first place? Some fields must be hashed, for example. And just posting JSON to the endpoint won't hash them for you, you'd either need to hash them ahead of time (perhaps using another webook-enabled service) or call an intermediate API gateway as opposed to calling the FB API directly (the API gw would do the hashing and then send upstream).