You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Universal Analytics event information is structured as follows: <value> ... A non-negative integer that will appear as the vent value.
I'm not aware that this is a restriction for GA4. In fact, you can see the search-result URL from the realtime event reports page as the value of the value attribute. For this example, I searched for "install" and clicked on the "Local Install via Homebrew" search result:
Also, by using the tagassistant, you can see that the search-result URL is available as ep.value of a click event:
For a search-result click event, it would be better to use link_url rather than value to hold the search-result URL. Let me make that change first. Note that even with that change, I haven't been able to generate reports containing that URL, despite adding custom metrics. (Maybe it's just because custom reports don't have access to realtime data, so I'll try again tomorrow.)
Tasks
link_url
as parameter key instead ofvalue
; for details about click event parameters see [GA4] Analytics dimensions and metrics > Analytics dimensions > Links - Uselink_url
in Lunr search-result click events, only in production #1571outbound
tofalse
while we're at it - Uselink_url
in Lunr search-result click events, only in production #1571Context
Originally posted by @harshit-gangal in #1519 (comment)
The statement you are referring to (https://developers.google.com/tag-platform/devguides/events#gtag.js_1) concerns UA:
I'm not aware that this is a restriction for GA4. In fact, you can see the search-result URL from the realtime event reports page as the value of the
value
attribute. For this example, I searched for "install" and clicked on the "Local Install via Homebrew" search result:Also, by using the tagassistant, you can see that the search-result URL is available as
ep.value
of aclick
event:That being said, it will be difficult to use GA4 reports to view the URL. Let me investigate this further.
The text was updated successfully, but these errors were encountered: