If you are serious about your website or blog, you should definitly
take the analytics part seriously. In this post I explain how to track
some events on your pages to help you improve the website. These
examples are targetting mostly Wordpress and Google Analytics users,
but most analytics tools should be able to perform these actions (if they don’t you should think about changing).
1. Site search
By tracking the searches on your website, you will know a little
more about what’s on your visitors’ mind. You can check if they found
some interesting results or if the information they were looking for
was missing. There is many ways to track this, here are two:
Track site search with a Wordpress plugin
If you have a Search box on your blog, Search Meter
automatically records what people are searching for and whether they
are finding what they are looking for. The plugin is great, but if you
already have many plugins on your website I wouldn’t recommend
installing one more. Get the plugin here
.
Track site search with Google Analytics
Tracking what people are searching on your website is fairly easy with Google Analytics, to do so you should go to your website profile
, then edit your Main Website profile information
. You can then add the query parameter
(usually “s” for Wordpress blogs).
2. Track your new RSS feed subscribers
If you want to get more feed subscribers, one good thing would be to
have data about which visitors are more likely to subscribe. Knowing
that helps you to chose how to focus your efforts to attract such
visitors. This technique is not perfect because only tracks clicks to
the feed, you can not be sure that people have subscribed. At least you
will know who shows interest for the subscription.
How to track your feed subscribers
To track your new subscribers, you should start by setting a goal in
Google Analytics, to do this you should go in your website’s Profile Settings
, then add a goal
and set it as in the following image. The goal url doesn’t have to be an existing one.
To set the goal in your template, you should then add the goal in
your WordPress theme. You can do so by adding this code (check the
Google Analytics help though, you may not be using the same version
than I do).
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="http://feeds2.feedburner.com/DailyDesignerNews
"
onclick="javascript:urchinTracker ('/rss/subscription');"
/>
3. Track document downloads
If you take the time and effort to create textures for download,
vectors or an e-book, why wouldn’t you want to know how many people
download it. To track these downloads, there is many solutions,
following are two.
Use the WordPress Download Monitor plugin
This is the solution I chose, it makes adding new tracked download
from a WordPress post very easy. The only missing capability to this
plugin is that it doesn’t track the referrer for the downloads. Get the plugin here
.
Track downloads with Google Analytics
Tracking downloads with Google Analytics works the same way as
tracking RSS subscribers. Just set a goal for tracking links and add it
to your file’s link like suggested in point number 2 above. For more
advanced users and better productivity, you may want to have a look at
how to automatically track file downloads in Google Analytics
.
4. Track your WordPress comments with Google Analytics
Again, you will have for that to create a goal in your website’s profile.
Then, in the comments.php file in your template, you’ll need to find
the submit button and to add the onclick javascript piece in it as
follows.
<input name="submit" type="submit" id="submit" tabindex="5"
value="<?php echo attribute_escape(__('Submit Comment')); ?>" onclick="javascript:urchinTracker ('/submit/comment');"
/>
分享到:
相关推荐
100 THINGS YOU SHOULD KNOW ABOUT FINANCIAL ACCOUNTINH WITH SAP
Things_You_Should_Know_About_11g_CBO
Things Every Programmer Should Know draws on the wisdom of crowds and the voices of experience to offer not so much a coordinated big picture as a crowdsourced mosaic of what every programmer should ...
97 Things Every Project Manager Should Know is a collection of wisdom from project managers, software developers, and a wide range of other occupation holders from all around the world who are ...
sap press doc 解压密码:abap_developer
sap press doc 解压密码:abap_developer
97 Things Every Software Architect Should Know
97 Things Every Programmer Should Know.doc
sap press doc 解压密码:abap_developer
sap press doc 解压密码:abap_developer
sap press doc 解压密码:abap_developer
Then you will build your first IoT application with Blynk using various hardware combinations and connectivity types such as Ethernet and Wi-Fi. Then you'll use and configure various widgets (control...
97 Things Every Project Manager Should Know.pdf
97 Things Every Programmer Should Know.epub Android Gradle 插件中文指南.epub AngularJS学习笔记(checkcheckzz).epub Everything curl.epub F# for Fun and Profit eBook.epub Gradle 实战.epub iOS的函数响应...
97 Things Every Software Architect Should Know.mobi
97_Things_Every_Programmer_Should_Know_英文.pdf
If you're a developer or electronics engineer who is curious about Internet of Things, then this is the book for you. With only a rudimentary understanding of electronics, Raspberry Pi, or similar ...
This book takes you back to those days when you were starting to program, and you wanted to make your code do things, draw things, and solve puzzles. It’s fun because it lets you explore and grow ...
Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do. Here are some of the things that you can do with Huginn: Track the weather and ...
The end of a letter should suggest the reader’s next move, or your own. Don’t write distracting closings like: “Again, thank you for . . .” or “If you have problems, please don’t hesitate to ...