구글 어낼리틱스

모듈: https://www.drupal.org/project/google_analytics

관리사이트: https://www.google.co.kr/intl/ko/analytics

설치

  1. https://www.google.co.kr/intl/ko/analytics에서 관리를 위한 계정 생성

  2. 드루팔 사이트에 모듈 설치
    drush en google_analytics

드루팔 사이트에서 추적 ID 설정

/admin/config/system/google-analytics

Google Map API 셋팅

매뉴얼 참고자료:http://support.morethanthemes.com/customer/en/portal/articles/2489151-google-maps-no-longer-work-on-my-drupal-site---how-can-i-fix-that-

API Key를 받을 수 있는 곳

https://developers.google.com/maps/documentation/javascript/get-api-key

API Key 셋팅

관리자>모양>테마설정>Google Map Settings 에서 API Key 값을 입력한다.

위도/경도 구하기

https://www.google.co.kr/maps

에서 주소를 검색하면 url 주소창에 위도, 경도가 나온다.

위도/경도, Zoom 설정

지도가 나오는 블록에서 수정하기로 들어가서 위도와 경도 Zoom 을 입력한다.

Map Zoom: 15

Styleplus 테마의 경우

참고)관리자 화면에서 지정할 수 있음. 안될 경우만 이 방법 사용

  1. /themes/custom/styleplus/config/install/styleplus.settings.yml 의 마지막 줄에서 google_maps_key 변경

  2. 관리자->모양->My 테마->설정->Google Maps Settings 에서 API Key 수정

results matching ""

    No results matching ""