Articles on: Link Tracking & Events

How to Setup Events

00:00 In this video, we're going to take a look at events. Events are super useful when it comes to tracking what's going on and building out some reporting funnels. Let's have a quick look at how to set up some events. In this example, what we want to do is, let's say we're going to track an action. Under Step 1, you'll click on "Action," and then you'll choose which action. In this case, you see this is where you can, like for example if you don't have a payment processor connected, you can monitor purchases, cancels, refunds, etc. In this one, you see we have the option of did they play a video, did they sign up, did they submit a form, did they download a PDF? Anything like that, you can set up.

00:42 In this case, we're going to say, did they click? Okay? Then you write a quick description, and we're just going to click Step 3, "Create code." Now, the first thing to note is that you can switch between JavaScript and pixel code. Okay? The pixel code is where you basically put it wherever you want the event to fire. What that means is that on that page, it's going to fire. When this pixel fires, the event will fire, but because we want to do a specific action, we're going to use the JavaScript code, so the first thing we're going to do is, this is our project code, okay, for this project, so this is always going to be the same. As you can see here, this is for the one, so if I already have this in the head section on my site on my pages, I don't need to put it again. If I don't, then I'll want to add that again.

01:31 We're going to go over to the blog, and I've installed the plugin Insert Headers and Footers. Now, if you know what you're doing, you can just add it in the, you can edit it yourself in the customization, but in this instance, I'm just going to use a plugin, and I'm going to put it in the header as per the instructions. Once I've pasted that in there, I'm just going to click [inaudible 00:01:55]. In the second part of the code, we want to copy, and this time we're going to use onClick. Okay? For this link here, when they click "give us a try here," so we're going to just put onClick. Then we save that [inaudible 00:02:21] post.

02:25 Okay, so here's where things get interesting. We've now set up the project code on the pages in the header, and we've added a link click to the blog post that we want to track. The way the events track is, it tracks on any clicks that come through your tracking links, so the next thing we'd want to do is, we want to create a tracking link that points to that blog post, so I'm just going to get the blog post here. I'm going to copy the URL. I'll just click "Create new link," and we're just going to choose, so this is a PLY Blog link. Okay? This is the target page, and then go to step two. Then we can choose if we want to add UTM tracking parameters as well, and also what traffic sources we're going to use. If we want to, for example, promote this in Facebook Ads, we'd select those, and you'd use it as set structures that it's the same for all of them. Okay? Then you can choose to create social links as well and click "Submit." Now, we have a tracking link that we can use. Let's go and let's copy this, and let's paste it into a new window. Because we've come over a tracking link, so it's also added the UTM parameters as well for our Google tracking, which I can see at the top. Because we came over a blog post, I'm going to scroll down here. Okay. "Give us a try." Now, we've clicked the link. When we go back over here, let's go to Events. It's here. Click the link. Right?

04:02 It was last fired now at this time, so we can view that. Then what we can do is set up a funnel for this, all right, so let's see the stats here. What we do, obviously on my profile, but it's, I clicked, it's under Contacts, under History, I'll be able to see that that event was fired. I clicked this link, so you'll be able to see that breakdown on all your contacts, but then the other thing is, we can go for, you see here under Reports and Funnels, if you go here, we'll then be able to create a quick funnel, so we'll go "New funnel."

04:40 Then what we want to do is, we're going to say, "Okay. Visit the tracking link," and then we're going to choose the one that we set up, which was this one here, "Blog Post Clean Email List." Okay? Then we'll choose the sublink, so it was this one that we used to send to our list mailer. This is the one that we sent our solo mailing with, let's say. Then we click "Add a Step." In the second step is visited that link, so "Event has been Fired." Okay? The event has been fired. Then we're going to choose our event. It was this one. Click the call to action on the JotForm post. You can add multiple events, but we're just going to add that one and click "Save funnel," and then, "View funnel stats."

05:22 Here, we see that one event was fired, and we can go down, and we can see, again, who visited it from which referrer and when it was triggered. As you can see here, you can come through, and you can actually change these. Remember we set up the traffic source as email before, so when I select that, it's going to show email, and so you can go through in your links. Let's go back. You see here, and you can just click "New traffic link," and you can change the traffic source, traffic type, medium, and ad identifier.

05:57 You can create new ones, and then, so let's say that you're running different Facebook Ads. You use a different one for the Facebook Ads, so these would be different, so that would say "Facebook." That would be whatever type and wherever. Let's say, like sort of the way I do it is, I say Facebook, and then I say paid, social, and then wherever I'm running it, and then the ad identifier code, so that I can know exactly which ad is producing which clicks and which conversions, etc.

06:27 Let's say that you're using different sources, like you might be using promotions on different blogs or different JV partners or things like that. You could give them unique links so that you can see their conversion stats, etc., and you can track any sort of event, so from a visitor who comes from one of the tracking links that you've created when they visit the site, even if they don't opt in or anything like that, we store the data on them.

06:51 Okay, so that was just a walkthrough on how you can go about setting up tracking links and events in your business. Pretty much whatever you can conceive, you can achieve with them. It's a full tracking solution.

Any additional questions, please submit a ticket, or click the live chat button

Updated on: 02/08/2019

Was this article helpful?

Share your feedback


Thank you!