[Music]
hey my name is cedric and in this video
i will show you how to send event to the
facebook pixel and what we'll be doing
together in this video is i'll show you
how to install the facebook pixel on one
of our landing page and then i'll show
you how you can send an event like a
lead event to the facebook pixel so
anyways let me share my screen and i'll
show you how to do it alright so i am
now in advanced manager and you can
navigate there by clicking the hamburger
menu and then clicking on advanced
manager now you're gonna see that
there's a button here that says add
events so once you click it you're gonna
see that there's three options so we're
gonna be clicking the second option
today and what we're gonna be doing is
adding the facebook pixel to my
wordpress website because that's what
i'm using in this example but i'm going
to show you how you would connect it to
a different platform and then after that
we're going to be sending those custom
events but i just want to say that there
is a lot of different methods and ways
to send data to the facebook pixel we're
gonna be covering one method in this
video that i would say is probably a
little bit more beginner friendly
meaning that you don't need to know how
to code and you don't need to rely on
any sort of other third-party software
like google tag manager so it will be
really biger friendly but potentially
also limited into what you can
potentially send so i just wanted to
mention that but with that being said
now let me show you how you would add
that to your website so i click this
option and we're actually going to be
using the partner integration
and now here you go there is a long list
of different partners that facebook
integrates with as i mentioned i'm using
wordpress so i'm going to be clicking on
the wordpress option
now it is telling me that i need to add
a specific plugin called facebook for
wordpress so i'm gonna go to my
wordpress website and i'm under the
plugin section and i'm gonna click add
new
and i'm gonna type facebook
and perfect that's the one right here
install now
and activate
and we're going to go to the settings
and we're going to click the get started
button
now you're going to see something like
this so it pop up i'm gonna hit continue
and now that's where you're gonna need
to select the business manager the ad
account and then facebook pixel
so i'm gonna select the business manager
i'm gonna just select my demo ad account
and then my demo facebook pixel and let
me just make sure that the code matches
the one we have here
perfect so we're good to go now it's
just asking if we wanted to be doing
advanced matching in this demo we won't
be doing advanced matching and advanced
matching basically means that we are
sending some extra information with that
event so if you are able to send
something like the person's first name
last name email and phone number and you
are allowed and you have permission from
the user to send that information to
facebook then i would recommend that you
do enable advanced matching it's going
to allow facebook to when you receive
that event to match that within the
actual facebook ad account and then you
could potentially see some more results
when you're looking at your metrics in
ads manager but since this is a demo i
am not going to turn this on so i'm
going to leave this off and hit continue
and i'm going to hit next
and it's just linking it now
and perfect we're all done so now that
it says that it's connected what i
always like to do is just verify and see
if it's actually connected so what i'll
do is i'll go to the landing page and
i'll open it
and this is actually like i said a real
landing page that we ran and that was
actually for our valentine's day
campaign so we're giving out five of our
most useful facebook ads tool and the
way that i can see if the facebook pixel
is actually installed properly on the
website and it actually is firing for
something like a pageview event is by
actually using this chrome extension
right here so it is called a facebook
pixel helper and we can even leave the
link of this chrome extension in the
description of this video so you can go
ahead and download it but it's actually
really really helpful and it's one way
to see if your events are fine properly
so that is actually our pixel right here
so the demo pixel that's the one that i
just installed and it's currently
sending a page you event now
unfortunately with this setup that we
currently have it's only going to be
able to send page of event it's not
going to be able to send things like
let's say a lead event to facebook that
is actually something that we're going
to need to add so in order to add that
i'm going to go to advanced manager
and remember this button here we're
going to click it again and we're going
to click on from the pixel
and we're going to open up this setup
tool
just simply add my website url
and now this little tool will pop up and
it's actually pretty cool so it gives
you two different options you can either
create a trigger that when the trigger
is true that's what fires the event for
example an add-to-card event or a lead
event to facebook or you can use the
page url as a trigger so in this example
we're going to be using the track url as
a trigger and not the track the button
and the reason for that is because when
we build this landing page we're
actually using a hubspot form so when
you use something like a hotspot form or
an active campaign form usually these
forms are actually embedded form and
facebook and other tools like google tag
manager have a really hard time of
knowing what is a button and what is not
a button because they can't really read
the information on the page if you have
something like a custom html form or a
button that is actually made in html
it's not embedded then this feature here
should be able to see and detect that
button but just to show you if i click
it you're gonna see that the button we
can't see anything here with the button
but if we look at the logo the facebook
setup tool
understands that this is clickable and
when people actually click this it
actually brings them to my actual
homepage website and if we look at the
top here facebook knows that those are
all different buttons which it's not
really useful in this example because
the only reason i'm seeing this because
i'm logged into my wordpress website but
with that being said we won't be able to
use this specific setup in order to
trigger our lead event but if you are
able to do it that is a great way to
send an event to facebook so i'm going
to back out and we're going to do the
track url so what we're going to do is
i'm just going to fill up the form
and i'm going to show you a little bit
how i set up this landing page i'm going
to hit the submit button
so
notice that it's actually bringing us to
this page and it's actually not bringing
us to the page showing all the different
tools that they now have and the reason
for that is because when someone submits
the form they will actually receive an
email and they'll probably go to that
page pretty often so if we redirected
users directly to that page well we
would basically be sending lead event to
facebook every time someone goes in so
what we have to do is we have to kind of
create a page that is in the middle so
when someone submits the form it brings
them to this page and then what we did
is we actually if i
move this we actually said this okay
well if you want to open up your gifts
simply click the gift box and then when
they click that that actually takes them
to the page where they can access all
the resources and they'll also have that
link in the email that we've just sent
but again the reason why we set it up
this way is so that we don't send a lead
event every time someone wants to access
their resources so now this is what
we're going to be using as our trigger
right this page so let's let me actually
show you how to create that trigger so
we're going to click on tracker url and
now here we're going to need to select
the event so in my case this is actually
going to be a lead event let's say you
were doing this for your ecommerce store
right you could potentially track the
page url and when it maybe says thank
you or order received or something like
that then that would be what you're
using as your trigger and you would go
ahead and pick the purchase event but
again this in this example it is a lead
event now if we look here track the
entire url or portion of the url so we
have the option to either say equals or
contains let's actually just pick
contains and because i know that there's
only three pages and there's not a lot
of different urls we can actually say
that if the url contains happy
valentines well that means that someone
is on this specific page and
i want to be sending a lead event to
facebook so let's do that
great and if i bring this up a little
bit you're going to be able to see that
we can actually add a value to the lead
or to the purchase if you're doing that
for an e-commerce store and then you can
also add a currency now in this example
i'm not going to add anything but if you
wanted to that's where you would and i'm
going to hit confirm
and not perfect so we actually just
created a trigger and when someone lands
on a page on this specific website and
the url contains happy valentines well
that will actually send a lead event to
facebook so i'm going to hit finish
setup and hit finish again
and uh yeah let's say it was i'm really
happy
perfect so now it should be all set up
but whenever you make changes like that
to your tracking to your website or to
honestly anything you always want to
make sure and see if it's working
properly so that's exactly what we're
going to do so we're going to navigate
to test events and here there's actually
a little tool that we can use to see if
there are events are being sent properly
a little bit like the facebook pixel
helper but what we're going to do is
we're going to go here to the landing
page we're going to copy the url
and just paste it in and click on open
website
great so now on this page we're not
sending really any custom event but we
do have the facebook pixel installed so
we should receive a pageview event in
that little tool so let's actually see
perfect so we are receiving a page of
event now let's actually submit the form
and see if we receive a lead event
okay so we should see a lead event now
and perfect we are seeing a two page of
events right because we visited two
different pages and we are seeing a lead
event because when someone lands on that
page that contains the word or the
keyword happy valentines then that's
what triggers our lead event so to recap
what we did in this video we installed
the basic facebook pixel on the website
so that we can send events like page
view unfortunately i mean we were not
able to track button click as a way to
send the leads so like i mentioned i had
to create this uh special and unique
page in order to bring the user there as
soon as they submit the form but then
the user would be able to access the
resources when they open up the gift and
that is actually the page that they
would see when they uh submit the form
all right so there you have it this is
how you can set up your facebook custom
conversions without the help of any
tools just facebook but if you prefer to
do this via google tag manager you
should definitely check out this
tutorial right here where i'll show you
just that and if this video helped you
out in any way then we'd love for you to
hit that thumbs up button so we can
share this out to more and more people
now on behalf of cedric and myself
happy measuring