feat: GA4 태그 설치와 개인정보처리방침 안내 문구 추가
This commit is contained in:
1 parent
88ce94ec92
commit
2a5efa8def
4 files changed
+40
-2
No files matched your search
+11
@@ -2,6 +2,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<!-- Google 태그(gtag.js): GA4(G-KK71C474J2)로 방문 데이터를 직접 보낸다 -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-KK71C474J2"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
// 로그인 콜백 주소에 붙어 오는 토큰·인가 코드는 지운 주소로 보낸다 (GA4 '데이터 수정' 설정과 이중 보호)
|
||||
var gaPageUrl = new URL(window.location.href);
|
||||
['access_token', 'refresh_token', 'code'].forEach(function (key) { gaPageUrl.searchParams.delete(key); });
|
||||
gtag('config', 'G-KK71C474J2', { page_location: gaPageUrl.toString() });
|
||||
</script>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>ADO2 - AI 홍보 영상·썰박스·무빙 포스터 제작</title>
|
||||
|
||||
Reference in new issue
Block a user