• Resolved Ov3rfly

    (@ov3rfly)


    Searches manually entered directly in URL bar of browser like https://example.com/?s=searchterm are not tracked.

    WordPress displays search results as usual, but searchterm does not end up in Search Meter dashboard.

    If the WordPress searchform on same site is used, the search URL is exactly the same as above but the searchterm now is tracked in Search Meter.

    The only difference between these two scenarios is an existing HTTP request header “Referer” in second case.

    Seems the plugin does not get called if the “Referer” is missing. :-/

    Search Meter 2.13.2

Viewing 1 replies (of 1 total)
  • Thread Starter Ov3rfly

    (@ov3rfly)

    Looking at plugin sourcecode shows that the above is actually intended behaviour.

    
    && (tguy_sm_array_value($_SERVER, 'HTTP_REFERER')) // proper referrer (otherwise could be search engine, cache...)
    

    We have added an option to bypass this check now for our purposes.

    Thanks for the great plugin.

    PS. Maybe you can add that behaviour to FAQ.

Viewing 1 replies (of 1 total)
  • The topic ‘Direct searches via GET /?s=searchterm are not tracked’ is closed to new replies.