Viewing 15 replies - 31 through 45 (of 73 total)
  • Thread Starter mrppp

    (@mrppp)

    Yes Thank you

    Thread Starter mrppp

    (@mrppp)

    Ah well still get visits from numerous ips in numerous countries from semalt.com/ may have to ip block countries

    Plugin Author AITpro

    (@aitpro)

    What is “semalt.com”? is it the Referer or something else? In order to block something you need to know what to block. From the link you posted that person stated that the domain was the Referer.

    Plugin Author AITpro

    (@aitpro)

    What is captured or logged on your end that is the same – that is what you would want to block. Blocking by IP address is foolish.

    Thread Starter mrppp

    (@mrppp)

    Well that is the question.
    What / who are they
    https://www.google.co.uk/search?q=semalt.com&oq=semalt.com&aqs=chrome..69i57j69i59l2j5.6820j0j4&sourceid=chrome&espv=210&es_sm=93&ie=UTF-8#q=What+is+Semalt%3F

    In my stats i get semalt.com/competitors_review.php?u=https://mywebsiteurl

    So as yet i am unsure how it works and why so many ips from so many countries all visit with same Host Name/Web Page/Referrer

    Plugin Author AITpro

    (@aitpro)

    How are you getting your Stats? Within WordPress with a plugin or are you getting Stats from a 3rd party app or your Control Panel?

    Plugin Author AITpro

    (@aitpro)

    Where did you get that info? Where are your Stats?

    Thread Starter mrppp

    (@mrppp)

    https://www.berkshirepubguide.co.uk/semalt.jpg

    stats are from statcounter.com

    Plugin Author AITpro

    (@aitpro)

    LOL you cannot control something that is outside of your website. ??

    Thread Starter mrppp

    (@mrppp)

    no but if the stat code is in my website code then they must visit my site to enable the stats to register?
    something has to have visited the site right?

    that url with picture is not my sites url BTW

    Plugin Author AITpro

    (@aitpro)

    I have no idea what statcounter is or how it works. Explain how it works and then maybe you can create some php code to create a condition for statcounter. Since I have no idea how it works I will not attempt any guesses.

    Thread Starter mrppp

    (@mrppp)

    statcounter works like google analytics, you place the code on your site ( in this case a plugin for statcounter.
    It then tracks similar to google analytics

    Thread Starter mrppp

    (@mrppp)

    <!-- Start of StatCounter Code for Default Guide -->
    <script type="text/javascript">
    var sc_project=9083xxxxx;
    var sc_invisible=1;
    var sc_security="808dxxxxxx";
    var scJsHost = (("https:" == document.location.protocol) ?
    "https://secure." : "https://www.");
    document.write("<sc"+"ript type='text/javascript' src='" +
    scJsHost+
    "statcounter.com/counter/counter.js'></"+"script>");
    </script>
    <noscript><div class="statcounter"><a title="web analytics"
    href="https://statcounter.com/" target="_blank"><img
    class="statcounter"
    src="https://c.statcounter.com/xxxxxxxxxxxxx/"
    alt="web analytics"></a></div></noscript>
    <!-- End of StatCounter Code for Default Guide -->

    Odd thing is it only appears to be happening on my WP sites

    Plugin Author AITpro

    (@aitpro)

    Yep I just looked at the statcounter site and saw that. Logically if it works like Google Analytics and it looks like the same type of thing where a counter.js file is loaded on site load then that counter.js file captures the visitor. So even though the visitor never made it to your site’s php files and code that visitor is still captured by the counter.js file. That file is located on the statcounter.com domain and is loaded from your site, but you have no control over that js file since it is outside of your website.

    Plugin Author AITpro

    (@aitpro)

    With that said, you might be able to wrap that statcounter code in a condition.

    Example:

    if is not X
    load the counter.js file
    else
    die punk/redirect somewhere else/etc

Viewing 15 replies - 31 through 45 (of 73 total)
  • The topic ‘Advise’ is closed to new replies.