{% set sd_cookie_utm = app.request.cookies.get(constant('App\\Helper\\Utm::SD_UTM_COOKIE_NAME'))|utms %}
{% if sd_cookie_utm %}
$('.form_utmsource').val('{{ sd_cookie_utm.utm_source }}');
$('.form_utmmedium').val('{{ sd_cookie_utm.utm_medium }}');
$('.form_utmcampaign').val('{{ sd_cookie_utm.utm_campaign }}');
$('.form_utmterm').val('{{ sd_cookie_utm.utm_term }}');
$('.form_utmcontent').val('{{ sd_cookie_utm.utm_content }}');
$('.form_gclid').val('{{ sd_cookie_utm.gclid }}');
{% endif %}