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
Last revision Both sides next revision
marketing:digital_marketing [2020/02/29 15:10]
prgram ↷ Page moved from marketing:digital_marketing to blog:marketing:digital_marketing
marketing:digital_marketing [2023/03/15 20:53]
prgram [Google Analytics]
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 85: Line 95:
 ※ "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 116:
  
   * Form 에서 연락처 정규식 검사하기 ([[https://​thereclub.tistory.com/​3|참고]])   * Form 에서 연락처 정규식 검사하기 ([[https://​thereclub.tistory.com/​3|참고]])
- +    ​* Pardot에서는 메일만 체크하고,​ 연락처는 검사하지 않음 
-  ​* Pardot에서는 메일만 체크하고,​ 연락처는 검사하지 않음 +<​code ​javascript> ​ 
- +$("​.submit"​).click(function () {  
-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 이벤트 전달을 중지함 } }); +  ​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 ==== ==== Google Adsense ====
   * 크기 제한하기 https://​support.google.com/​adsense/​answer/​9183363   * 크기 제한하기 https://​support.google.com/​adsense/​answer/​9183363