Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › GA4 event tag doesn't fire
This topic contains 9 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 2 months ago.
- AuthorPosts
- June 6, 2023 at 5:53 am #42948
We’ve followed the instructions to set up google tag manager but found that the ga4 event tag doesn’t fire at all.
Please let us know if you need access to our google tag manager.
Attachments:
You must be logged in to view attached files.June 6, 2023 at 8:54 am #42951Hi,
I tried to check the site front-end, but it’s password protected. .htpassword protection may actually prevent some google tag events from propagating – make sure to try without that too.
Best,
Let me know the username/pass and I will try to check the front for the event triggers.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 6, 2023 at 9:33 am #42955You cannot access this content.June 6, 2023 at 9:42 am #42956Thanks!
I don’t see the tracking ID specificly entered. Can you please do that here. In this case it might be required as gtag.js is not present.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 6, 2023 at 10:02 am #42961We use google tag manager and the container is installed. We’ve other event tags successfully fired. Attached is when it doesn’t fire in this case and does fire in another event.
Attachments:
You must be logged in to view attached files.June 6, 2023 at 12:08 pm #42964Okay, I have logged in to check, but the tracking ID was not entered. I have put the tracking ID here.
After saving I can see the dataLayer updating, and see the events now on the limited view on the tag manager too.
Clearing the browser cache should now propagate the changes to the GTM container.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 6, 2023 at 1:38 pm #42966You cannot access this content.June 6, 2023 at 2:35 pm #42970Can you please try switchin the script loading method to classic here, to make sure it’s not a conflict.
Best,
After clearing the cache that should very likely resolve the issue, that is the only difference I see in configuration from the front-end.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 7, 2023 at 5:30 am #42983Thanks a lot! It is now working.
By the way, in GA4 Enhanced measurement there is Search Term Query Parameter. Do they do anything in our case if we don’t have a separate result page?
I found that putting ?s=whatever after an url it’ll just put the word in the search input, with nothing happens
Attachments:
You must be logged in to view attached files.June 7, 2023 at 10:11 am #42999Great!
I don’t think so – that measurement triggers whenever a pageview is detected with those parameters present. The live search does not trigger pageviews (and it should not to avoid “fake” traffic) but events, so this feature has no effect.
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.