---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.2
alternate:
  - https://yandex.com/support/metrica/en/objects/enableall.md
  - https://yandex.com/support/metrica/es/objects/enableall.md
  - https://yandex.com/support/metrica/pt/objects/enableall.md
  - https://yandex.com/support/metrica/ru/objects/enableall.md
  - https://yandex.com/support/metrica/tr/objects/enableall.md
  - https://yandex.com/support/metrica/zh/objects/enableall.md
  - href: pt/objects/enableall.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/metrica/pt/llms.txt

# enableAll


{% note alert %}

Método defasado. Possui suporte para compatibilidade retroativa, mas pode ser descontinuado a qualquer momento. Desencorajamos o uso enfaticamente.

Todos os dados cuja coleta e transferência este método controla são rastreados por padrão.

Para desabilitar o rastreamento de dados específicos, use os parâmetros [clickmap](https://yandex.com/support/metrica/pt/code/counter-initialize.md#param-clickmap), [trackLinks](https://yandex.com/support/metrica/pt/code/counter-initialize.md#param-trackLinks) e [webvisor](https://yandex.com/support/metrica/pt/code/counter-initialize.md#param-webvisor) durante a inicialização da tag.

{% endnote %}


```javascript
ym(XXXXXXXX, 'enableAll');
```

Habilitação da coleta e transferência das seguintes informações:

- Dados sobre cliques para geração de [mapas de cliques](https://yandex.com/support/metrica/pt/behavior/click-map.md). Funciona da mesma forma que [clickmap](https://yandex.com/support/metrica/pt/objects/clickmap.md) (true).
- Dados sobre cliques de saída e downloads de arquivo. O mesmo que usar [trackLinks](https://yandex.com/support/metrica/pt/objects/tracklinks.md) (true). Usado ao gerar [mapas de cliques](https://yandex.com/support/metrica/pt/behavior/link-map.md) e os relatórios [Cliques de saída](https://yandex.com/support/metrica/pt/content/external-links.md) e [Downloads de arquivo](https://yandex.com/support/metrica/pt/content/file-downloads.md).

> # Exemplo
> 
> ```javascript
> ym(XXXXXXXX, 'init', {});
> ym(XXXXXXXX, 'enableAll');
> ```

<!-- source: pt/_includes/buttons/chat-button.md -->
[Fale conosco](https://yandex.com/chat/#/user/036e6a02-3620-9cdc-4c5e-a34667a7379e?utm_source=spravka){.button}

<!-- source: pt/_includes/styles/href-to-button.md -->

<!-- endsource: pt/_includes/styles/href-to-button.md -->
<!-- endsource: pt/_includes/buttons/chat-button.md -->

<!-- source: pt/_includes/buttons/support-button.md -->
<div class="cut-button">

{% cut "Escrever um e-mail" %}

<!-- source: pt/_includes/popup/id-popup/wrong-sup.md -->
Observe, por gentileza, que nossa equipe de suporte jamais iniciará uma chamada com você. Se alguém ligar para você e se apresentar como a equipe de suporte do Yandex Metrica, não siga as instruções dessa pessoa.
<!-- endsource: pt/_includes/popup/id-popup/wrong-sup.md -->

<div style="padding: 15px;
     margin: 10px 0;
     background: #FFFFFF;
     border-radius: 10px;
     border: 1px solid var(--g-color-line-generic);">
  <iframe style="background: #FFFFFF;"
        height="700"
        width="100%"
        frameborder="0"
        src="https://forms.yandex.com/surveys/1706/?&iframe=1&lang=en">
  </iframe>
</div>

{% endcut %}

</div>

<!-- source: pt/_includes/styles/cut-button.md -->

<!-- endsource: pt/_includes/styles/cut-button.md -->
<!-- endsource: pt/_includes/buttons/support-button.md -->


<!-- source: pt/_includes/styles/cut-button.md -->

<!-- endsource: pt/_includes/styles/cut-button.md -->

<!-- source: pt/_includes/styles/href-to-button.md -->

<!-- endsource: pt/_includes/styles/href-to-button.md -->

<!-- source: pt/_includes/footer-links.md -->
- - -

<div class="borderless-table">

#|
||
Links úteis

- [Tag de demonstração](https://metrica.yandex.com/r/dashboard?)
- [Adicionar uma tag](https://metrica.yandex.com/add/)
- [Configuração gratuita de tag](https://yandex.com/promo/freeservice/metrica?utm_source=help_metrica_en&utm_medium=cpc&utm_campaign=1)
- [API do Yandex Metrica](https://tech.yandex.com/metrika/)
- [Sugerir uma idea](https://yandex.com/support/metrica/troubleshooting/idea.html)
- [Debater no Telegram](https://t.me/yandexmetrika)
|
Treinamento online

- [Obter um certificado do Yandex Metrica](https://yandex.ru/adv/expert/exam/metrika/?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)


- [Fazer um curso](https://yandex.com/adv/edu/online/metrika?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)

||
|#

</div>

<!-- source: pt/_includes/styles/table-style.md -->

<!-- endsource: pt/_includes/styles/table-style.md -->
<!-- endsource: pt/_includes/footer-links.md -->
