StatCounter Code Help Request..?

6 replies
I can't for the life of me figure out how to implement my StatCounter code into my site... I've tried putting it into the footer and the header and the main index file and nothing seems to be working for me, I'm assuming I must be doing something wrong.

I'd also really rather not use a plugin for this, if it can be helped, which is why I'm trying to manually insert code... could anyone maybe give me a quick hand?

Thanks for your time!
#code #request #statcounter
  • Profile picture of the author gaylesheerin
    just use a common site statcounter code, copy them in your footer bottom, save and check. i have done this for several sites.
    {{ DiscussionBoard.errors[8416746].message }}
    • Profile picture of the author Brekat23
      I've tried... but I'm either doing something wrong, or it's just not possible because I haven't been successful yet, which led me here to ask for assistance.

      :rolleyes:
      Signature
      "The World of IM: Physically Easy - Mentally Challenging - Emotionally Intense."

      {{ DiscussionBoard.errors[8416791].message }}
      • Profile picture of the author rodvdka
        Originally Posted by Brekat23 View Post

        I've tried... but I'm either doing something wrong, or it's just not possible because I haven't been successful yet, which led me here to ask for assistance.

        :rolleyes:
        What Statcounter is it? Javascript? Can you load the javascript in the browser if you point to the address? Does it require a backend connection or PHP script in order to operate?
        {{ DiscussionBoard.errors[8417057].message }}
        • Profile picture of the author Brekat23
          What Statcounter is it? Javascript? Can you load the javascript in the browser if you point to the address? Does it require a backend connection or PHP script in order to operate?
          I'm not entirely sure what 'Statcounter' it is... I thought there was only one Statcounter, haha - I have a Statcounter code.. :confused:

          Javascript? I am trying to use the code that Statcounter gives me to insert into the raw html of my site, in particular the footer area.. but it's not working for me.

          It looks like this;

          Code:
          <!-- Start of StatCounter Code for Default Guide -->
          <script type="text/javascript">
          var sc_project=6975282; 
          var sc_invisible=1; 
          var sc_security="a7426561"; 
          </script>
          <script type="text/javascript"
          src="http://www.statcounter.com/counter/counter.js"></script>
          <noscript><div class="statcounter"><a title="free hit
          counter" href="http://statcounter.com/" target="_blank"><img
          class="statcounter"
          src="http://c.statcounter.com/6975282/0/a7426561/1/"
          alt="free hit counter"></a></div></noscript>
          <!-- End of StatCounter Code for Default Guide -->
          I'm still trying to work on it and figure it out haha... I'm determined but still very much at a loss.. :confused:

          Thanks for the replies so far!
          Signature
          "The World of IM: Physically Easy - Mentally Challenging - Emotionally Intense."

          {{ DiscussionBoard.errors[8417068].message }}
          • Profile picture of the author rodvdka
            Originally Posted by Brekat23 View Post

            I'm not entirely sure what 'Statcounter' it is... I thought there was only one Statcounter, haha - I have a Statcounter code.. :confused:

            Javascript? I am trying to use the code that Statcounter gives me to insert into the raw html of my site, in particular the footer area.. but it's not working for me.

            It looks like this;

            Code:
            <!-- Start of StatCounter Code for Default Guide -->
            <script type="text/javascript">
            var sc_project=6975282; 
            var sc_invisible=1; 
            var sc_security="a7426561"; 
            </script>
            <script type="text/javascript"
            src="http://www.statcounter.com/counter/counter.js"></script>
            <noscript><div class="statcounter"><a title="free hit
            counter" href="http://statcounter.com/" target="_blank"><img
            class="statcounter"
            src="http://c.statcounter.com/6975282/0/a7426561/1/"
            alt="free hit counter"></a></div></noscript>
            <!-- End of StatCounter Code for Default Guide -->
            I'm still trying to work on it and figure it out haha... I'm determined but still very much at a loss.. :confused:

            Thanks for the replies so far!
            It should work, are you using Chrome? If you are right click, go accross to Console, what does it say?
            {{ DiscussionBoard.errors[8417084].message }}
  • Profile picture of the author Brekat23
    I am using Chrome but I'm not sure I understand what you mean by right clicking and going across to Console (my apologies). Could you be a little more specific, I confuse easy hehe.

    Thanks!
    Signature
    "The World of IM: Physically Easy - Mentally Challenging - Emotionally Intense."

    {{ DiscussionBoard.errors[8417183].message }}

Trending Topics