The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google analytics

Discussion in 'General Discussion' started by forkrul, Dec 26, 2007.

  1. forkrul

    forkrul Registered

    Joined:
    Dec 26, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I'm not familiar with the cPanel theme and script layouts.

    I would like to track my clients' usage of the cPanel and new training videos. Anyone included the tracker code in some generic skin or X3 even?

    Any help would be much appreciated.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Information about which links a user clicks on in the cPanel interface is generally logged to /usr/local/cpanel/logs/access_log
     
  3. forkrul

    forkrul Registered

    Joined:
    Dec 26, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    That's good to know.

    Would it however be possible to hack the Analytics' Urchin code into a toplevel cPanel script somewhere?

    Where can I find information on this?

    Thanks for your answer.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You would best place the code within a custom theme.

    You may also read the ToS for Google Analytics as I know Google tends to have stipulations in some of their usage agreements regarding passworded websites.
     
  5. forkrul

    forkrul Registered

    Joined:
    Dec 26, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    x3

    Hi

    Thanks for your replies.:D

    Is there a way to export x3? How are styles linked to a theme?:confused:
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    To have a separate copy of X3 you can work on, simply copy the contents of /usr/local/cpanel/base/frontend/x3 to another folder, perhaps something like /usr/local/cpanel/base/frontend/myx3.

    The X3 styles are part of the X3 theme. You can't use an X3 style with another theme (for example: X, X2 or any third party themes). Also, your customized X3 theme will use the styles you copied when making your copy of the X3 theme, not the styles of the cPanel-supplied X3 theme.

    However, looking at the capabilities of the branding editor a bit more closely, if you only desire to slap some extra code onto the pages - perhaps making a custom theme may be overkill.

    Login to the cPanel interface as a reseller and click on Branding Editor. Then click on Edit HTML Pages. You can then edit the HTML file that supplies the footer and add your code there.

    I recommend this route because this will ensure any updates we release to fix issues in X3 will propagate to your users (while keeping your customizations intact). Whereas if you make a copy of the theme, that theme is essentially frozen in time.
     
  7. forkrul

    forkrul Registered

    Joined:
    Dec 26, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    What I've been looking for

    Hi :eek:

    The new cPanel have seemed daunting in terms of new features and functionality but the branding editor is literally what I've been looking for. Thanks for pointing it out. Now I can stop fooling around in the themes section.

    :)
     
Loading...

Share This Page