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

Getting tracking code to work on page redirect

Discussion in 'General Scripting Chat' started by OrangeNRG, May 1, 2014.

  1. OrangeNRG

    OrangeNRG Regular Member

    Dec 10, 2012
    Likes Received:
    I'm trying to redirect a page while also getting my tracking code to register that someone has visited the same page. I've tried different ways of redirecting (PHP, javascript, HTML) and even switching things around so the tracking code comes before/after everything else. My code still isn't picking up any visitors. Any ideas? Here is my tracking code:

    <script src="//static.getclicky.com/js" type="text/javascript"></script>
    <script type="text/javascript">try{ clicky.init(111111111); }catch(e){}</script>
    <noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/111111111ns.gif" /></p></noscript>