Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › events tracking method for Google analytics integration
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 6 months ago.
- AuthorPosts
- October 12, 2022 at 1:04 pm #39612
Good afternoon
We are looking at using the events tracking for Google analytics integration https://documentation.ajaxsearchpro.com/analytics-integration/events-tracking. We can see live events have appeared in google analytics but we are not seeing any data in the Site search overview. Should we be seeing this data?
Thanks
Attachments:
You must be logged in to view attached files.October 12, 2022 at 1:12 pm #39614Hi,
In this case no, as live searches are tracked as events. Site search is mostly used for pageviews, when a specific page type is visited via a query argument. Usually when users visit your search page (yourdomain.com/?s=..), then it is triggered. You may have to enable it on the google analytics admin page and add the “s” as the query parameter.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 12, 2022 at 3:34 pm #39617Hi thanks for responding so quickly
We dont have a dedicated search page as we are only using the drop down search results functionality. Is it not possible to record site searches if we only have the dropdown down results option?
We were going to try and look at the legacy option after reading https://documentation.ajaxsearchpro.com/analytics-integration/site-search-tracking. If that might work instead?
Thanks
October 12, 2022 at 5:13 pm #39624Yes – that should still work. It will trigger a page view as if the search results page was viewed, and after some time the data should be available in the site search dashboard.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.