![]() Next, we’ll look at the second section of this code. onBlur is an event handler that is called when a visitor clicks the mouse or enters a keystroke outside of this field. To install virtual page view tracking into a form field, we’ll include the parameter onBlur=. We’re going to start by looking at a basic form. Now let’s look specifically at how to set them up inside of a form and then tie that form to a conversion tracking funnel so we can see where we can improve. We know how to set ’em up and install them on our website. This parameter gives the virtual page view a name, and this will be the name of the page that is reported in your page view tracking report.Īll right, let’s do a quick recap. You will need to modify this section of the code. So, if you want to track the play button, simply paste this code into the event handler that controls the play button, and every time a user clicks the play button it will be registered as a page view in your Google Analytics account. Now all you have to do is copy and paste it into whatever event handler that you want to use to initiate the page view. Just like installing the main Google Analytics code, we’re going to take a predefined block of code and put it in each instance that we want to track. ![]() ![]() Now, let’s look at how to install them and set them up on your own website. Those are the basics of how virtual page views operate. However, we can track every instance of a user downloading a file as a page view with virtual page view tracking. With normal page view tracking, the act of a user downloading the file would go untracked. The normal steps to download would be for a visitor to come to the page and then click a link or a button that automatically starts downloading that file. Or suppose that you have a file download on your site. We can know how many times they’ve played, how many times they’ve paused, the changing of the volume button, and the duration of the time that they have watched the video. With virtual page views, we can change that. ![]() All it will tell you is that a visitor has seen the page. Normal page view tracking will tell you if a visitor has seen the page with the video, but it won’t tell you how many times the user has pressed the play button, the pause button, changed the volume, or how much of the video they have actually watched. Suppose that you have a video embedded on your website. So, let’s consider two examples to see what that looks like in real life. Virtual page views work exactly the same way, except with virtual page views you’re able to track anything that a user does on your site instead of just the fact that they visited the site at all. So, when you go to the back end of your Google Analytics reports, you can see how many visitors have come to your site. First, you install the big, nasty block of code at the bottom of every page on your site, and then anytime a visitor comes to your site, that block of code recognizes it and registers that person as being a visitor on your site. We all know how normal page view tracking works. So, let’s get going.įirst, let’s talk about virtual page views. First, I’ll introduce you to the concept of virtual page views, and then we’ll cover how to integrate these with conversion tracking funnels to give you greater insights into your site. Today, I’m going to show you a cool trick that allows you to track and analyze how your users interact with the forms that are embedded on your website. Last week, we talked about sales funnels.
0 Comments
Leave a Reply. |