- In this video,
you're going to learn how to set up Facebook pixel events
on your website.
Now these are also referred to
as Facebook standard events sometimes as well,
so those two terms, they're basically interchangeable,
they mean the same thing.
Now, this is something that you used to have to do manually,
to set up Facebook pixel events or Facebook standard events,
you used to have to manually edit the pixel code.
So you used to have to get in,
edit the code on each of your thank you pages,
where you wanted to track a pixel event or a standard event.
That's not the case anymore.
In 2020, Facebook actually went in
and added new functionality that allows us to set this up
without actually touching the code at all,
it's all done with a few clicks through the Facebook website
or the Facebook ad manager, I should say.
So that's exactly what I'm going to show you.
Now, let's jump across and set it up.
But before we do, if you enjoy the video,
please remember to give it a thumbs up.
And if you want to hear more from me
and get notified whenever I release a new video,
make sure you hit the subscribe button
and hit the little bell to get notified.
All right, so let's go over now and do the setup.
So the first thing that we're going to do
is go to your website, assuming it's on WordPress,
and make sure that you've got the pixel installed correctly,
the base pixel.
Now to do that, I've got a video, it should pop up a link
above here, somewhere that you can click about now
and go and check out that video to install the pixel.
It's really quick and easy,
so you need to go and do that first.
Now, assuming you've got the pixel installed,
just double check, make sure it's all working.
So install the Facebook pixel Chrome extension tool, sorry,
the Facebook pixel helper Chrome extension, click that
and we can see that the pixel
is working correctly on my site,
I'm just going to hit refresh to show you that,
as you can see, pixel is working fine
and we've got the page view event.
So now what we need to do is go over
to the Facebook ad manager,
and I'm going to click on the business tools menu
and go to the events manager.
Once you're inside the events manager,
you'll see your Facebook pixel,
so you need to select that pixel.
And you can see mine here, it looks a bit funny.
So we had lots of events coming in
and then it dropped right down.
That's because I use this as a sand pit
testing ground for the old videos that I make and stuff.
So we've been messing around swapping pixels and stuff.
Yours won't look like this, it's just because of
things I've been doing in the background.
But as long as the pixel is active, then that's all good.
Now, what you want to do from here is click add events,
and we're going to click from the pixel.
So it says, add events using pixel code
or the event setup tool, so click on that.
And then we wanna click open events setup tool.
Now, all you do here is add your website URL.
Now, what you want to do is add a Facebook pixel event
or a Facebook standard event,
depending on what you're calling it here
on every thank you page that people see
after they perform an event that you wanna track.
So for example, after they opt in to your email list,
you wanna add a pixel event on the thank you page
that they see after doing so.
Or if somebody completes a purchase,
you want to add this on the thank you page
they see after completing a purchase.
Some other examples,
things like when somebody initiates the checkout.
So when they hit your checkout page,
you wanna have a pixel event there as well,
and a few other different instances
that we can talk about later in the video.
So what I'm going to do here is put the URL
of the first thank you page I want to set up.
So for me, it's andrewhubbard.co/thank-you.
This is the URL people see
after they opt in to my email list,
so after they become a lead,
and I'm going to click open website.
Okay, so this is the page that people see.
As you can see,
it says, thank you, keeping an eye on your inbox,
your free content will be arriving shortly.
And over here, we've got this little window
that's called the Facebook event set up tool.
And you can see, we've got events on this page.
There are no events found on this page at the moment,
which is exactly what we expect to see.
And we've got two options.
We can track a new button or we can track a URL,
and we want to choose track a URL, click that.
Now we need to select an event.
Now, because I know that everybody who hits this page
is a new lead.
To get to this page,
it means they've entered their email address
and clicked submit on a form and they've hit this page.
So I'm going to choose lead.
And here we choose URL equals,
actually we're going to choose URL contains,
and we're going to just strip the HTTPS off the front.
Now, that's because sometimes people
might somehow get to the site without using the HTTPS,
they might come through normal HTTP.
They shouldn't be able to,
but you just wanna cover your bases here.
So I just remove that from the front
and I've still got this unique URL here.
All I do now is click confirm and that is done.
So now, whenever somebody hits this page,
we're tracking the Facebook pixel event called a lead.
And so we can track that inside our Facebook ad manager,
and see how many leads
we're generating from our Facebook ads, okay?
It's simple as that.
If I actually refresh this page now,
we can actually see pixel is working and down here,
we've actually got the lead event.
So we've got lead, and it says the setup method
is our event set up tool, okay?
So we know that it's actually working as well.
Okay, so now let's say we're going to track a purchase.
So you wanna track a Facebook pixel event
whenever somebody purchases a product from your website.
This is how you would do that step.
So what you would do is go to the thank you page
that they see after purchasing.
So I set up a quick example here,
welcome example is my URL, so I go to that page.
And again, this is not a real one,
this is just an example that I set up for this.
So welcome-example.
Now, as you can see, the window has disappeared on me here.
So I just need to go back to Facebook, click disconnect,
and I'm just going to type it in again,
sometimes that happens and just click open website again.
Then it pops up events on this page
and it's going to show me no events.
So I'm going to click track a URL again.
URL contains, and I'm going to take the HTTPS off the front.
And what I'm going to do then is simply click purchase.
And now here I can do two different things,
I've got a couple of options.
I can choose a value on page,
and then I can find a value from somewhere on the page
if I want to.
I can use a value from initiate checkout,
if I've set up the initiate checkout value,
or I can click don't include a value.
So in this case, I'm going to click don't include a value,
it depends on your technical setup.
So you can click choose a value on page
if the value appears somewhere on the page.
So let's say you have a checkout and on the thank you page,
it's got thanks for your purchase.
Details, here's your invoice, blah, blah, blah,
and the total amount is x.
Well, then you can just grab that from the page
by selecting that.
So let's say, the 2020, how was it?
I could just click that and that would select it for me,
and that would automatically
push that value back to Facebook.
Likewise if I had the initiate checkout set up,
which I would do as part of my set up,
I would go to my checkout page, have the pixel there,
have the initiate checkout setup as well.
And then that would bring the value across.
But in this case, I'm just gonna click
don't include a value,
and the currency being AUD is correct for me.
Click confirm, and now I've got the purchase event.
So let's refresh this page
just so we can see exactly what that looks like, okay?
And now if I go to my Facebook pixel helper tool,
you can see I've got the purchase event
and it's all showing up there.
So what you need to do now
is go through and set up these Facebook pixel events
on all of your post opt-in
and post-purchase thank you pages,
do it on your checkout page.
And you can actually see in those dropdown boxes
that show up when you're doing that set up,
you can see other events there
that might give you some ideas on what you need to set up.
So there's the add to cart event,
like I said, initiate checkout,
and there are a bunch of others there that you may need
depending on your business and how your sales funnels work.
All right, I hope this video has helped you.
If you enjoyed it, please remember, just give it a like,
that really does help the channel, helps me out a ton.
And if you wanna get notified
whenever I release a new video,
or whenever I go live on YouTube,
make sure you can subscribe,
hit the little bell and those notifications will appear
whenever that happens.
All right, as always,
I appreciate you taking the time to watch,
I hope you enjoyed the video, and I'll see you next time.
Bye.
Manually change the,
and it's super quick and easy for you to do.
So what I would do from this.
Take two on that.
So what I would do, let's do that again.
All right.