b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Back-office Reference
  3. Analytics
  4. Goals
  5. Goals Explained

Goals Explained

Goals, in b2evolution, allow you to track hits on specific links and/or pages.

They are called "goals" because they serve a similar purpose as what is called "goals" in other analytics packages such as Google Analytics…

Tracking clicks on a link

For example, if in a blog post you link to http://www.wwf.org/ but you would actually want to know how many people click on this link, then set up a goal with a key of "wwf" and set the field Normal Redirection URL to http://www.wwf.org/.

Then, instead of linking to http://www.wwf.org/, link to http://yourblog.com/htsrv/track.php?key=wwf. When that URL is loaded, track.php will record the click and immediately redirect (302) to the destination URL specified in the Goal.

Developer Note: A JavaScript method to track clicks to external links is being developed and it will be explained here as soon as it is available.

Tracking hits on a page

You can also track hits on any page, please consider that "any page" means that you are able to track hits on pages that are not even necessarily on your own blog. Currently, there is only one available method that is actually a little trick. All you need to do is include an empty image in the page that you would like to track. In this case, the html tag should look like this:

<img src="http://yourblog.com/htsrv/track.php?key=yourkey" width="1" height="1" />

Remember to leave the Normal Redirection URL field empty when you define the goal at Goal Settings.

Developer Note: A feature to directly assign goals to the items inside the collection is being developed in order to avoid the "empty image" trick explained above, at least to track posts of the same site. As well as the "Tracking clicks on a link", a JavaScript method is also in development stage and will be explained here as soon as it is available.

Viewing results

As b2evolution starts recording hits on your goal, you will see that data appear under Goal Hits (simple view) and Goal Stats (more analytical view, useful when you start having multiple goals).

Created by fatimahnasra • Last edit by fplanque on 2020-06-09 00:16 • •

1 comment

Comment from: ingeniero

Is that usefull / recomended to control facebook or google adwords Advertising?

2018-07-02 @ 08:49

On this page

  • Tracking clicks on a link
  • Tracking hits on a page
  • Viewing results

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
    • Site
    • Collections
    • Files
    • Analytics
      • Why do I need Server Side Analytics (SSA)?
      • Hits Summary
      • Search B-hits
      • Referred B-hits
      • Direct B-hits
      • All Hits
      • Referring Domains
      • IPs
      • Goals
        • Goals Explained
        • Goal Settings
        • Goal Category Settings
        • Goal Hits
        • Goal Stats
      • Settings
      • Referer Types
    • Users
    • Messages
    • Emails
    • System
    • Working with Results Tables
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Blog software

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque