horizon_interest

horizon_interest(tag)

Returns a floating-point number representing the level of interest that the current user has in the tag, where 1 is the same level of interest as the average user on your site, 2 is twice as interested as the average user, and so on.

If you pass multiple tags separated by commas, the function will return the highest interest of any of the tags passed.

Example

{if horizon_interest('olympics,swimming') >= 2}
<p>You might be interested in our coverage of the Olympics swimming team.</p>
{/if}
 
/var/www/docs.sailthru.com/htdocs/data/pages/function/horizon_interest.txt · Last modified: 2010/08/03 10:51 by Neil Capel
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki