Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Having difficulty using variable data in Google Analytics › Reply To: Having difficulty using variable data in Google Analytics
Hi Ernest,
Sorry to bother you again.
I’ve registered event_label as a custom dimension in GA4, and I’ve assigned the {phrase} variable to that in the configuration for Search End Event Tracking. I can now see a list of the search phrases used in a custom report that we’ve built in GA4, which is great.
In the same configuration for Search End Event Tracking I’ve assigned {results_count} to the event_value field. This data is not being captured in GA4 for the event, however. I can see from the guidance that {results_count} is not actually a usable value in Search End Event Tracking, and in fact it’s not listed as a usable value in any of the configurable events in ASP, as far as I can see, although it is listed in the documentation as a valid paramter.
I can’t quite figure out what I’m going wrong. Can you help please?
Regards, Phil