1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How can I insert javascript redirect with Stat Counter tracking code?

Discussion in 'Programming' started by bbcrew, Jan 22, 2022.

  1. #1
    Hi

    How can I insert javascript redirect with Stat Counter tracking code?

    I put following javascript redirect in the same page with Stat Counter tracking code.

    But it seems Stat Counter can’t track any traffic.

    <script>window.location.href = "targeturl";</script>
    Code (markup):
    Thanks
     
    bbcrew, Jan 22, 2022 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #2
    Why are you using statCounter like it's 2002 instead of just gleaning the same information from your server logs with tools like analog or webalizer?
     
    deathshadow, Jan 25, 2022 IP