Forum Discussion

TessW's avatar
TessW
Contributor
10 years ago

Capturing user type in Omniture analytics

Hi there,

 

I would be so grateful if someone is able to help with this question... we want to be able to analyse our user type data using Omniture.

 

Does anyone know what is the JavaScript variable name/object that is storing the email id and the user type id on the page?

 

Many thanks,

 

 

3 Replies

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    10 years ago

    Hi TessW 

     

    You should refer to the LITHIUM.CommunityJsonObject which is present in the pages and should contain useful information for Omniture or other external web statistics / tracking systems.

     

    I believe our documentation team is collecting some useful tips around this object and what it contains, however in the meantime you can definitely look into it and see if it has what you need.

     

    Many Thanks,

  • irach15's avatar
    irach15
    Maven
    10 years ago

    SuzieH,

    do you have more info on this subject or point me to any code sample I can look at,

    how to get data if the user signed-in and definetely we need the user's email as well?...

    For example, how to get this data so Omniture/ Adobe DTM tracks it?...

    --------------------

    I've seen this piece of the code in another Lithium discussion:

    <#assign channel = "" />
    <#list page.content.nav.breadcrumb.crumbs?reverse as crumb>
    <#assign channel = channel + "${crumb.text?js_string}" />
    <#if crumb_has_next>
    <#assign channel = channel + "|" />
    <#if>
    </#list>
    s.pageName="${page.content.head.title?js_string}";
    s.pageType="${page.name?js_string}";
    s.channel = "${chanel?js_string}";
    s.prop7="<#if user.anonymous>FALSE<#else>TRUE</#if>";
    s.prop8="${user.id}";
    s.prop11="logged in";

    ------------------