Manual implementation
To implement loging of clicks on any URL, simply prepend the URL in the HREF-attribute of the
A tag.
Example: /ego/left_top/http://mysite.com/link1
The prepended text /ego/left_top/ - consists of to parts:
- The logtype - ego - specifies what type of log this is (see Log Types)
- The category - left_top - specifies what category this is (see LinkPulse kategorisering av et nettsted)
You can use linkpulse to log clicks generated from FORMs, Javascripts etc. In order to do this, you must ensure that the URL sent to the user's browser contains the prepended part.
The manual implementation is the original method and have been used for many years without causing problems, apart from maintainance. It is still deployed on several lagre websites.