SOLVED

Facebook Conversion API

Go to solution
Nina_Gonzalez1
Level 3

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.

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Facebook Conversion API

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

View solution in original post

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Facebook Conversion API

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
Level 3

Re: Facebook Conversion API

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

SanfordWhiteman
Level 10 - Community Moderator

Re: Facebook Conversion API

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

Nina_Gonzalez1
Level 3

Re: Facebook Conversion API

Thank. you, this is very helpful.