Get hit count of a page or a dashboard (usage tracking)

hi, experts, I found that I can get the query count (using count(*)) from usage tracking.
but is it possible to get the hit count on a particular tab page or on a particular dashboard? not the query count on a page or a dashboard.
thank you very much!

Hi Nicolae,
I did some digging and I found a few things out.
Point 1) The OBIEE .dll files are what build up the HTML files based on their code and some "customizable" code in the XML files located in the messages folder of OBIEE (C:\OracleBI\web\msgdb\messages). I say "customizable" with quotes because although these files are editable, it is not supported by Oracle and any upgrade will overwrite your changes. That being said, we cannot change the code in the dll files, so our only other option is to play with the XML files and see if we can inject our script somewhere in their code.
Point 2) The absolute last message from an XML file is the message that wrote the div with id="idSelsPermissionsDlgDiv". I had to do some grep'ing but I located the file which generated the final DIV. It is the commonuitemplates.xml file line 161. The bad thing is that the particular WebMessage is called multiple times ( I think three times based on my tests) in the building of the HTML. So if you put the code here, it would show up three different times in your HTML. Not ideal :(
Point 3) The dashboardtemplates.xml document, line 410 is executed about four lines before the final body tag. This WebMessage is only executed once, so it is the closest you can get to the bottom of the page without having a duplicate entry. I recommend you paste the code from google right before the final html tag on line 410.
Hope this helps!
-Joe

