templates/front/templates/utms.html.twig line 1

Open in your IDE?
  1. {% set sd_cookie_utm = app.request.cookies.get(constant('App\\Helper\\Utm::SD_UTM_COOKIE_NAME'))|utms %}
  2. {% if sd_cookie_utm %}
  3.     $('.form_utmsource').val('{{ sd_cookie_utm.utm_source }}');
  4.     $('.form_utmmedium').val('{{ sd_cookie_utm.utm_medium }}');
  5.     $('.form_utmcampaign').val('{{ sd_cookie_utm.utm_campaign }}');
  6.     $('.form_utmterm').val('{{ sd_cookie_utm.utm_term }}');
  7.     $('.form_utmcontent').val('{{ sd_cookie_utm.utm_content }}');
  8.     $('.form_gclid').val('{{ sd_cookie_utm.gclid }}');
  9. {% endif %}