Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Accessing search events for use via GTM
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 1 month, 2 weeks ago.
- AuthorPosts
- February 5, 2023 at 11:43 pm #41233
Hi Ernest,
I understand from your documentation that I can’t use the built-in search events tracking if I use GTM to implement UA/GA4, but that’s a non-negotiable for our site so I can’t use the built-in tracking.
Do you have a list / a way for me to identify and hook into the events that would normally be tracked? I can’ dig through your code but I was hoping for a faster way to hook into the existing events.
I’m comfortable implementing event tracking in GTM, I’d just rather tap into what you already have in place, instead of reinventing the wheel.
Thanks,
Nikki
February 6, 2023 at 12:37 pm #41242Hi Nikki,
There is a javascript API documentation available, where you can find each event fired by the plugin, you can hook to them and execute code as you need.
We are currently testing an integration method for GTM, it is not too complicated, but we need to write a lot of documentation for it, as the actual connection for the custom event from the tag manager to google analytics via settings is more complicated as the actual code.
Best,
The code is ready, we only need the documentation.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 7, 2023 at 7:02 am #41251OK, that sounds promising. How long do you think before you are ready to send it live?
I’d rather use the work you’ve done, and I might be willing to wait, depending on the time frame.
February 7, 2023 at 10:33 am #41254I am hoping this weekend, mid next week (15th) worst case scenario. The update is very close to finish.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 14, 2023 at 12:16 am #41343Awesome, thanks. I look forward to it.
BTW thanks for all of your support across all of my questions. You’ve been most helpful.
February 14, 2023 at 10:52 am #41352You are very welcome 🙂 The update may be released only on the 16th instead of 15th. I managed to implement a predictive search suggestion feature, which I couldn’t solve for a long time. A bit more testing, and it is ready to release.
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.