Open MillenniumFalconMechanic opened 1 month ago
Hi @MillenniumFalconMechanic! I took a look through the existing bulk_download_requested
event, and I think it could be reused, but I found several issues that would need to be considered:
export_type
would need to be added, containing info about the tool being used (e.g. curl_command
, terra
, etc.) current_query
parameter contains the full JSON query, but frequently gets cut off due to GA4's character limits. This could be addressed by instead passing a parameter containing only the options selected on the export form (e.g. file format, species) and extracting the selected filter from the fullPageUrl
dimension, which is collected by default and has a much higher character limit, since the filter is included in the URL.index
field. It would probably make sense to create a new event to track backpage exportsindex
could be renamed to entity_name
, to match other eventstool_name
parameter, which has a value of either bash
or cmd.exe
, only makes sense for Curl downloads. It could be deprecated or passed a null value for other toolscatalog
parameter may not be useful since events are already tracked separately for different sites, and it may be worth deprecating.Let me know if you what you think about this, and I can make a findable ticket to add these changes and call the event on other existing events
build_download_requested
, file_manifest_requested
).current_query
.catalog
param.tool_name
optional?index
to entity_name
. Hi @jpaten, the corresponding PR has been merged and deployed to dev.
Thanks @MillenniumFalconMechanic!
@MillenniumFalconMechanic I'm so sorry, I realized I mistagged the corresponding PR #4201 , which should have been associated with #4181! This shouldn't require any action though, because this ticket does not require any code changes to the data-browser repo. The only code changes are in https://github.com/DataBiosphere/findable-ui/pull/224. Once that's reviewed, I'll go ahead and create a GTM version for this ticket, and comment it here. So sorry again for the confusion!
Hi @jpaten, Findable 14.0.0 has been deployed to dev. Can you continue with the configuration and testing against dev while we wait for the prod deploy?
Hi @MillenniumFalconMechanic! Yep, I can do that
Need
We need to track clicks on export buttons such as "Request Link" for export to Terra, and "Prepare Manifest" for file manifest.
Approach
Investigate reuse of curl download event.See comments below for approach.Definition of Done
Needs
Validation
curl Command
File Manifest
Export to Terra