1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Tracking Goals

Discussion in 'XenForo Questions and Support' started by akia, Jun 6, 2012.

  1. akia

    akia Well-Known Member

    I want to set up tracking goals with my stats to track registrations and premium member upgrades.

    Its seems quite simple to do just by adding a snippet of JavaScript in the template.

    But which templetes would I need to add it to track completed registations and upgrades?

    Alternativly I can do it by url.
  2. akia

    akia Well-Known Member

    I've been looking through my templates.

    and for the registration it looks like adding the code to the register_confirm temple in this bit:

    <div class="systemMessage">
        <xen:if is="{$user.user_state} == 'moderated'">
            {xen:phrase your_email_has_been_confirmed_registration_must_be_approved}
        <xen:elseif is="{$oldUserState} == 'email_confirm_edit'" />
            {xen:phrase your_email_has_been_confirmed_and_your_account_is_now_fully_active_again}
        <xen:else />
            {xen:phrase your_email_has_been_confirmed_and_your_registration_is_now_complete}
    and for upgrades add the code in the account_upgrade_purchase template.

    is that right?
  3. akia

    akia Well-Known Member


Share This Page