Similar Messages

  • I accidentally moved my hit counter below the page, i cant get it back

    i dragged the hit counter down, and a song down below the page and now i cant scroll down to move it back. I need my hit counter back, and i need my annoying song gone. please help!

    How about making a new text box, filling it with a little typing garbage. Then with this text box selected, move it down and down until your missing items are visible.
    Before deleting them from their current positions, move them up high enough to get above the lowest point on your page before moving this text box down. Once up in the normal page area, then you can delete them and/or move to a normal spot. Once you delete your garbage text box, your footer margins will move back up to their higher location.

  • Hit counter on JSP page

    Hello java-ites,
    I want to create a counter on jsp page. How do I do it?
    Any help is appreciated.
    Many thanks.
    -Arun Chellapa.

    The way that I have used it as I have a myCounter.txt file that stores the last generated value and is stored.
    Make one JSP page with the sample code as
         long counter = 0 ;
         int stringLength = 0;
         String sessionId = null;
         String checkSessionId = null;
         String tempCounter = "";
         boolean flag = false;
         HttpSession hs = request.getSession(true);
         checkSessionId = (String)hs.getValue("sessionId");
         if(checkSessionId == null){
              sessionId = request.getSession().getId();
              hs.putValue("sessionId", sessionId);
              flag = true;
         checkSessionId = (String)hs.getValue("sessionId");
         if(flag) {
              counter = hitCounter.getNextCount();     
         else{
              counter = hitCounter.getCount();
         tempCounter = Long.toString(counter);
         stringLength = tempCounter.length();
         for(int count = 0 ; count < stringLength ; count++){
    %>
              <b><%=tempCounter.substring(count, count + 1)%></b>
    <%
    %>This JSP page can be included in your main JSP page
    Here is the Java class
    public class HitCounter{
         private long hitCounter;
        public HitCounter(){
              Runtime.getRuntime().addShutdownHook(new SaveCounter(this));
              try{
                   DataInputStream dis = new DataInputStream(new FileInputStream(NamedConstants.ERROR_FILE_PATH + "myCounter.txt"));
                   hitCounter = dis.readLong();
                   dis.close();
              }catch(EOFException ee){
                   saveIT();
              }catch(Exception e ){
                   System.out.println("Exception thrown " +e);
         public long getNextCount(){
               ++this.hitCounter;
               saveIT();
               return this.hitCounter;
         public long getCount (){
              return this.hitCounter;
         public void saveIT(){
              try{
                   DataOutputStream dos = new DataOutputStream(new FileOutputStream(NamedConstants.ERROR_FILE_PATH + "myCounter.txt"));
                   dos.writeLong(hitCounter);
                   dos.close();
              }catch(Exception e ) {
                   System.out.println("Exception thrown while saving "+e);
         protected void finalize(){
              saveIT();
    }

  • Hit Counter disappeared. How can I get it back?

    I've read numerous posts re Hit Counter, but none helpful to this:
    I publish only to MobileMe and have had no problem in the past. Problem is: today I removed lots of stuff I had added to my home page during the election campaigns. To remove them, I held down the Command key and dragged through lots of the stuff to select it, then hit Delete. I did not drag through the Hit Counter, nor the Apple logo, yet both of those disappeared too. Looking at the iWeb dropdown menu for adding these items, I saw that there was still a checkmark by the Hit Counter, but not by the Apple logo. So I clicked to check the logo, and it came back on the page no problem.
    But the Hit Counter, already still checked, was nowhere to be found. I increased my footer enormously, and searched in that space... not there. Nowhere.
    Next I unchecked and then rechecked the Hit Counter item in the menu. That didn't do it.
    I hate to uncheck it and then publish, and then check it again and republish. That might work, but I'd lose my count perhaps.
    How can I get back, or simply FIND, the Hit Counter on my page? The check mark says it's there, but I can't find it anywhere, have looked under lots of things on the page... nowhere!
    Thanks, anybody who's got a clue.

    Here's the solution:
    It occurred to me to vastly increase (temporarily) the vertical size of my page. (Remember, doing this with the footer hadn't helped.) When I increased the page size to a whopping 4000, there was the counter AND the original Apple Logo. I moved them into place, then put the vertical page size back to something reasonable. The count was retained.
    Thank you, self! (Sorry this didn't occur to me before posting, but since I have seen nothing of this advice in the discussion already, perhaps this will be helpful to someone else with the same problem.)
    I'll send Apple some feedback and hope they consider adding a line or two to the iWeb Help in it's discussion of the Hit Counter, given that so many of us have encountered problems.

  • .Mac front page hit counts list

    Using iWeb with .Mac, I get hit counts only for the top 5 pages in my .Mac front page status column. I assume that's a standard and have found no settings to permit me to change this.
    Is this it? Can we only monitor the counts for our top 5 pages without having to actually visit (and influence the counts of) the other pages?
    If I'm missing something, I'd be grateful for a friendly hint on how to passively observe the hit totals on all marked pages. If this is just the nature of the beast, chalk it up as another straw in the growing pile under the sign labeled "frustrating shortcomings."

    That's the way it's been since the Homepage days too. I'm not aware of any other way to show the "hits" for more than just the top 5.

  • 2nd Hit Counter on Site not showing up on different page

    I am so close to being done with my Illustration website- 11 pages and only one last bug I can't figure out. I have a second Welcome page that I have hidden and not yet posted. I have no idea where the the hit counter is on the page, it is checked off as there- it doesn't load online or visible on iWeb, yet Insert/button has it as there. I have another hit counter on the site that works fine. I have saved, relaunched, no hit counter on this page. Deleted it, tried again and no luck.
    Here is the site:
    http://web.mac.com/yvette
    The page that I am working on but is not in the menu:
    http://web.mac.com/yvette/iWeb/Site%204/Welcome.html
    The hyperlink works fine but no hit counter.
    Thanks-
    Y

    no hit counter on this page
    The hit counter is in the footer area, but you set the page content height too short, set content height longer or move hit counter out of the footer and into body area.
    One other little issue- On my Menu, the "Fantasy" link doesn't let you use the Fanatsy section at the top of the page. It is one of 11 pages, all connect fine, this one is at the upper most right top
    I think it is block by this image: http://web.mac.com/yvette/iWeb/Site%204/Menufiles/shapeimage9.png
    You need to send it backward.

  • The hit counter button does not show up after publishing page.

    I insert the hit counter button to a new blog post and when I publish, the button does not show up.
    I would really like to use the counter as this is a blog for a class I am teaching, and I would like to track
    student viewing.
    Also, sometimes the colors do not publish properly, specifically with links/rollover feature.
    Help!
    And thanks in advance for all you who know wayyy more than I do!  I hope to return
    the favor someday.

    First, thanks for the quick response Roddy.
    Once I posted the question, similar topics came up and what
    I did was remove the hit counter, publish the page without the hit counter. 
    Then inserted the hit counter again and wah-lah!
    Thanks for your reply, this information is correct and helpful as well.
    Very appreciative!

  • Simple tip: fading hit counter

    Although I wanted hit counters on some of my iWeb pages, I didn't want them to be so . . . blah, so bold, so obvious. Two wee little tips:
    1. To have a hit counter on the page but invisible to guests, simply place a shape object on top of it, matched to the color of the background. It'll be there but nobody will be able to see it.
    2. To have your hit counter appear faded or dim, place a shape object on top of it, matched to the color of the background, and set the shape object's translucency to <100% to achieve the desired effect.
    Now nobody can say I never contributed anything to the forum.

    That's a good trick. Thanks for the tip. When you get tired of hiding the Apple counter, you should take a look at Statcounter.com. You can configure this counter to blend in or complement the colors of your page, change the font or the number of digits, and change the size. You can even make the StatCounter counter completely invisible but functional. And you can set it to not count your own visits to your website. Best of all, all of your counters can be tracked easily via a StatCounter Dashboard widget! No more checking the .Mac Homepage just for your hits...just hit F12.

  • Hit Counter in iweb 08 homepage

    How can I get hit counts to show up in mypages? This feature stopped working when I upgraded to 08. I want to see my hits without visitors seeing them.
    Thanks,
    sonny

    You could look at Google Analytics although this may be more than you want....
    http://www.google.com/analytics/#utmmedium=et&utm_source=us-en-et-bizsol-0-noauth-all&utmcampaign=en

  • Hit counter on .Mac

    I've found that since upgrading to iWeb '08 the hit counter under My Pages on my .Mac home page is no longer there. It worked fine while I was working with iWeb '06. Everything else appears to be in order. The hit counter is working on the web page itself. Anyone with similar experiences?

    I am having a similar issue: hit counter worked for a while but today it no longer appears in published folders/internet. Could there be a corrupt file(i.e .plst)?

  • Hit Counter on iWeb

    Is there any way to track hits on my site without putting that ugly hit counter on my page? - A way that only I can see and no one else?

    There are many ways to hide .mac hit counter, see this thread:
    http://discussions.apple.com/thread.jspa?threadID=1423294&tstart=25
    and here is javascript way, just add the following to your page using HTML Snippet:
    <script type='text/javascript'>
        parent.document.getElementById('CounterDiv').style.visibility = 'hidden';
    </script>

  • How can i get my imac proceed to home page from restarting endlessly?  it will start then start booting then chime then bck to step one, not even hitting the start up page.... plssss help!

    how can i get my imac proceed to home page from restarting endlessly?  it will start then start booting then chime then bck to step one, not even hitting the start up page.... plssss help!

    Hi
    My Powerbook was the same. Only fix is to reinstall OSX from the install CD but be sure not to pick the Format and install clean. Once you boot with the install CD pick the preserve user data and settings.
    On My machine the reinstall looked perfect. My network, email, files and all the programmes were all there. Most apps worked fine but Adobe CS2, Virtual PC and NetBarrier all needed reinastallation as they reported a few files or registration was missing. I went for the 10.4.3 upgrade again and it worked fine.
    Good luck
    D

  • How do you get word count to print at the end of a document in Pages?

    How do you get word count to print at the end of a document in Pages?

    Pages v5 does not provide a user assignable word count variable. With some AppleScript, and a paste operation from the clipboard, you can have locale punctuated word count in this format: 7,803 — anywhere in your document. The following AppleScript works with Pages '09 v4.3 through Pages v5.5.2 on Yosemite.
    I would suggest that you copy paste the following AppleScript into your [Apple] Script Editor and save it (suggestion) wordcnt.applescript. Then, follow this with an option+Save As… and this time set the File format to Script Bundle, or Application with hidden extension — saved to your Desktop. Provided you have a Pages document open, you are then a double-click from the ability to paste your current word count into Pages.
    Note: If you have Pages word count display enabled, it will automatically count your pasted value as another word which initially may deceive on true word count at the time the script was run.
    AppleScript
    --- copy below this line ---
    property locale : "en_US.UTF-8" -- In Terminal, use the locale command to see yours
    if not ApplicationIsRunning("Pages") then
         display dialog "Pages must be running to use this utility."
         return quit
    end if
    tell application "Pages"
        tell body text of front document
            set wordCnt to count words
            -- Don't want punctuated numbers? Remove the single quote from printf format
            set the clipboard to (do shell script "export LC_ALL=" & locale & "; printf \"%'d\" " & wordCnt)
        end tell
    end tell
    on ApplicationIsRunning(appName)
         tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
         return appNameIsRunning
    end ApplicationIsRunning

  • How do i get a hit counter on my site

    Hi everyone
    Im looking for a we hit counter for my site, but it seems
    like its abit more complecated than i want it to be, or am i
    getting it wrong?
    I have looked on the dreamweaver exchange, i dowloaded one
    called 'visit counter v.1.0' by felixone, and it says its on the
    server behaviours panel under the 'felixone' menu, but i cant find
    the server behaviours panel.
    Can anyone help? or does anyone have a good link to an easy
    to use one?
    Thanks

    You realise that 'hit counters' are pretty old hat and look a
    bit amateurish
    on a site these days :-)
    Check with your host, they may have a stats program that you
    can view to
    check out what hits and other information you can gather by
    the visitors to
    your site.
    If you really want a hit counter, you may be ble to find
    something at
    www.hotscripts.com
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    ~ Forum Posting Guidelines ~
    http://www.adobe.com/support/forums/guidelines.html
    CSS Tutorials for Dreamweaver:
    http://www.adobe.com/devnet/dreamweaver/css.html
    > Hi everyone
    >
    > Im looking for a we hit counter for my site, but it
    seems like its abit
    > more
    > complecated than i want it to be, or am i getting it
    wrong?
    >
    > I have looked on the dreamweaver exchange, i dowloaded
    one called 'visit
    > counter v.1.0' by felixone, and it says its on the
    server behaviours panel
    > under the 'felixone' menu, but i cant find the server
    behaviours panel.
    >
    > Can anyone help? or does anyone have a good link to an
    easy to use one?
    >
    > Thanks
    >

  • How can I get a word count in iCloud Pages Beta?

    Apparently there is no way to get a document word count in iCloud Pages Beta.  Has anyone figured out a work around for this?

    View menu > Show Word Count.
    A floating panel will appear at the bottom of your document. Pass your mouse over the right-side of this floating panel and you will see up/down arrows. Click. Choose Word count from the list of available counts. The floating panel now displays word count, until you change it again. You can also move this floating panel with a command+click+drag, in case you want it below your footer content.
    You might want to download the free WordService service solution from the OS X App Store. I provides you with many additional features (e.g. Sort Ascending, Document Statistics, etc.) The act of downloading this application will install, but not activate several services. You activate what you want in:
    System Preferences > Keyboard > Shortcuts > Services : WordService:servicename.
    The WordService application will be in your LaunchPad (on your left Dock). Run it and choose Help. This will launch the Preview PDF viewer and a document showing all the Services available, and their description. Services in OS X act on selected document content. If you want more detail on the number of words, characters, and spaces in a selected paragraph, you would use Pages > Services > WordService:Statistics.

Maybe you are looking for