Append the utm_source parameter to all form-triggered OR button-triggered downloads
<!-- START code add utm_source parameter to form download links -->
<script type="text/javascript">var tagify="INSTAPAGE_ALLOW_TAGIFY"</script>
<script>
$(document).ready(function() {
var downloadLink = $('input[name="download_file"]').val();
downloadLink = downloadLink + '?utm_source=[utm_source]';
$('input[name="download_file"]').val(downloadLink);
});
</script>
<!-- END code add utm_source parameter to form download links --><!-- START code add utm_source parameter to button download links -->
<script type="text/javascript">var tagify="INSTAPAGE_ALLOW_TAGIFY"</script>
<script>
$(document).ready(function() {
var downloadLink = $('a[href^="//storage.googleapis.com/instapage-user-media/"]').attr('href');
downloadLink = downloadLink + '?utm_source=[utm_source]';
$('a[href^="//storage.googleapis.com/instapage-user-media/"]').attr('href', downloadLink);
});
</script>
<!-- END code add utm_source parameter to button download links -->