[Google Analytics] 쿠키를 이용해 관리자 트래픽을 통계에서 제외하기 – 불완전하지만 도움은 될 거다

구글 아날리틱스에서 관리자 트래픽을 제거하는 가장 단순한 방법은 IP 주소를 바탕으로 필터링을 하는 거다. 하지만, 대부분은 유동 IP를 사용하기 때문에 무용지물이다. IP 주소를 바탕으로 제외하면 한두 달에 한 번씩 필터를 갱신해 줘야 한다.

고급 방법은 쿠키를 이용하는 방법이다. 예컨대, 관리자 페이지 같은 데서 쿠키를 세팅하고, 해당 쿠키를 가진 방문은 방문수에서 제외하는 방식인 듯하다. 그런데, 도움말을 봐도 잘 이해가 안 되서 내 이해가 제대로 된 건지 확신할 수 없다. 따라서 이 매뉴얼은 불완전하다.

그래서 일단 자료만 모아 두는 것이다. 만약 나와 같은 고민을 하고 있는 사람이 있다면 도움이 됐으면 하고, 확실하게 알게 된다면 댓글을 남겨 주셨으면 한다. 나 또한 더 많은 것을 알게 되면 이 글을 갱신하도록 하겠다. 아래는 자료모음이다.

자료 모음

구글 도움말 :

구글 아날리틱스 블로그의 댓글

Christina,
While this is a good suggestion it will tend to fail for many users who connect not on a static IP address, but on a dynamic one through their ISP.

We would recommend an alternative to our clients where they want to more accurately filter out analysts, developers, clients and the like. We use the setVar script to create a segment called something like “administrator” on a hidden url that is not indexed by engines. The first time we send someone to the site we give them this URL which sets the custom variable.

eg: pageTracker._setVar(“administrator”);

This is possible because of the update to the GA code earlier this year (see article on the GA blog here that prevented setVar method from affecting server calls.

We then create a custom exclude filter that excludes any visitors with the custom variable having the value of “administrator”, the same process we’d use to segment out registered visitors and the like.
I hope this advice is useful for others? Please do correct me if you have reasons why this method would not work!

Thanks, James.

6:11 PM

Back to Basics: Filtering out your own IP address의 댓글

위 댓글에 나온 구글 아날리틱스 블로그 글은 이거다. _serVar() 가 뭔지 설명하는 것같아 링크한다 : Using _setVar? Here’s an update on bounce rate and time on page

구글 도움말대로 필터를 세팅해 본 것

아래 이미지는 구글 도움말에서 나온대로 필터를 세팅해 본 거다.

  1. [Google Analytics] pageTracker is not defined 라는 메세지는 무엇일까?

댓글 남기기

당신의 이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다.

*

다음의 HTML 태그와 속성을 사용할 수 있습니다: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>