Skip to content

Commit 9acf251

Browse files
authored
chore: add analytics url params to readme VSCODE-637 (#868)
1 parent 9d666ff commit 9acf251

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://github.com/mongodb-js/vscode/actions/workflows/test-and-build.yaml/badge.svg?branchName=main)](https://github.com/mongodb-js/vscode/actions/workflows/test-and-build.yaml)
44

5-
MongoDB for VS Code makes it easy to work with your data in MongoDB directly from your VS Code environment. MongoDB for VS Code is the perfect companion for [MongoDB Atlas](https://www.mongodb.com/cloud/atlas/register), but you can also use it with your self-managed MongoDB instances.
5+
MongoDB for VS Code makes it easy to work with your data in MongoDB directly from your VS Code environment. MongoDB for VS Code is the perfect companion for [MongoDB Atlas](https://www.mongodb.com/cloud/atlas/register?utm_source=vscode&utm_medium=product), but you can also use it with your self-managed MongoDB instances.
66

77
<p align="center">
88
<a title="Watch the MongoDB for VS Code demo video" href="https://mdb.link/vs-code-demo-video">
@@ -19,13 +19,13 @@ MongoDB for VS Code makes it easy to work with your data in MongoDB directly fro
1919
- Edit documents and save changes to the database
2020
- Get a quick overview of your schema and your indexes
2121

22-
Read more about this functionality in the [online documentation](https://www.mongodb.com/docs/mongodb-vscode/databases-collections/).
22+
Read more about this functionality in the [online documentation](https://www.mongodb.com/docs/mongodb-vscode/databases-collections/?utm_source=vscode&utm_medium=product).
2323

2424
![Explore data with MongoDB for VS Code](resources/screenshots/explore-data.png)
2525

2626
### MongoDB Playgrounds
2727

28-
[MongoDB Playgrounds](https://www.mongodb.com/docs/mongodb-vscode/playgrounds/) are the most convenient way to prototype and execute CRUD operations and other MongoDB commands directly inside VS Code.
28+
[MongoDB Playgrounds](https://www.mongodb.com/docs/mongodb-vscode/playgrounds/?utm_source=vscode&utm_medium=product) are the most convenient way to prototype and execute CRUD operations and other MongoDB commands directly inside VS Code.
2929

3030
- Prototype your queries, aggregations, and MongoDB commands with convenient syntax highlighting and intelligent autocomplete for MongoDB Shell API, BSON types, MongoDB Query API, system variables, and for database, collection, and field names.
3131
- Run your playgrounds and see the results instantly. Click the play button in the tab bar to see the output.
@@ -59,11 +59,11 @@ Editing documents with MongoDB for VS Code is as natural as editing any file in
5959

6060
### Quick access to the MongoDB Shell
6161

62-
Launch the [MongoDB Shell](https://www.mongodb.com/products/shell) from the command palette to quickly connect to the same cluster you have active in VS Code.
62+
Launch the [MongoDB Shell](https://www.mongodb.com/products/shell?utm_source=vscode&utm_medium=product) from the command palette to quickly connect to the same cluster you have active in VS Code.
6363

6464
![MongoDB Shell](resources/screenshots/shell-launcher.png)
6565

66-
_Note: The `mongosh` binary needs to be in your `$PATH`. You can download the `mongosh` from the [MongoDB Download Center](https://www.mongodb.com/try/download/shell)._
66+
_Note: The `mongosh` binary needs to be in your `$PATH`. You can download the `mongosh` from the [MongoDB Download Center](https://www.mongodb.com/try/download/shell?utm_source=vscode&utm_medium=product)._
6767

6868
### Terraform snippet for MongoDB Atlas
6969

@@ -81,7 +81,7 @@ Connect to Atlas Stream Processing instances and develop stream processors using
8181

8282
Use natural language to interact with your clusters and generate MongoDB-related code with GitHub Copilot Chat in VS Code.
8383

84-
_Note: To use the MongoDB Participant, you must have the [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) extension. By using Copilot Chat you agree to [GitHub Copilot chat preview terms](https://docs.github.com/en/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-your-ide). Find more details about the MongoDB GenAI Features in the [FAQ](https://www.mongodb.com/docs/generative-ai-faq/)._
84+
_Note: To use the MongoDB Participant, you must have the [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) extension. By using Copilot Chat you agree to [GitHub Copilot chat preview terms](https://docs.github.com/en/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-your-ide). Find more details about the MongoDB GenAI Features in the [FAQ](https://www.mongodb.com/docs/generative-ai-faq/?utm_source=vscode&utm_medium=product)._
8585

8686
#### How to use the MongoDB Participant
8787

@@ -93,7 +93,7 @@ _Note: To use the MongoDB Participant, you must have the [GitHub Copilot](https:
9393

9494
![MongoDB Participant Commands](resources/screenshots/mongodb-participant-commands.png)
9595

96-
- `/docs` is a participant command that finds answers to coding-related questions in the [MongoDB documentation](https://www.mongodb.com/docs/).
96+
- `/docs` is a participant command that finds answers to coding-related questions in the [MongoDB documentation](https://www.mongodb.com/docs/?utm_source=vscode&utm_medium=product).
9797
- `/query` is a participant command that generates MongoDB queries from natural language to be used with a connected MongoDB cluster. It generates both queries and aggregations depending on the complexity of the request. It utilizes schema to reduce model hallucinations. It provides a code action to open generated code in a playground and an action to directly run the code from the Copilot chat interface.
9898
- `/schema` is a participant command that analyzes and returns information about a collection's schema.
9999

@@ -146,15 +146,15 @@ Currently, there is no way to resolve this except for turning off semantic highl
146146

147147
## Telemetry
148148

149-
MongoDB for VS Code collects usage data and sends it to MongoDB to help improve our products and services. Read our [privacy policy](https://www.mongodb.com/legal/privacy-policy) to learn more. If you don’t wish to send usage data to MongoDB, you can opt-out by setting `mdb.sendTelemetry` to `false` in the extension settings.
149+
MongoDB for VS Code collects usage data and sends it to MongoDB to help improve our products and services. Read our [privacy policy](https://www.mongodb.com/legal/privacy-policy?utm_source=vscode&utm_medium=product) to learn more. If you don’t wish to send usage data to MongoDB, you can opt-out by setting `mdb.sendTelemetry` to `false` in the extension settings.
150150

151151
## Contributing
152152

153153
For issues, please create a ticket in our [JIRA Project](https://jira.mongodb.org/browse/VSCODE).
154154

155155
For contributing, please refer to [CONTRIBUTING.md](CONTRIBUTING.md).
156156

157-
Is there anything else you’d like to see in MongoDB for VS Code? Let us know by submitting suggestions in our [feedback forum](https://feedback.mongodb.com/forums/929236-mongodb-for-vs-code).
157+
Is there anything else you’d like to see in MongoDB for VS Code? Let us know by submitting suggestions in our [feedback forum](https://feedback.mongodb.com/forums/929236-mongodb-for-vs-code?utm_source=vscode&utm_medium=product).
158158

159159
## Building and Installing from Source
160160

src/utils/links.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default Object.fromEntries(
5555
k,
5656
typeof v === 'string'
5757
? addUTMAttrs(v)
58-
: (name: string) => {
58+
: (name: string): string => {
5959
return addUTMAttrs(v(name));
6060
},
6161
];

0 commit comments

Comments
 (0)