============================
``conda-anaconda-telemetry``
============================

The ``conda-anaconda-telemetry`` plugin enables us to collect more detailed information about how you are using conda. Specifically, it lets us know:

* How you are using the ``create``, ``install``, and ``search`` commands
* Which packages are in your active environment when running the above commands, including which version of ``conda-build`` you are using
* Your configured channel URLs
* Your virtual packages

This information helps us understand environment usage and package popularity, ensuring our repository provides the packages our community needs. Essentially, this plugin helps us learn what we need to know to improve conda for everyone.

Disabling the plugin
====================

If you do not want your conda usage data available to Anaconda, you can disable this plugin by either editing your ``.condarc`` file or removing the package from your ``base`` environment.

.. tab-set::

    .. tab-item:: Edit ``.condarc``

        #. Open your ``.condarc`` file in your text editor of choice.

            .. dropdown:: Where is my ``.condarc`` file?
                :color: primary
                :animate: fade-in

                To locate your ``.condarc`` file, open Anaconda Prompt (Terminal on macOS/Linux) and run the following command: 

                .. code-block:: none 

                    conda config --show-sources

                **Example return:**

                .. code-block:: none

                    ==> /Users/<USERNAME>/.condarc <==
                    channels:
                    - defaults

                While the ``.condarc`` is most likely in your Home directory, it is a hidden file, and is not visible in file browsers under normal circumstances. For help viewing hidden files on:
        
                .. tab-set:: 

                    .. tab-item:: Windows :fab:`windows`

                        For more information on viewing hidden files and folders in Windows, see `View hidden files and folders in Windows <https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5#WindowsVersion=Windows_11>`_ in Microsoft's documentation.

                    .. tab-item:: macOS :fab:`apple`

                        To view hidden files on macOS, use Shift+Cmd+. in your Finder. 
            
                    .. tab-item:: Linux :fab:`linux`

                        To view hidden files on Linux, use Alt+. or Ctrl+H (depending on your file manager).

        #. Add the following lines to the bottom of the file:

           .. code-block:: none

              plugins:
                anaconda_telemetry: false

        #. Save your changes.
        #. Close and reopen Navigator or any Anaconda Prompt or command line windows.

    .. tab-item:: Remove package

        Open Anaconda Prompt (Terminal on macOS/Linux) and run the following command:

        .. code-block::

            conda remove --name base conda-anaconda-telemetry 

For more information on the ``conda-anaconda-telemetry`` package, see https://anaconda.github.io/conda-anaconda-telemetry/.
