app/template/default/Block/footer_2.twig line 1

Open in your IDE?
  1. {% block stylesheet %}
  2.     <link rel="stylesheet" href="{{ asset('assets/css/footer.css', 'user_data') }}?{{ 'now'|date('His') }}">
  3.     <link rel="stylesheet" href="{{ asset('assets/css/footer_sp.css', 'user_data') }}?{{ 'now'|date('His') }}">
  4. {% endblock %}
  5. {% block javascript %}
  6.     <script>
  7.         $(function() {
  8.             {% set current_domain = app.request.getHost() %}
  9.             {% set is_prod = 'web-order.shikomel.com' in current_domain %}
  10.             {% set is_stg = 'web-order-stg.shikomel.com' in current_domain %}
  11.             // フッタクリックイベント
  12.             {% if is_prod %}
  13.                 $('.footerLinkArea dd a').on('click', function(event) {
  14.                     const linkText = $(this).text().trim();
  15.                     const linkHref = $(this).attr('href');
  16.                     
  17.                     fbq('trackCustom', 'ce_click_link', {
  18.                         content_type: "ClickLink",
  19.                         content_name: linkText,
  20.                         value: 10
  21.                     });
  22.                     window.dataLayer.push({
  23.                         event: 'ce_click_link',
  24.                         custom_event_name: 'ce_click_link',
  25.                         custom_link_name: linkText,
  26.                         custom_link_url: linkHref,
  27.                         custom_customer_id: '',
  28.                         custom_user_agent: $("#user_agent").val(),
  29.                         custom_is_ig: $("#is_ig").val(),
  30.                         custom_is_line: $("#is_line").val(),
  31.                         custom_referer: $("#referer").val(),
  32.                         custom_real_ip: $("#real_ip").val(),
  33.                     });
  34.                     _lt('send', 'cv', {
  35.                         type: 'ce_click_link'
  36.                     },['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
  37.                     
  38.                 });
  39.             {% endif %}
  40.         });
  41.     </script>
  42. {% endblock javascript %}
  43. <section class="footerAboutactive footerLinkArea">
  44.     <dl class="footerAboutactiveBlock">
  45.         <dt class="footerAboutactiveTitle">有名店で実際に使われているOEM商品が並ぶプロ専用通販サイト</dt>
  46.         <dd class="footerAboutactiveText">シコメルストアは実店舗のレシピで仕込みをした、プロ専用仕込み済みメニューが並ぶ業界初の通販です。</dd>
  47.     </dl>
  48.     <div class="footerAboutactiveSubBlock">
  49.         <dl class="footerAboutactiveSubBox">
  50.             <dt class="footerAboutactiveSubTitle">シコメルについて</dt>
  51.             <dd><a href="https://corp.shikomel.com/business/introduction">事業内容</a></dd>
  52.             <dd><a href="https://corp.shikomel.com/business/story">事業開発ストーリー</a></dd>
  53.             <dd><a href="https://corp.shikomel.com/about-us#company">会社概要</a></dd>
  54.         </dl>
  55.     </div>
  56. </section>