Regex against Google Analytics Spam Bots - Regex para tentar frear Spam no Google Analytics


Lembrar de Clicar no ADMINISTRADOR -> Vista de Propriedade -> Visualizar Configurações ->

Filtragem de bots
Excluir todos os hits de bots e indexadores conhecidos

Depois entre em Relatórios -> E crie um Novo Segmento ->

clique em + Adicionar Segmento
clique em + Novo Segmento
Escolha Avançado -> Condições -> Em "Ações do Evento" escolha Titulo da Página e em "Contém" escolha "corresponde à Regex" no meu caso todos os abaixo estavam entrando no seu vc precisa verificar e colar apenas uma parte do nome deles no regex abaixo.

Cada | (pipe) é um Spammer.

\W*((?i)sharebutton|xyz|reddit|lifehacĸer|Secret|motherboard|ilovevitaly|thenextweb(?-i))\W*

Lembrando que não é uma solução definitiva, o correto seria o Google apagá-los automaticamente...

Então de tempos em tempos seu regex vai aumentar, pois vc terá que ficar inserindo os nomes dos novos spammers.

Remember to click the ADMINISTRATOR -> View Property -> View Settings ->

Bottling bots
Delete all hits from known bots and crawlers

Then go to Reports -> And create a new Segment ->

Click + Add Segment
Click + New Segment
Choose Advanced -> Conditions -> In "Event Actions" choose Page Title and in "Contains" choose "corresponds to Regex" in my case all below were entering your you need to check and paste only a part of their name in the Regex below.

Each | (Pipe) is a Spammer.

\W*((?i)sharebutton|xyz|reddit|lifehacĸer|Secret|motherboard|ilovevitaly|thenextweb(?-i))\W*

Remembering that it is not a definitive solution, the correct one would be Google to automatically delete them ...

Then from time to time your regex will increase, because you will have to be entering the names of the new spammers.


Comentários

Postagens mais visitadas