app/template/default/Karte/view_item.twig line 1

Open in your IDE?
  1. <script type="text/javascript">
  2.     try {
  3.         krt("send", "view_item", {
  4.             "item_id": {{ goods.goodsId }},
  5.             "name": "{{ goods.goodsName }}",
  6.             // "price": "NUMBER",
  7.             "item_url": "{{ Karte.item_url }}",
  8.             // "item_image_url": "STRING",
  9.             "l_category_name": "{% if goods.mainCategory is not empty %}{{ goods.mainCategory.mainCategoryName }}{% endif %}",
  10.             "s_category_name": "{% if goods.mainCategory is not empty %}{{ goods.mainCategory.categoryName }}{% endif %}",
  11.             "l_category_cd": "{% if goods.mainCategory is not empty %}{{ goods.mainCategory.mainCategoryWebname }}{% endif %}",
  12.             "s_category_cd": "{% if goods.mainCategory is not empty %}{{ goods.mainCategory.categoryWebname }}{% endif %}",
  13.             // "favorite_num": "NUMBER",
  14.             // "review_num": "NUMBER",
  15.         })
  16.     } catch (e) {
  17.         if ("krt" in window) {
  18.             krt("send", "_error", {message: e.message});
  19.         } else {
  20.             console.warn("tracker was not loaded");
  21.         }
  22.     }
  23. </script>