Support » Plugin: Ajax Search Lite » Google Analytics live search

  • Hi,

    The analytics function only seems to be working when the plugin is set to go to a ‘search page’ when a customer hits enter or clicks the search icon.

    I’d like to see what guests have typed in the search field. However I have set the action of enter and/or clicking the search icon to ‘no action’.

    Do you have some kind of real time save function for queries?

    If not, what would be your best suggestion?

    I have discussed this with Ernst, his answer was “Google tag manager I believe only works with the gtag.js, so that is probably the issue there. If you want us to take a closer look, you can open a support thread.”

    I hereby would like to ask you to take a closer look to be able to fix this issue. Thank you.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams



    I am not sure where exactly the issue is, but the google analytics tracker is not working for sure. I have tried to manually trigger a page view event via the console, with this command:

    ga(‘send’, ‘pageview’);

    It should trigger a remote request to, but it does nothing unfortunately. I could not find the implementation of the google analytics tracking code either. I suspect it is not correctly loaded to the site?

    Their script should look something like this:

      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      ga('create', 'UA-*****-*', 'auto');
      ga('send', 'pageview');

    But I could not find this or anything similar within the page source.

    The plugin seems to be working correctly, it executes the GA tracking function, but it does not seem to work correctly for some reason.

    Ernest M.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.