ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Use Reinvigorate NameTags with EE

October 17, 2007 8:11am

Subscribe [4]
  • #1 / Oct 17, 2007 8:11am

    Brian Bommarito

    11 posts

    For those of you lucky enough to be using Reinvigorate (reinvigorate.net) which is a new, free, tracking system like analytics, but prettier, this may be of help.

    Reinvigorate offers what they call Nametags. So, when you see the sessions that are going on on the site, you will see the actual user, not just a random string. Now, I putzed with this for a good couple of hours until I hit on the solution, which I will post here. The solution uses the if logged_in and if logged_out variables.

    {if logged_out}
        
        
            re_("xxxx");
        
    {/if}
    
    {if logged_in}
        
        
            var re_name_tag = "{username}";
            re_("xxxx");
        
    {/if}

    I embed this in the headers include so that it’s on every page. Also, replace the xxxx with your tracking code which you find on the reinvigorate control panel.

    Update: It ate the javascript, but you can get the idea.

  • #2 / Oct 30, 2007 5:23am

    oldgoldblack

    113 posts

    Never heard of Reinvigorate. Intriguing. Why exactly would we be lucky to be using it? Just a less annoying interface than Analytics? Faster? Better stats? I’ve wanted to dump Analytics ever since the new version came out, but so far seen nothing good enough to compel me to switch.

    Thanks for sharing the tip.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases