Quellcode durchsuchen

AccuHit Event埋碼

Mike vor 3 Jahren
Ursprung
Commit
3bd0496ab1
15 geänderte Dateien mit 46 neuen und 5 gelöschten Zeilen
  1. 2 0
      content/blog/設計專欄/居家美學/居家美學|60萬以下 ↓ 超有氛圍的成家夢想/index.md
  2. 2 0
      content/blog/設計專欄/居家美學/居家美學|Pantone 2021年度代表色 教你如何應用在居家氛圍/index.md
  3. 2 0
      content/blog/設計專欄/居家美學/居家美學|常見油漆刷色組合 配色與拼接風格一次告訴你/index.md
  4. 2 0
      content/blog/設計專欄/規劃師QA/規劃師QA|主臥壓樑怎麼辦?利用家具規劃3招破解主臥壓樑/index.md
  5. 2 0
      content/blog/設計專欄/規劃師QA/規劃師QA|什麼是輕裝修?輕裝修的定義是什麼?/index.md
  6. 2 0
      content/blog/設計專欄/規劃師QA/規劃師QA|做模組系統衣櫃不NG 教你避開難用設計/index.md
  7. 2 0
      content/blog/設計專欄/規劃師QA/規劃師QA|模組系統櫃板材等級挑選5攻略/index.md
  8. 2 0
      content/blog/設計專欄/驗屋知識/驗屋|什麼是驗屋?我什麼時候需要驗屋呢?/index.md
  9. 2 0
      content/blog/設計專欄/驗屋知識/驗屋|你需要知道的,驗屋注意事項/index.md
  10. 2 0
      content/blog/設計專欄/驗屋知識/驗屋|驗屋懶人包,驗屋工具與項目一次看/index.md
  11. 1 1
      themes/hugo-lamp/layouts/_default/list.html
  12. 1 1
      themes/hugo-lamp/layouts/blog/list.html
  13. 1 1
      themes/hugo-lamp/layouts/collection/single.html
  14. 13 1
      themes/hugo-lamp/layouts/partials/header.html
  15. 10 1
      themes/hugo-lamp/layouts/partials/widgets/taxonomy_category.html

+ 2 - 0
content/blog/設計專欄/居家美學/居家美學|60萬以下 ↓ 超有氛圍的成家夢想/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/dream_house_under_600_nt_dollars"
 image: "/img/blog/67f0ba6f0a68b1519d83ea41b718f324.webp"
 categories: ["home_aesthetics"]
+col1: "居家美學"
+col2: "點擊_官網設計專欄居家美學"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/居家美學/居家美學|Pantone 2021年度代表色 教你如何應用在居家氛圍/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/pantone_2021_color_of_the_year_teaches_you_how_to_apply_it_in_the_home_atmosphere"
 image: "/img/blog/c8195fd03817efcc58542b9dd642e32b.webp"
 categories: ["home_aesthetics"]
+col1: "居家美學"
+col2: "點擊_官網設計專欄居家美學"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/居家美學/居家美學|常見油漆刷色組合 配色與拼接風格一次告訴你/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/common_paint_color_combinations"
 image: "/img/blog/a0afb7345f52a1c9541593363750d4eb.webp"
 categories: ["home_aesthetics"]
+col1: "居家美學"
+col2: "點擊_官網設計專欄居家美學"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/規劃師QA/規劃師QA|主臥壓樑怎麼辦?利用家具規劃3招破解主臥壓樑/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/three_ways_to_deal_with_capping_beam_by_furnitures"
 image: "/img/blog/0a91531586e14f73e6d7de01da2a37c3.webp"
 categories: ["room_planner_expertise"]
+col1: "規劃師QA"
+col2: "點擊_官網設計專欄規劃師QA"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/規劃師QA/規劃師QA|什麼是輕裝修?輕裝修的定義是什麼?/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/what_is_minor_decor"
 image: "/img/blog/what_is_minor_decor.webp"
 categories: ["room_planner_expertise"]
+col1: "規劃師QA"
+col2: "點擊_官網設計專欄規劃師QA"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/規劃師QA/規劃師QA|做模組系統衣櫃不NG 教你避開難用設計/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/how_to_make_system_furniture_wardrobe_correctly_and_avoid_bad_design"
 image: "/img/blog/how_to_make_system_furniture_wardrobe_correctly_and_avoid_bad_design.webp"
 categories: ["room_planner_expertise"]
+col1: "規劃師QA"
+col2: "點擊_官網設計專欄規劃師QA"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/規劃師QA/規劃師QA|模組系統櫃板材等級挑選5攻略/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/5_tips_for_selecting_system_furniture_plank"
 image: "/img/blog/5_tips_for_selecting_system_furniture_plank.webp"
 categories: ["room_planner_expertise"]
+col1: "規劃師QA"
+col2: "點擊_官網設計專欄規劃師QA"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/驗屋知識/驗屋|什麼是驗屋?我什麼時候需要驗屋呢?/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/what_is_home_inspection_when_do_I_need_home_inspection"
 image: "/img/blog/f090608b57bdca14ed22040b99fa5acb.webp"
 categories: ["home_inspection_knowledge"]
+col1: "驗屋知識"
+col2: "點擊_官網設計專欄驗屋知識"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/驗屋知識/驗屋|你需要知道的,驗屋注意事項/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/what_you_need_to_know_about_home_inspection"
 image: "/img/blog/24f881cdc8839ec20a792a09f6e404b5.webp"
 categories: ["home_inspection_knowledge"]
+col1: "驗屋知識"
+col2: "點擊_官網設計專欄驗屋知識"
 ---
 
 <!-- ### **敘述**-->

+ 2 - 0
content/blog/設計專欄/驗屋知識/驗屋|驗屋懶人包,驗屋工具與項目一次看/index.md

@@ -6,6 +6,8 @@ type: "blog"
 url: "/blog/home_inspection_tools_and_items_for_dummies"
 image: "/img/blog/ec03880b34f432df146bef5740313ba9.webp"
 categories: ["home_inspection_knowledge"]
+col1: "驗屋知識"
+col2: "點擊_官網設計專欄驗屋知識"
 ---
 
 <!-- ### **敘述**-->

+ 1 - 1
themes/hugo-lamp/layouts/_default/list.html

@@ -27,7 +27,7 @@
                         </amp-img>
                     </a>
                 </div>
-                <a href="{{ .Permalink }}" style="color:#444444;">
+                <a href="{{ .RelPermalink }}" style="color:#444444;" data-vars-event="accuhit" data-vars-event-type="6" data-vars-event-col1="{{ .Params.Col1 }}" data-vars-event-col2="{{ .Params.col2 }}" data-vars-event-col4="{{ .Params.title }}">
                     <div class="title-size"><b>{{ .Title }}</b></div>
                 </a>
                 <p class="blog-content" style="font-size:0.8rem;">{{ .PublishDate.Format "January 2, 2006" }}</p>

+ 1 - 1
themes/hugo-lamp/layouts/blog/list.html

@@ -27,7 +27,7 @@
                         </amp-img>
                     </a>
                 </div>
-                <a href="{{ .RelPermalink }}" style="color:#444444;">
+                <a href="{{ .RelPermalink }}" style="color:#444444;" data-vars-event="accuhit" data-vars-event-type="6" data-vars-event-col1="{{ .Params.Col1 }}" data-vars-event-col2="{{ .Params.col2 }}" data-vars-event-col4="{{ .Params.title }}">
                     <div class="title-size"><b>{{ .Title }}</b></div>
                 </a>
                 <p class="blog-content" style="font-size:0.8rem;">{{ .PublishDate.Format "January 2, 2006" }}</p>

+ 1 - 1
themes/hugo-lamp/layouts/collection/single.html

@@ -23,7 +23,7 @@
             <div class="container text-center">
                 <div class="title mb-1">陪伴第一次買房的你們</div>
                 <div class="title mb-3">打造屬於你們獨一無二的故事</div>
-                <a href="/room_planner">
+                <a href="/room_planner" data-vars-event="accuhit" data-vars-event-type="1" data-vars-event-col1="規劃師服務流程CTA" data-vars-event-col2="點擊_規劃師服務流程CTA" data-vars-event-col4="作品集黑色CTA">
                     <div>
                         30秒深度了解
                     </div>

+ 13 - 1
themes/hugo-lamp/layouts/partials/header.html

@@ -33,7 +33,19 @@
 				</li>
 				{{ else }}
 				<li>
-					<a title="{{ .Name }}" href="{{ .URL }}">{{ .Name }}</a>
+					{{ if eq .URL "/"}}	
+						<a href="{{ .URL }}" data-vars-event="accuhit" data-vars-event-type="9" data-vars-event-col1="首頁" data-vars-event-col2="首頁">{{ .Name }}</a>
+					{{ else if eq .URL "/room_planner"}}
+						<a href="{{ .URL }}" data-vars-event="accuhit" data-vars-event-type="9" data-vars-event-col1="規劃師服務" data-vars-event-col2="規劃師服務">{{ .Name }}</a>
+					{{ else if eq .URL "/collection"}}
+						<a href="{{ .URL }}" data-vars-event="accuhit" data-vars-event-type="9" data-vars-event-col1="規劃作品集" data-vars-event-col2="規劃作品集">{{ .Name }}</a>
+					{{ else if eq .URL "/store_north"}}
+						<a href="{{ .URL }}" data-vars-event="accuhit" data-vars-event-type="9" data-vars-event-col1="門市據點" data-vars-event-col2="門市據點">{{ .Name }}</a>
+					{{ else if eq .URL "/blog"}}
+						<a href="{{ .URL }}" data-vars-event="accuhit" data-vars-event-type="9" data-vars-event-col1="設計專欄" data-vars-event-col2="設計專欄">{{ .Name }}</a>
+					{{ else if eq .URL "https://lihi1.com/9tO7F"}}
+						<a href="{{ .URL }}" data-vars-event="accuhit" data-vars-event-type="9" data-vars-event-col1="線上預約" data-vars-event-col2="官網天的預約">{{ .Name }}</a>
+					{{ end }}
 				</li>
 				{{ end }}
 			{{ end }}

+ 10 - 1
themes/hugo-lamp/layouts/partials/widgets/taxonomy_category.html

@@ -4,8 +4,17 @@
   {{- if not (eq (len site.Taxonomies.categories) 0) }}
   <ul class="widget-category-list">
     {{- range $name, $items := site.Taxonomies.categories }}
+
+    {{ if eq $name "home_aesthetics"}}
+      <li><a href="{{ `categories/` | relLangURL }}{{ $name | safeHTML | lower }}" data-vars-event="accuhit" data-vars-event-type="5" data-vars-event-col1="居家美學" data-vars-event-col2="篩選_官網設計專欄居家美學">{{ $name | safeHTML }}</a></li>
+    {{ else if eq $name "home_inspection_knowledge"}}
+      <li><a href="{{ `categories/` | relLangURL }}{{ $name | safeHTML | lower }}" data-vars-event="accuhit" data-vars-event-type="5" data-vars-event-col1="驗屋知識" data-vars-event-col2="篩選_官網設計專欄驗屋知識">{{ $name | safeHTML }}</a></li>
+    {{ else if eq $name "room_planner_expertise"}}
+      <li><a href="{{ `categories/` | relLangURL }}{{ $name | safeHTML | lower }}" data-vars-event="accuhit" data-vars-event-type="5" data-vars-event-col1="規劃師QA" data-vars-event-col2="篩選_官網設計專欄規劃師QA">{{ $name | safeHTML }}</a></li>
+    {{ end }}
+
     <!-- <li><a href="{{ `categories/` | relLangURL }}{{ $name | urlize | lower }}">{{ $name | title | humanize }}</a></li> -->
-    <li><a href="{{ `categories/` | relLangURL }}{{ $name | safeHTML | lower }}">{{ $name | safeHTML }}</a></li>
+    <!-- <li><a href="{{ `categories/` | relLangURL }}{{ $name | safeHTML | lower }}">{{ $name | safeHTML }}</a></li> -->
     {{- end }}
   </ul>
   {{- end }}