New Visitor
This is an open discussion with 3 replies, filed under Extensions.
Search
Display a different message for new visitors. Message and threshold can be defined in the preferences for convenience. I don't have WordPress, but I think it works just like What Would Seth Godin Do.
Example 1
<xsl:if test="//new-visiter/@visits < //new-visiter/@threshold"> <p><xsl:value-of select="//new-visiter/message" /></p> </xsl:if>
Example 2
<xsl:if test="//new-visiter/@visits < '5'"> <p>Hi noob!</p> </xsl:if>
Real World
In use on my blog and blog entry pages.
Instructions
Download and install. Attach the event to the pages on which you want to track user visits.
Neat! :-)
How does this work? Does it log visitor in the database, track IPs or does it use a cookie? Just curious. I'd look at the code, but I'm a PHP n00b.
Does it log visitor in the database, track IPs or does it use a cookie?
It sets a cookie on the user's computer. Visits are not unique, so the visit count is increased on each page load (from the pages with the event attached).
Create an account or sign in to comment.
A new Extension, “New Visiter” is now available for download. Comments and feedback can be left here but if you discover any issues, please post it on the issue tracker.