Add utm query parameters to docs links in module.calls
and module.providers
#911
Labels
enhancement
New feature or request
module.calls
and module.providers
#911
Background
We are already able to tell how many visitors of the Terraform Registry came there through the language server thanks to the "utm" query parameters in URLs, for example:
utm_content=documentLink
utm_medium=Visual+Studio+Code
utm_source=terraform-ls
This includes provider docs
and recently merged module docs
We do not however use these params in URLs exposed for the module or provider views, which means we're unable to measure usage/impact of these:
Proposal
Add appropriate UTM params to URLs exposed via
module.calls
ormodule.providers
commands:terraform-ls/internal/langserver/handlers/command/module_providers.go
Lines 73 to 79 in 31b8b0b
terraform-ls/internal/langserver/handlers/command/module_calls.go
Lines 127 to 134 in 31b8b0b
e.g.
utm_content=command/module.providers
utm_medium=Visual+Studio+Code
utm_source=terraform-ls
The text was updated successfully, but these errors were encountered: