# Google 동의 모드와 페이지 뷰

**URL:** <https://meta.discourse.org/t/google-consent-mode-and-page-views/186540>\
**Category:** Product Support\
**Created:** [4월 12, 2021, 5:57오후 UTC](https://meta.discourse.org/t/google-consent-mode-and-page-views/186540 "2021-04-12T17:57:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![vkalpias](https://avatars.discourse-cdn.com/v4/letter/v/e0b2c6/32.png) [@vkalpias](https://meta.discourse.org/u/vkalpias)\
**Post date:** [4월 12, 2021, 5:57오후 UTC](https://meta.discourse.org/t/google-consent-mode-and-page-views/186540/1 "2021-04-12T17:57:11Z")

</div>

안녕하세요,

저희는 discourse 포럼에 [Google Consent Mode](https://developers.google.com/gtagjs/devguide/consent)를 구현하려고 시도하고 있습니다. 어느 정도는 작동하는 것 같지만, 설정에서 Google Analytics를 비활성화한 대신 테마를 수정하여 gtag.js를 수동으로 포함하고, 예상된 순서로 다양한 gtag 동의 관련 호출을 실행하도록 변경했습니다.

하지만 사용자가 게시물/토픽 등을 클릭할 때마다 페이지뷰가 기록되도록 어떻게 보장할 수 있을까요? 페이지가 변경될 때마다 페이지뷰를 전송할 수 있도록 테마 JS에서 구독할 수 있는 이벤트가 있을까요?

---

_[View the full topic](https://meta.discourse.org/t/google-consent-mode-and-page-views/186540)._
