코코 애널리틱스

설명

코코 애널리틱스는 프라이버시 친화적이며 간단하고 가벼운 워드프레스용 방문자 분석 플러그인입니다. 외부 서비스를 일체 사용하지 않으며 방문자 관련 데이터를 어떤 제삼자에게도 넘기지 않습니다.
방문자를 특정하는 데이터를 수집하지 않으며 오로지 조회수만 집계합니다.

광고를 판매하려는 제삼자 기업에 방문자 데이터를 공유하지 마세요.

웹사이트를 괜히 느리게 만들지 마세요.

코코 애널리틱스는 방문자의 프라이버시를 존중하면서도 중요한 측정 지표에 집중하게 해 줍니다.

특징

  • 플러그 앤드 플레이: 플러그인을 설치하고 활성화하면 자동으로 통계를 수집할 것입니다.
  • 외부 서비스에 저장하지 않음: 어떤 데이터도 서버 밖으로 나가지 않습니다.
  • 개인정보나 어떤 방문자 관련 정보도 추적되지 않습니다.
  • 쿠키 없음: 아무런 쿠키도 쓰지 않는 옵션이 있습니다.
  • 빠름: 페이지뷰 수백 건을 거뜬히 동시에 처리합니다.
  • 가벼움: 페이지에 950바이트 미만의 데이터만을 추가합니다. 일년치 수집 데이터가 저장공간을 10MB도 차지하지 않습니다.
  • GDPR: 규제를 준수하도록 설계했습니다.
  • Metrics: 총 페이지뷰, 고유 페이지뷰, 참조자 URL은 모두 필수 지표입니다.
  • 참조자 스팸: 참조자 스팸을 걸러 내는 차단 목록을 내장했습니다.
  • 캐시됨: 어떤 유형의 캐시에서 제공하는 페이지와도 완전히 호환합니다.
  • Open-Source: 이 플러그인 코드는 GPL-3.0 이상의 라이선스를 따르는 오픈소스로 배포됩니다.
  • 테스트함: PHP 8.3에 맞게 개발했지만, PHP 7.3까지 호환합니다.
  • AMP: 공식 AMP 플러그인을 쓴다면 AMP 기반 페이지도 추적합니다.

기여

여러분은 여러 가지 방법으로 코코 애널리틱스 프로젝트에 기여할 수 있습니다. 예를 들어:

스크린샷

  • 웹사이트 통계를 보여 주는 코코 애널리틱스의 알림판입니다.
  • 설정 페이지는 통계에서 제외할 특정 사용자 역할을 지정할 수 있는 곳입니다.
  • 위젯은 일정 기간에 걸쳐 가장 많이 읽힌 글(이나 다른 게시물 유형)을 보여 줍니다.
  • 알림판 위젯은 지난 2주에 걸쳐 사이트를 방문한 숫자를 빠르게 보여 줍니다.

설치

코코 애널리틱스를 여러 방법으로 설치할 수 있습니다:

플러그인을 설치하고 활성화하면 즉시 통계를 수집합니다.

워드프레스 관리자 화면 > 알림판 > 분석 메뉴를 열어 분석 알림판을 볼 수 있습니다.

FAQ

방문자 프라이버시를 존중하나요?

네, 확실합니다. 코코 애널리틱스는 조회수만 집계해 저장합니다. 방문자를 특정할 정보를 추적하지 않습니다.

외부 서비스를 사용하나요?

외부 서비스가 쓰이지 않습니다. 모든 데이터는 서버에만 있습니다.

코코 애널리틱스는 쿠키를 설정하나요?

기본값은 ‘예’이지만, 비활성화할 수 있습니다.

코코 애널리틱스는 _koko_analytics_pages_viewed라는 이름으로 6시간동안 유효한 쿠키를 설정합니다. 이 쿠키는 서버에 아무런 개인정보를 저장하지 않고 고유 페이지뷰와 되돌아온 방문자를 안정적으로 탐지하는 데 쓰입니다.

플러그인 설정 페이지에서 쿠키 사용 동작을 비활성화할 수 있습니다.

