In order to improve our funnel analysis on Hub flows, we would like to start tracking contract_repo_name and contract_repo_url as event properties in the following CLI events (including all variants of these):
build
deploy
push
The value is coming from the contract field which is storing balena.yml file. To give an example, here's the balenaSound's application contract: https://github.com/balenalabs/balena-sound/blob/master/balena.yml
We'd like to retrieve the field assets.repository.data.url with the value "https://github.com/balenalabs/balena-sound". Then we track the value as the event property named contract_repo_url. Additionally, we'd like track pathname of URL after domain name as a separate event property named contract_repo_name ("/balenalabs/balena-sound").
In order to improve our funnel analysis on Hub flows, we would like to start tracking
contract_repo_name
andcontract_repo_url
as event properties in the following CLI events (including all variants of these):The value is coming from the
contract
field which is storingbalena.yml
file. To give an example, here's the balenaSound's application contract: https://github.com/balenalabs/balena-sound/blob/master/balena.yml We'd like to retrieve the fieldassets.repository.data.url
with the value "https://github.com/balenalabs/balena-sound". Then we track the value as the event property namedcontract_repo_url
. Additionally, we'd like track pathname of URL after domain name as a separate event property namedcontract_repo_name
("/balenalabs/balena-sound").