In this video,
I'm going to show you how to set up the Facebook conversions API using the
Facebook conversion API gateway.
Now this is a brand new way to set the conversions API up that Facebook has only
recently released. And I like this for a couple of reasons.
One it's easy to set up or relatively easy.
It takes no coding ability at all to set this up. And two,
it gives you a lot of the advanced functions and features of the conversions API
that some of the other simpler methods don't. So for example,
with the Zapier setup, it didn't handle Deduplication.
So what would always happen there is you would get errors inside the Facebook ad
manager, telling you that your events aren't being duplicated,
that doesn't happen with this method.
So this is actually the way that I recommend setting up the conversion API.
Now for most people,
unless you've got developers in house where you know how to code or you'd need a
really custom setup,
this is the best way that I know of to set this up really quickly and easily.
Let's get in to have a look, how to do it. Step number one,
tap the lock button on this video. If you find it helpful. No,
really it makes a huge difference to the channel.
I really do appreciate it if you do hit, like,
and if you want to hear more from me,
make sure you hit subscribe and hit that little bell to get notified.
Whenever I release a new video on Facebook advertising and digital marketing,
but now seriously onto the actual first step.
And that is to set up an AWS or Amazon web services account.
You do need to use AWS for this.
There is a tiny monthly cost associated with this. It could be a dollar,
it could be a couple of dollars a month,
depending on how much web traffic you get and how much data you're sending via
the conversion API. But for the vast majority of people,
this is going to be extremely cheap.
So head over to aws.amazon.com and set up your account. So to do that,
just click get started for free and then click get started for free.
Again, I don't know why you need to do that twice, but we do. Now.
If you see this screen, just click, create a new AWS account down the bottom.
Auntie email address,
choose a password and give it any account name that you like.
I recommend choosing a business account here, enter the rest of your details.
And again, click continue. As I said, this is a paid service.
So you do need to enter a credit card here so they can bill you when the time
comes and then finally confirm your identity.
Totally fine to choose the basic support level here and click complete sign up.
Now you just want to go to the AWS management console and login.
So enter the login details that you chose while you're setting it up. Okay?
So once you've set up your AWS account,
the next step is to go over to the Facebook ad manager,
navigate to the events manager screen and complete the setup on the Facebook
side.
So we're going to go to event manager in case you don't know how to get there,
or you go to the ad manager and then click on the menu and click on events
manager from here.
You want to go out events and choose using the conversions API.
Now we're going to choose user partner integration.
We're going to select the conversions API gateway. Now,
once you see this screen, really simple, just enter your domain.
So it's important here to enter your main domain first and then into
any other domains that you want to be included in this conversions API setup.
So if you have a business that uses multiple domains,
make sure you enter them all in here, entering your main first.
Now you'll see here. It gives you a domain, which is perfect.
And just click next. Now that you select your deployment method here,
you want to choose your hosting region.
You're going to choose any region that you want. I'm going to choose, uh,
Asia Pacific Sydney,
because that's closest to where I am begin deployment.
Once you've done that. Now you can see here,
that's going to open up your AWS account. I'm not logged in,
so I'm just going to log in. Okay?
Now it's going to present you with a screen that looks like this.
What you need to do here is enter your admin email and password.
Now you make this up.
So choose whichever email you prefer to use for your admin login and then select
any password that you would like. It just needs to be at least 12 characters.
You can leave everything else. The same instant type T3 large is great.
Do not change the provisioning data here or the admin domain name,
scroll down and tick the acknowledge box and then click create stack.
And now we wait,
this will take up to five minutes to set up and you'll see a notification when
this step is complete. In the meantime,
I'm going to go back over to the Facebook events manager and we can complete
some more steps there.
So here I'm going to click next and now we need to set up a DNS record.
So we need to go over to our domain provider, not our web host,
but whoever we bought our domain name from and set up a DNS record.
If you don't know how to do that, go ahead and Google it.
It's pretty straightforward. I'll show you how I do it now with CloudFlare,
because that's what I'm using. So I'm going to go over to CloudFlare,
log into my account, select my domain here.
And then I'm going to go up to my DNS settings. Now I want to create an,
a record here. So I'm going to click add record. I'm going to choose a,
and then the name is going to be back here and events manager.
And I want to get this a record name here. So I'll go back over to CloudFlare,
paste that in the name. Now to get that IP address,
we need to go back over to our AWS setup and get that once it's complete.
So when you head back over there, it should look something like this,
hit refresh, then click stack info, and you should see here.
Status Cray complete. If not wait a little while longer,
hit refresh again until you see in the stack info section that the create is
complete. Once you've done that,
go over to the outputs tab and you will see just here, it's got an IP address.
So you want to grab this IP, copy that,
go back over to your DNS settings and enter that IP address as your IPV four
address now because I'm using CloudFlare.
I don't want this proxy for your TTL. You can put that as auto or one minute.
It doesn't really matter that hit save.
And now you've got your DNS record set up.
So if we go back over to the event manager here,
you can wait a minute or two to see if that DNS configuration light changes
green. In my experience, this doesn't actually turn green.
I've waited a long time after setting the DNS up and it's never actually changed
for me.
So what I like to do instead is go over to a DNS checker and make sure that my
DNS records are set up properly.
The one that I like to use is called DNS checker.org.
So you can head over here and you simply need to add in your address and choose
a and hit search. So I'll show you what address to put in here.
Now go back to your output screen here in AWS and grab this address here.
So it's the sub domain at whichever domain you set up on. Grab that, copy it,
come back over here, paste it into the DNS checker and hit search. Now,
if your DNS is set up properly and it's all working,
you should see the IP address here matches that in your AWS console.
So 3 25, 1 35 67. And we can see here that they all match.
That tells me that my DNS has propagated.
It's all working properly and we're good to go to the next step.
So go back over to AWS and click this link just here.
Okay. Click that. And you're going to see this message that says conversions.
API gateway is provisioning.
That means that it's all being set up in the background.
It's installing the conversions API for you.
You'd send to kick back and wait until this is set up.
It could take 10 to 15 minutes as well. So don't stress.
If this takes a long time, just sit back, wait and come back when it's done.
Okay. So once that has all set up, it should look something like this.
And you'll see a countdown, wait till the countdown finishes.
And then once that's done, your API gateway is ready to go.
When the countdown hits zero,
hit that button and it's going to open up a login screen that looks like this.
Now you need to enter those login details that you created the email and the
password that you chose when you were setting this up in AWS earlier.
So I'm going to do that now and log in, right?
Once you log in, you should see a screen that looks something like this. Now,
if you then navigate over to your Facebook events manager again, uh,
what we're going to do is we're just going to tick that DNS check box go next.
Then we're going to just click finish because we're already at the console.
You can click go to consult here and it would open up for you,
but we were already there. So we don't need to do that step,
which is going to close that I'm going to finish this now,
back over in your conversions API gateway window, you should see this screen.
You can see we've got the pixel ID here.
If you go back to events manager and check that,
you'll see that it should match right here. And in this case, of course it does.
So what you're going to start seeing on this screen now is events coming in as
they occur on your website. Now that's exactly what we want to see.
I would actually go to your website and test it. So if I go over to my website,
now I'll go to a page that I know is going to trigger a conversion event as
well. Check here that my pixel is firing. My conversion event is firing as well.
And I'm going to go back to my conversion event, gateway and refresh that one.
Sometimes the data, it takes a little while to update here.
So if you don't see your conversion event or your pixel activity right away,
give it 15 to 20 minutes,
come back and have a look and you should start seeing data. So you can see here,
I've got, uh, event types.
You can see there are three here and event types here,
two in the outgoing section.
That means that my pixel has recorded three different event types.
And I've sent two different event types off to the conversion API. Now,
the reason there's a discrepancy there is because I'm sending the lead event
type off to the conversion API,
but there are other event types that the pixel tracks that aren't conversion
events. So we're not going to be sending those via the conversion API.
So that's why you'll see more event types under the pixel here,
then under the outgoing conversion API section.
So keep an eye on this dashboard,
make sure that everything is tracking properly and you'll know that because
these numbers will be increasing.
You can also go back to the event manager and just check the events here,
the lead events and the Pedro events and whatever other conversion events you're
tracking. And if you click on this down arrow,
you can actually click on view details and you can start to see where these
events are coming through. You can see event overview and the matching here,
and these numbers should be increasing.
You can also start to look at recent activities and you can see activities that
are coming in and where they're occurring and where they're being tracked.
So I can see I've got two different browser events here on that URL.
And you'll start to see server events coming through as well.
That's how you'll know that this is working, but once you've got all this done,
you are up and running with the conversions API. You know,
you've got a robust set up and you know,
you're set up in a way that's going to be doing things like event DG,
application and everything else that it needs to do really quickly and easily.
If you want to learn more about what's changing and how my strategy and things
are changing with Facebook ads, there's a video right here. You can check out.
Now it's going to walk you through a few different things that I used to do that
I no longer do anymore because of the way Facebook ads have evolved.
Thanks for watching this video. I hope you enjoyed it. I'll talk to you soon.
Bye.