https://www.kokoanalytics.com/kb/does-koko-analytics-use-cookies/

내 웹사이트가 느려질까요?

아니오, 이런 방식으로 탑재되는 플러그인은 방문자에게 표시되는 웹사이트를 느리게 만들지 않습니다.

  • 페이지에 800바이트 미만의 스크립트 하나만을 추가합니다.
  • 통계치 집계와 같은 무거운 작업은 백그라운드 프로세스로 완료됩니다.
  • 모든 것이 서버에 있기 때문에, 이 플러그인은 아무런 DNS 조회 동작을 보태지 않으며 서버의 캐시 정책으로 효율을 높입니다.

https://www.kokoanalytics.com/kb/will-koko-analytics-slow-down-my-website/

이 플러그인의 코드는 깃허브에 있나요?

네, github.com/ibericode/koko-analytics를 살펴 보세요.

어디에서 추가로 문서를 찾을 수 있나요?

코코 애널리틱스 지식 베이스를 살펴 보세요.

페이지 방문자 수를 어떻게 나타낼까요?

현재 페이지에 방문자 수를 나타내는 쇼트코드로 [koko_analytics_counter]를 사용할 수 있습니다.

선택적 선언문 세 개를 취합니다:

  • days: 일간 누적 조회수를 나타낼 과거 기간을 지정합니다. 기본값은 “3650”일입니다.
  • global: 사이트 전체 조회수를 나타낼지 또는 현재 페이지 조회수만 나타낼지 지정합니다. 기본값은 “false”입니다.
  • metric: “방문자” 또는 “페이지뷰” 중 하나입니다. 기본값은 “방문자”입니다.

선언문 사용 예시:

[koko_analytics_counter days="30" metric="pageviews" global="true"]

후기

2024년 3월 12일
This plugin is superb. Simple, yet feature rich. Well supported, yet free. Absolute go to for client sites these days, very very useful. Great work team.
2024년 2월 15일
Very happy with the simplicity and accuracy of this plugin for analytics. Would love to be able to access and use the Pro version for the custom event tracking. Looks like I missed the window on the pro version but I hope the developer can come back to it in the future or make an exception so I can access.
2024년 2월 3일
Koko Analytics is simple to install,customize and understand. It also has a Most Viewed Posts feature to go along with it's analytics program.
2023년 12월 22일
I don't like the idea of very complex and granular analytics. I typically don't need or have time to review analytical tools like that. I just want to see the number of visitors, popular pages, and maybe a couple of other things. This plugin covers it. Most importantly, it looks clean. At least currently, there are no ads or other gaudy things in the dashboard.
2023년 12월 7일
I just needed a simple, self-hosted plugin to have a rough idea of website traffic. This just does that: There is a handy no-cookie option (as it should be) Works with static-/supercaching, even through Cloudflare Does not get in your way with ads or nagging to upgrade Can't really think of any negatives, really. It's not as feature rich as Google Analytics, of course, but that's kind of the point. You just slap it on your site and it immediately starts collecting the most important basic stats. And does so in a privacy friendly way, because it all runs on your server.
모든 112 평가 읽기

기여자 & 개발자

