Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

app_key in Global Footer

Discussion in 'cPanel Developers' started by kualo, May 11, 2017.

  1. kualo

    kualo Member
    PartnerNOC

    Joined:
    Jun 2, 2002
    Messages:
    21
    Likes Received:
    2
    Trophy Points:
    303
    Hello,

    I am trying to find a way to determine which module a user is on in cPanel. Essentially we would like to send this to our staff portal so we can analyse this data. It will be collecting which users have accessed what features, how many times, and so forth.

    I was hoping that I might be able to do this by adding our javascript into the global footer in paper_lantern.

    To do so, I would like to know be able to access the [% app_key %] variable within the global header or global footer include.

    Is this possible to do somehow?

    We can work around this by analysing the URL in javascript but this is not ideal.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice