Today, we want to know how many people who clicked on our ad actually ended up converting and becoming a lead. So that means that we need to do a little bit of coding, but not really. It's very, very simple at the end of the day, and I'll show you exactly how to do that and why it's important. So, so this is the main, I guess, page when you're in your ads manager. And what you will want to do is click here and go to pixels. So once you are here, then you're going to be prompted to create a pixel.
So go ahead and do that. Mine will be called demo ad accounts pixel. You don't have to include a website. So just go ahead. Take a couple of seconds and then we're going to want to manually install it myself. Because we have the power to, and then we're going to copy this block of code, right.
So this block of code essentially fires every single time someone lands on a page for our Click Funnels funnel. So, copy this block of code, go to Click Funnels. And what you're going to do is you're going to go to edit the page for each step. And then you're going to go here, settings, tracking code, and then you're going to paste this block of code, right? So you don't have to worry about anything, anything here. But you just need to know that by putting this block of code, you are now tracking it, so that you now know that every time when someone clicks your ad, how many of them actually reach this page, right?
The reason it's important is because a lot of people who actually click on an ad actually don't end up waiting for that page to load and just bounce rate. So that's something you should know. And then the only thing you should add here is that you would, I would create a new line and then do FAQ. So just copy exactly the line above. So I would actually just copy and paste this. So copy, paste, and then just change this to view content.
So view content is a specific event within the default events that that Facebook gives you. So I'm gonna close this, and then save it. So once you copy this, right, so if you continue, actually, it'll show it'll show you what I'm referring to. So you want to add the events that you'd like to track, right? So for us, it was view content, right? But there are a whole bunch of other events that you could also track if your funnel is actually a little bit more complicated.
So for us because it's typically a two step funnel, where the lead generation businesses Typically the landing page, right the page that you first start off want to click the ad. And the second page would be the thank you page, which is the lead page. So going back to this, right, so we would exit. Now, we've already put our facebook pixel on the opt in page now we put need to put it on the thank you page. So you would go again to the Edit page, settings, tracking code, and then paste that again, supply instead this time of instead of using view content, we want to use lead, right? And then close it and then say so as a quick recap, we added the pixel in two places the opt in page and the thank you page and the opt in page.
It was just view content. That was the name of the of the event. And then thank you page, it was just lead. That was the name of the event. And again, the reason this is really important is so that when you are optimizing your ads, then you know which of the ads that you ran actually lead to an event and lead to a lead being generated. Right?
So for example, if you are testing different images, right, if you had an image of a dog versus and you want to see if it was effective versus an image of, I don't know, a group of people smiling, right, then you will, you'll be able to kind of look at the data and see which one actually performed better. And again, I'm going to show you examples of that later on in the next video.