Skip to main content
Nina_Gonzalez1
Level 3
Feb 18, 2021 11:04 PM UTC
Solved

Facebook Conversion API

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.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Feb 21, 2021 11:55 PM UTC

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).

4 replies

SanfordWhiteman
User Group Leader
User Group Leader
Feb 19, 2021 12:00 AM UTC

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

Translate
Nina_Gonzalez1
Level 3
Feb 20, 2021 9:22 PM UTC

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

Translate
SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Feb 21, 2021 11:55 PM UTC

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).

Translate