Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Google Analytics Event Tracking broken? › Reply To: Google Analytics Event Tracking broken?
October 20, 2022 at 10:13 am
#39730
Participant
Hi ernest,
Ok, that seems to be working I’m now seeing ASP events for ‘focus’ ‘end’ etc in the GA debug tool.
However, I’m now getting a type error in relation to the script snippet i inserted into the head that you recommended.
I have removed the snippet entirely and the events still seem to be working ok, I think the PYS plugin loads the GA scripts so were not needed to be set explicitly in this way.
Obviously, I’m not keen on blocking scripts, is there a workaround to have the events code work with the optimised setting?
Many thanks,
Jason