“코코 애널리틱스”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“코코 애널리틱스”(이)가 20(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “코코 애널리틱스”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.3.7 – Feb 26, 2024

  • 쇼트코드 [koko_analytics_counter]를 추가했습니다. Anil Kulkarni 고맙습니다!
  • 설정 페이지에서 최종 집계 이후 경과한 시간을 보여 줍니다.
  • 버퍼 파일에 쓰기 전에 더 적극적으로 데이터 수집 요청을 검증합니다.
  • 참조자 차단 목록을 갱신했습니다.

1.3.6 – Jan 29, 2024

  • 참조자 차단 목록을 갱신했습니다.
  • 제삼자 자바스크립트 의존성을 업데이트했습니다.

1.3.5 – Jan 8, 2024

  • 쿠키를 활성화한 AMP를 이용할 때 HOUR_IN_SECONDS 상수가 정의되지 않는 점을 수정했습니다.
  • 데이터가 없는 날짜가 차트에 표시되지 않는 점을 수정했습니다.
  • 차트 y축 숫자를 10만 이상으로 높였습니다.

1.3.4 – Nov 21, 2023

  • 페이지 단위로 필터를 거는 신기능입니다. “최고 인기 페이지” 목록에서 아무 페이지나 클릭하면 전체 방문자수와 페이지뷰를 나타내는 차트 구성요소가 특정 페이지에 맞게 갱신됩니다.
  • Cron 이벤트가 작동하지 않는다는 경고가 표시되지 않는 점을 수정했습니다.
  • 기본 날짜 기간이 제거된 날짜에서 멈추는 오류를 수정했습니다.
  • 미려한 퍼머링크를 사용하지 않는 사이트를 위해 API url을 수정했습니다.
  • 차트와 툴팁을 표시하는 성능을 개선했습니다.

1.3.3 – Nov 6, 2023

  • 앞으로 가는 빠른 이동 기능을 수정했습니다.
  • 프로그레시브 웹앱인 (독립형) 알림판으로 설치할 수 있는 manifest.json 파일을 추가했습니다.

1.3.2 – Nov 2, 2023

  • 터치 입력 기기에서 알림판 위젯을 볼 때 차트 툴팁이 즉각 사라지는 문제를 수정했습니다.
  • MySQL 정보 테이블에서 데이터베이스 크기를 읽을 권한이 없을 때 생기는 치명적 오류를 수정했습니다.
  • 글 제목에 있는 특수문자의 이중 인코딩을 수정했습니다.
  • 하루치 데이터를 볼 때의 화살표 키 또는 화살표 아이콘 내비게이션 기능을 수정했습니다.
  • 60초마다 알림판 데이터를 자동 갱신합니다.
  • 오늘 하루 요약 정보를 나타내는 알림판 위젯을 개선했습니다.
  • 알림판 위젯에 인기 페이지와 참조자를 수정하거나 비활성화하는 koko_analytics_dashboard_widget_number_of_top_items 필터 훅을 추가했습니다.
  • [koko_analytics_most_viewed_posts] 쇼트코드가 아무 결괏값을 내놓지 않으면 이제 해당 선언문은 디버그 메시지를 나타냅니다.

1.3.1 – Nov 1, 2023

  • 새 방문자 수를 세지 못하는 문제를 수정했습니다.
  • 협정 세계시(UTC)와 시간 격차(timezone offset)가 큰 이용자들에게 나타나는 알림판 문제를 수정했습니다.
  • 월별 보기일 때 차트 구성요소의 날짜 형식을 수정했습니다.
  • 차트 색상을 파랑으로 되돌렸습니다. 차트에 다른 색상을 적용하고 싶다면 이 색상 변경 코드 스니펫 예시를 보세요.
  • 오늘자 데이터 요약을 빠르게 나타내도록 알림판 위젯을 변경했습니다.
  • “최적화한 엔드포인트 생성” 버튼을 써 본 다음 의견을 남겨 주세요.

1.3.0 – Oct 31, 2023

  • 리액트 의존성을 제거하고 추가로 최적화해 대대적으로 알림판 성능을 개선했습니다.
  • 워드프레스 관리자 화면의 외부에서 (독립형) 알림판을 불러오는 링크를 추가했습니다.
  • 분석 알림판을 외부에 보이게 만드는 설정을 추가했습니다.
  • 쓰기 작업이 가능한 위치에 있을 때만 ‘최적화한 엔드포인트 파일 생성’ 버튼을 표시합니다.
  • 플러그인을 지울 때 wp_koko_analytics_dates를 제거합니다.
  • 가장 많이 읽힌 글 정보와 그 결괏값 캐시를 가져오는 데이터베이스 쿼리를 최적화했습니다.
  • 실시간 페이지뷰와 가장 많이 읽힌 글 목록을 포함해 알림판 위젯을 확장했습니다.
  • navigator.sendBeacon을 사용해 데이터 수집을 요청하세요.

1.2.2 – Oct 18, 2023

  • 플러그인 훑어보기 페이지에서 설정 페이지로 넘어가는 링크를 수정했습니다.
  • wp_localize_script가 모든 값을 문자열로 바꿔 페이지 분할 기능이 작동하지 않는 문제를 수정했습니다.
  • 표시 방식을 한 번 이상 전환할 때 알림판 위젯에 리액트 기능 경고가 뜨는 문제를 수정했습니다.
  • 터치 입력 기기에 차트 툴팁이 표시되지 않는 문제를 수정했습니다.
  • 설정 페이지에 소소한 스타일 개선을 적용했습니다.
  • 플러그인이 활성화 상태일 때만 사용자 정의 엔드포인트를 설치합니다.
  • 사용자 정의 엔드포인트 설치를 재시도하는 버튼을 설정 페이지에 추가했습니다.
  • 테이블 페이지 분할 기능을 구성요소의 바닥으로 옮기고 텍스트 라벨을 추가했습니다.
  • <fieldset> 태그로 input[type="radio"]을 감쌌습니다.
  • Remove support for honouring “Do Not Track” header as per MDN 표준 권고에 따라 “추적방지” 헤더 이행을 지원하는 기능을 제거했습니다.

1.2.1 – Oct 11, 2023

  • 엄격한 데이터 타입과 시간 단위가 아닌 협정 세계시 시간 격차(non-hourly UTC offsets) 관련 문제를 수정했습니다.

1.2.0 – Oct 11, 2023

  • 워드프레스 6.0 호환성 문제를 수정했습니다.
  • 어떤 식으로든 이전에 실행에 실패했을 때 5분 동안 집계 프로세스가 작동하지 않는 문제를 수정했습니다.
  • 워드프레스 알림판에서 차트 툴팁이 나타나지 않는 점을 수정했습니다.
  • 집계 프로세스 성능을 소소하게 개선했습니다.
  • 코어 플러그인에서 기초(샘플 데이터) 함수를 내보냈습니다.
  • 알림판이 작동하지 않을 때 브라우저 콘솔 오류 메시지 점검에 대한 메시지를 추가했습니다.
  • 가능하다면 브라우저에서 Intl.DateTimeFormat를 사용해 알림판 날짜 서식을 지정합니다.
  • 네이티브 <input type="date"> 요소를 위해 Pikaday 날짜 선택기를 제거했습니다.
  • 날짜 선택기 드롭다운의 모바일 보기를 개선했습니다.
  • 가장 많이 읽힌 글 위젯, 쇼트코드, 함수 결과에서 (고정 페이지) 홈페이지를 제외합니다.
  • 알림판 구성요소의 페이지 당 표시 항목 수를 덮어 쓰는 koko_analytics_items_per_page 필터 훅을 추가했습니다.
  • 필요한 PHP 버전을 7.3으로 높였습니다.

1.1.2 – Oct 3, 2023

  • 사용자 정의 데이터베이스 테이블 접두어를 사용하는 사이트에서 전체 및 차트 구성요소 오류 문제를 수정했습니다.

1.1.1 – Oct 3, 2023

  • 1.1.0 버전에서 날짜 테이블을 생성하지 않아 빈 차트를 표시하게 만든 문제를 수정했습니다.

Koko Analytics v1.1.0 – Oct 3, 2023

  • 프리액트를 워드프레스에 포함된 리액트 버전으로 변경해 관리자 알림판의 번들 크기를 40kB (또는 30%) 줄였습니다.
  • 로컬 또는 개발자 환경에서 워드프레스 Cron 이벤트가 작동하지 않는다는 경고를 표시하지 않습니다.
  • 워드프레스 코어와 동일한 브라우저 목록 설정을 사용합니다.
  • 차트 데이터를 가져오고 해석하는 성능을 최적화했습니다.
  • 최적화한 엔드포인트를 생성할 때 전체 구성요소 데이터를 가져옵니다.
  • 설정 페이지는 이제 리액트 구성요소 대신 서버에서 렌더링한 페이지로 대체됐습니다.
  • CSS 선택자 성능을 높였습니다.
  • Add public PHP API. You can now call the following functions:
    • koko_analytics_get_most_viewed_posts()는 가장 많이 읽힌 글의 목록을 가져옵니다.
    • 지난 1시간동안의 총 페이지뷰 수를 koko_analytics_get_realtime_pageview_count('-1 hour')로 가져옵니다.
    • $post_id ID로 지정한 글의 페이지뷰를 koko_analytics_track_pageview($post_id)로 추적합니다.

1.0.40 – Sep 14, 2023

  • 글 제목이 없다면 포스트 슬러그로 대체합니다.
  • 참조자 URL을 검증하고 유효하지 않다면 무시합니다.
  • 만일 버퍼 파일명이 바뀌면 최적화한 추적 엔드포인트를 삭제하고 더 이상 그것을 표시하지 않습니다. 이는 서버 간 이전으로 발생하는 문제를 해결합니다.
  • 현재 이용자 역할과 무관하게 필요하다면 항상 데이터베이스 이전을 실행합니다.
  • KokoAnalytics\get_most_viewed_posts()[koko_analytics_most_viewed_posts] 쇼트코드에 다중 글 유형을 지정할 수 있습니다. 예시: [koko_analytics_most_viewed_posts post_type="page,post"]
  • 최적화한 추적 엔드포인트 설치 시도를 시간당 한 번으로 제한합니다.
  • 분석 알림판에서 워드프레스 설정의 날짜 서식을 사용합니다.
  • (날짜 서식 문자열에서 M, F, I, D를 이용하는 것이 적절하다면) 날짜와 달 이름을 번역합니다.
  • 워드프레스 명령줄인터페이스로 집계 작업을 수동 실행할 때 선택적 --force 플래그를 수용합니다. 예시: wp koko-analytics aggregate --force
  • 로컬호스트 기반 사이트, .local로 끝나는 사이트, 그리고 포트 번호를 포함하는사이트에서 워드프레스 Cron이 적절하게 작동하지 않는다는 경고문을 나타내지 않습니다.
  • 마지막으로 이벤트를 추적하는 준비 작업 몇 가지를 진행하고 있습니다… 곧 나옵니다!

1.0.39 – Aug 29, 2023

  • 참조자 차단 목록을 갱신함
  • 제삼자 자바스크립트 의존성을 갱신함
  • 테스트한 워드프레스 버전을 높임

1.0.38 – Apr 25, 2023

  • 알림판 위젯이 최초에 숨김 상태일 때 올바르지 않게 표시되는 문제를 수정했습니다.
  • 표시할 수 있을 때만 알림판 위젯에 차트를 표시합니다.

1.0.37 – Dec 07, 2022

  • 부정확한 통계 수집을 야기하는 추적 스크립트의 잠재적 문제를 수정했습니다.

1.0.36 – Dec 06, 2022

  • 추적 스크립트 크기를 (gzip 압축 사용 시) 985바이트까지 줄였습니다.

1.0.35 – Oct 21, 2022

  • 이제 koko_analytics.trackPageview( postId )를 호출해 수동으로 페이지뷰를 추적할 수 있습니다. 이것은 싱글 페이지 애플리케이션에 특히 유용합니다.
  • 참조자 차단 목록을 갱신했습니다.
  • 참조자 URL이 참조자 차단 목록에 있다면 그 전체 요청을 무시합니다.
  • 자바스크립트 의존성을 개선했습니다.

1.0.34 – Sep 19, 2022

  • (정적 페이지가 아니라면) 첫 페이지에서도 방문자를 추적합니다.
  • 캐시 헤더를 보낼지 여부를 결정하기 위해 gmdate() 를 사용합니다.
  • 자바스크립트 의존성을 개선했습니다.

1.0.33 – Aug 17, 2022

  • 페이지뷰를 기록한 날이라면 항상 최소한 방문자 1명을 표시합니다.
  • REST API의 캐시 제어 헤더 응답시간을 60초로 줄였습니다.
  • 모든 통계치를 초기화하는 버튼을 추가했습니다.
  • 참조자 URL의 URL 집계를 변경하거나 추가하는 koko_analytics_url_aggregations 필터를 추가했습니다.
  • 다른 사람들이 코코 애널리틱스 개발 기금과 지원 비용을 후원하자는 제안을 OpenCollective에 작성했습니다. 자세한 내용은 https://opencollective.com/koko-analytics 에 방문해 확인해 보세요.

1.0.32 – Jun 2, 2022

  • Endpoint_Installer 클래스가 필요할 때 항상 로드될 수 있도록 최신 릴리즈 오류를 수정했습니다.

1.0.30 – Jun 1, 2022

  • 플러그인을 지울 때 koko_analytics_use_custom_endpoint 옵션을 삭제했습니다.
  • 이용자가 통계 보기 기능을 요구할 때에만 dashboard-widget.js를 로드합니다.
  • 완전히 사용자 정의 엔드포인트를 비활성화하는 KOKO_ANALYTICS_CUSTOM_ENDPOINT 상수를 추가했습니다. 이 필터는 다른 파일 위치에 엔드포인트 파일을 수동으로 설치하기 위해 사용될 수도 있습니다.
  • 1시간마다 사용자 정의 엔드포인트 파일 설치를 재시도합니다. 이는 또한 사용자 정의 엔드포인트가 예측한대로 작동하고 있는지 여부를 자동으로 다시 테스트합니다. 알림판 페이지에 방문할 때 이미 수행했던 플러그인 동작인데, 이제 워드프레스 관리자 로그인을 하지 않더라도 더 자주 실행합니다.

1.0.29 – Jan 25, 2022

  • Skip empty lines in buffer file to avoid a PHP notice in certain edge cases.
  • Make use of JS library for date presets.
  • Filter out user agents containing “preview”.
  • Normalize referrer URl’s for Yahoo search results.
  • Add class attribute to cron warning so it can be hidden using CSS by targeting .koko-analytics-cron-warning.

1.0.28 – Sep 27, 2021

  • Account for missing configuration object, for example if theme does not properly call wp_head().
  • Cast database result to integer types so we do not have to do it client-side.
  • Cache dashboard requests to REST API for 5 minutes (using browser cache).
  • Use integers for viewbox coordinates (for increased performance).
  • Simple locking mechanism for aggregation job to detect previous runs which are still busy.
  • Add WP CLI command for aggregating stats without having to go through WP Cron: wp koko-analytics aggregate

1.0.27 – May 4, 2021

  • Use defer attribute on script to not block parsing at all.
  • Normalize Pinterest URL’s with and without www subdomain.
  • Fix some missing translations.

1.0.26 – Feb 17, 2021

  • Re-introduce last 28 days by popular request.
  • Fix date presets dropdown not working in WebKit based browsers.
  • Update built-in referrer blocklist.

1.0.25 – Feb 16, 2021

  • Add several new date presets, like yesterday or last week.
  • Add support for entering custom date ranges using keyboard input.
  • Improve algorithm for chart y-axes to prevent huge jumps.
  • Add function for manually printing tracking script: <?php koko_analyics_tracking_script(); ?>
  • Update JS dependencies.

1.0.24 – Jan 20, 2021

  • Append random query parameter to tracking request to avoid beind cached now that the plugin is using a custom tracking endpoint.
  • Update JS dependencies.

1.0.23 – Jan 15, 2021

Major performance improvement by writing an optimized endpoint file containing the correct file paths, regardless of WordPress directory structure set-up.

If your WordPress root directory is not writable, go to the Koko Analytics settings page for instructions on how to manually create this optimized endpoint file.

1.0.22 – Nov 18, 2020

  • Fix PHP warnings in migration script, for trying to unlink unexisting file (eg on new plugin installs).
  • Generate URL to custom endpoint file correctly. Fixes issue with some multilingual plugins not recording pageviews correctly.

1.0.21 – Nov 5, 2020

  • Update option that stores whether to use custom endpoint after unlinking it, to prevent sending requests to an unexisting file.

1.0.20 – Nov 3, 20202

  • Do not use custom endpoint file if using custom uploads directory.
  • Use value from KOKO_ANALYTICS_USE_CUSTOM_ENDPOINT if it is defined.
  • Only call add_cap on administrator role if such a role exists
  • Update JS dependencies.
  • Update built-in referrer blocklist.

1.0.19 – Sep 2, 2020

  • Create buffer file directory if it does not exist yet, eg on a fresh WP install.
  • Update preact and date-fns to their latest versions.
  • Update built-in referrer blocklist.

1.0.18 – Aug 25, 2020

  • Fix issue with tracking not working on AMP powered pages or issuing a request to a non-existing file on cdn.ampproject.org.

1.0.17 – Aug 19, 2020

  • Fix issue when using Modern color scheme introduced in WordPress 5.5.
  • Improve test for custom endpoint file by checking for exact response body.
  • Prevent horizontal scrollbar from showing when hovering chart near edge of screen.

1.0.16 – Jul 21, 2020

  • Fix blank screen on WordPress versions lower than 5.0.
  • Fix settings link showing despite user lacking required capability.
  • Fix code for custom referrer blocklist using filter koko_analytics_referrer_blocklist.
  • Do not use custom endpoint file when site URL differs from WordPress URL.
  • Improve test for custom endpoint file.

1.0.15 – Jun 22, 2020

  • Fix weird date for “this week” preset.
  • Fix weeknames in datepicker.
  • Fix translation files not being loaded. Hopefully…

1.0.14 – Jun 22, 2020

  • Do not use custom tracking endpoint on Multisite installations because it ignores the site-specifix database prefix.
  • Show errors in aggegration process if WP_DEBUG is enabled.
  • 참조자 차단 목록을 갱신했습니다.
  • Use wp.i18n for managing translations in JavaScript files.
  • Bump table row count up to 25 per page.
  • Add filter hook: koko_analytics_referrer_blocklist (example)
  • Add filter hook: koko_analytics_ignore_referrer_url (example)

1.0.13 – May 28, 2020

  • 참조자 차단 목록을 갱신했습니다.
  • Improve date parsing from URL parameters to account for negative UTC offsets. Fixes an issue with the date jumping back one day.
  • Don’t attempt to install custom endpoint if it was manually installed (using the KOKO_ANALYTICS_USE_CUSTOM_ENDPOINT constant).
  • Revert to using home_url() for the tracker endpoint URL.

1.0.12 – May 14, 2020

  • Add filter koko_analytics_honor_dnt to allow ignoring DoNotTrack.
  • Huge performance improvement for the tracking request if you’re on a standard WordPress installation with the root directory writable.
  • Limit scope of tracking script to prevent variable naming collisions.

1.0.11 – Apr 17, 2020

  • Add setting for specifying default date period when opening analytics dashboard.
  • Add Chrome-Lighthouse to list of ignored HTTP user agents.
  • Show notice on analytics dashboard page when buffer file is not writable.
  • Derive cookie path from home URL to work properly with WordPress installations not living at the root of a domain.
  • Track pageview on window.load instead of window.DOMContentLoaded, to make it easier to overwrite the configuration object.
  • Minor optimizations to tracking script.

1.0.10 – Mar 23, 2020

  • Print configuration object early on in page HTML so it is easier to override it using a cookie consent plugin.
  • Add help text explaining the use of a multi-select element.

1.0.9 – Mar 9, 2020

  • Use arrow keys (without Ctrl-key) for quickly cycling through date ranges.
  • Group chart by month if showing more than 2 (full) months of data.
  • Replace React by Preact to cut JS bundle size in half.
  • Normalize referrer URL’s without protocol.
  • Improve total comparision with previous period.

1.0.8 – Feb 14, 2020

  • Add date preset for last 28 days
  • Add keyboard navigation support for quickly cycling through date periods (Ctrl + Arrow key)
  • Expand referrer aggregation logic. If you have any URL’s you would like to see combined into a single domain, please post them here.
  • Fix referrer URL’s table missing the AUTO_INCREMENT statement.
  • Change dropdown to number input in most viewed posts widget.
  • Show notice on dashboard page if an issue with WP Cron is detected.
  • Improved y-axes in chart when maximum value is lower than 10.
  • Use colors from admin scheme in chart tooltip.

1.0.7 – Jan 30, 2020

  • Aggregate certain referrers, e.g. google.com/search becomes google.com.
  • Use WordPress color scheme (from user profile) for colors in chart.
  • Show more labels on the chart’s x-axes (wide screens only).
  • Show number of pageviews in the last hour.
  • Show day of week to chart tooltip.
  • Use Paul Heckbert’s loose labels (nice numbers) algorithm for labels on y-axes.
  • All colors now have a contrast ratio that is (at least) WCAAG AA compliant.
  • Revert multiple bar chart change (because of user feedback), use inner bar instead.
  • Minor performance optimisations for viewing dashboard page.
  • Fixes “Invalid time” error when re-opening the dashboard in Safari.

1.0.6 – Jan 20, 2020

  • Remember view period when navigating away from analytics dashboard.
  • Add filter hook to prevent loading the tracking script: koko_analytics_load_tracking_script
  • Ignore all user agents containing the word seo
  • Ignore requests if page is loaded inside an iframe.
  • Only read document.cookie if cookie use is actually enabled.
  • In chart, use separate bars instead of stacked bars.

1.0.5 – Dec 30, 2019

  • Add “today” option to date periods preset menu.
  • Hide chart component when viewing just a single day of data.
  • Automatically refresh data in dashboard every minute.
  • Use human readable number format on chart’s y-axes.
  • Show chart elements even if outside of chart container.

1.0.4 – Dec 13, 2019

  • Fix referrer URL’s not being saved correctly.
  • Fix unique pageview detection
  • Fix pretty number with only trailing zeroes.
  • Fix bar chart not stacking properly.
  • Improved display of Twitter or Android app referrers.
  • Improved chart tooltip.
  • Improved styling for small mobile screens.
  • Trim trailing slashes from referrer URL’s.
  • Escape all strings coming from translation files.
  • Filter out common bots by checking user agent in tracking script.

1.0.3 – Dec 6, 2019

  • 플러그인 훑어보기 페이지에서 설정 페이지로 넘어가는 링크를 수정했습니다.
  • Fix REST API URL’s when not using pretty permalinks.
  • Add support for tracking AMP-powered pages.
  • Add setting to disable cookie usage.
  • Handle network request errors on admin pages.
  • Return HTTP 500 error when unable to write to buffer file.
  • Simplify adding post title to post type statistics.
  • Extend browser support to include older browsers.
  • Handle filesystem errors in aggregation process.

1.0.2 – Nov 22, 2019

  • Add icons to datepickers to quickly cycle through selected date periods.
  • Add capabilities view_koko_analytics and manage_koko_analytics to control whether a user role can view or manage statistics.
  • Add setting to automatically delete data older than X months.
  • Add menu item to WP Admin Bar.
  • Update URL when date range changes so page can be refreshed or shared.
  • Update browser history with chosen date ranges.
  • Show total size of Koko Analytics’ database tables on settings page.
  • Improved animations when dashboard data updates.
  • Improved column type constraints for storing data.
  • Improved labels for chart x-axes.
  • Consistent ordering of posts and referrers tables.
  • Remove trailing ? character from referrer URL’s after query parameters are stripped.
  • Fix retrieving post title when post type is excluded from search.

1.0.1 – Nov 14, 2019

  • Add dashboard widget showing site visits over last 14 days.
  • Add widget for showing most viewed posts, pages or any other post type over a given period.
  • Add [koko_analytics_most_viewed_posts] shortcode.
  • Add pagination to tables showing top posts and top referrers.
  • Add settings link to plugin row on plugins overview page in WP admin.
  • Use ASCII for storing textual data. Fixes an issue with error message “specified key is too long” on some MySQL installations when the charset is utf8mb4.
  • Remove all data when uninstalling the plugin. Thanks to Santiago Degetau.
  • Improved memory usage when handling huge bursts of traffic.
  • Load tracking script asynchronously.
  • Styling improvements for the dashboard page.

1.0.0 – Nov 4, 2019

Initial release.