marketing:digital_marketing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
marketing:digital_marketing [2020/02/08 16:35] prgrammarketing:digital_marketing [2025/07/07 14:12] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Digital Marketing ====== ====== Digital Marketing ======
 +
 +[[marketing:google_analytics_mistakes]]
 +[[trivia:tips:easy_typomotion_video|]]
  
 {{tag>marketing 온라인마케팅 분석 디지털마케팅}} {{tag>marketing 온라인마케팅 분석 디지털마케팅}}
  
 ==== Google Analytics ==== ==== Google Analytics ====
 +
 +
 +=== GA4 ===
 +  * 향상된 측정 Enhanced measurement
 +    * Measuring:Page views,Scrolls,Outbound clicks,Site search,Video engagement,File downloads,Form interactions
 +    * 설정 > Data Stream
 +  * 
  
 === 캠페인 URL설정 === === 캠페인 URL설정 ===
Line 70: Line 80:
   * Mixed Content Error : base href 를 https 로 바꿔줘야 함 [[https://stackoverflow.com/questions/32976110/mixed-content-error-google-tag-manager|link]]   * Mixed Content Error : base href 를 https 로 바꿔줘야 함 [[https://stackoverflow.com/questions/32976110/mixed-content-error-google-tag-manager|link]]
   * container size limit : 200KB (100~150 tags?) [[http://limit to the container size for Google Tag Manager, which is 200KB.|link]]   * container size limit : 200KB (100~150 tags?) [[http://limit to the container size for Google Tag Manager, which is 200KB.|link]]
 +
 +  * There are currently no debuggable Google tags at that address. Please verify that:
 +    * 팝업 차단 풀어보기
  
 ==== Naver Ads. ==== ==== Naver Ads. ====
Line 85: Line 98:
 ※ "JSON format string" : JSON 형식을 string (=with quotation) 으로 전달해 주어야 함 ※ "JSON format string" : JSON 형식을 string (=with quotation) 으로 전달해 주어야 함
  
-python> uri = "/stats" method = 'GET' param = {'id':'cmp-a001-01-00000000#######', 'fields': '["cpc","ctr"]', 'timeRange':'{"since":"2019-04-20","until":"2019-04-22"}'} r = requests.get(BASE_URL + uri, params=param, headers=get_header(method, uri, API_KEY, SECRET_KEY, CUSTOMER_ID)) print(r.url) print("response status_code = {}".format(r.status_code)) print("response body = {}".format(r.json()))+<code python>  
 +uri = "/stats"  
 +method = 'GET'  
 +param = {'id':'cmp-a001-01-00000000#######', 'fields': '["cpc","ctr"]', 'timeRange':'{"since":"2019-04-20","until":"2019-04-22"}' 
 +r = requests.get(BASE_URL + uri, params=param, headers=get_header(method, uri, API_KEY, SECRET_KEY, CUSTOMER_ID))  
 +print(r.url)  
 +print("response status_code = {}".format(r.status_code))  
 +print("response body = {}".format(r.json())) 
 +</code>
  
   *  [[https://github.com/naver/searchad-apidoc/issues/144|Master report, stat report 차이]]   *  [[https://github.com/naver/searchad-apidoc/issues/144|Master report, stat report 차이]]
Line 98: Line 119:
  
   * Form 에서 연락처 정규식 검사하기 ([[https://thereclub.tistory.com/3|참고]])   * Form 에서 연락처 정규식 검사하기 ([[https://thereclub.tistory.com/3|참고]])
 +    * Pardot에서는 메일만 체크하고, 연락처는 검사하지 않음
 +<code javascript> 
 +$(".submit").click(function () { 
 +  p = $("#552572_77313pi_552572_77313")[0].value;
 +                                // form의 연락처 input의 id/class 이름 
 +  p = p.split('-').join(''); 
 +  var regPhone = /^((01[1|6|7|8|9])[1-9]+[0-9]{6,7})|(010[1-9][0-9]{7})$/; 
 +  if( !regPhone.test(p) ) { 
 +    alert("쿠폰 발송을 위해 정확한 '휴대폰' 번호가 필요합니다"); 
 +    return false; // click 이벤트 전달을 중지함 
 +  } 
 +});
 +</code>
 +==== Google Adsense ====
 +  * 크기 제한하기 https://support.google.com/adsense/answer/9183363
 +<code js>
 +다음은 반응형 광고 코드를 수정해 고정 높이는 90픽셀, 가변 폭은 400~970픽셀로 지정하는 방법입니다.
 +<ins class="adsbygoogle"
 +   style="display:inline-block;min-width:400px;max-width:970px;width:100%;height:90px"
 +   data-ad-client="ca-pub-1234"
 +   data-ad-slot="5678"></ins>
 +<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
 +<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
 +</code>
  
-  * Pardot에서는 메만 체하고, 연락처는 검사하지 않음 +  * 일반적인 광고 기 https://support.google.com/google-ads/answer/7031480
- +
-javascript> $(".submit").click(function () { p = $("#552572_77313pi_552572_77313")[0].value; // form의 연락처 input의 id/class 이름 p = p.split('-').join(''); var regPhone = /^((01[1|6|7|8|9])[1-9]+[0-9]{6,7})|(010[1-9][0-9]{7})$/; if( !regPhone.test(p) ) { alert("쿠폰 발송을 위해 정확한 '휴대폰' 번호가 필요합니다"); return false; // click 이벤트 전달을 중지함 } }); +
 ==== Tips. ==== ==== Tips. ====
  
  • Last modified: 2025/07/07 14:12