Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Sacramento State implemented the following steps, which are revisions of the original documentation to work for their environment:

Info
iconfalse

Documentation was provided by Dan Biondi at Sacramento State University

Step 1: Add the following java class file

...

 

Code Block
titlenavigation.xsl
<xsl:for-each select="tabChannel">
    <li>
       <a onclick="_gaq.push(['_trackEvent', 'gaAcct','{@name}']);" href="{$BASE_ACTION_URL}?uP_root={@ID}&amp;uP_sparam=activeTab&amp;activeTab={$TAB_POSITION}"
         title="{@name}">  <!-- Navigation item link. -->
         <span><xsl:value-of select="@name"/></span>
       </a>
     </li>
 </xsl:for-each>

 

 

 

Info
iconfalse
titleAdditional References
 

...

iconfalse
titleHaving problems with these instructions?

...

Step 5: Rebuild uPortal

After adding all of your tracking code, you should rebuild and redeploy your portal.

Step 6: Restart Tomcat

It will take 24 hours for you tracking code to show up in the portal.


 

Info
titleInterested in Sharing your Implementation?

If you are interested in sharing your Institution's implementation of Google Analytics send a post through the mailing list at: