Skip to content

Commit 7ef6fed

Browse files
author
Sachin Maheshwari
committed
adding utm codes
1 parent c22ada9 commit 7ef6fed

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

web-assets/js/signup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ $(document).ready(function () {
4949
document.getElementById("signup").action = qs["formAction"];
5050
document.getElementById("state").value = qs["state"];
5151
document.getElementById("source").value = qs["source"] || null;
52+
document.getElementById("utmMedium").value = qs["utmMedium"] || null;
53+
document.getElementById("utmCampaign").value = qs["utmCampaign"] || null;
5254
document.getElementById("signup").submit();
5355
}
5456
},

web-assets/static-pages/signup.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ <h1 id="page-title-heading" class="page-title-heading clip-me">
5353
<form method="GET" id="signup" action="#">
5454
<input id="state" name="state" value="" type="hidden" />
5555
<input id="source" name="source" value="" type="hidden" />
56+
<input id="utmCampaign" name="utmCampaign" value="" type="hidden" />
57+
<input id="utmMedium" name="utmMedium" value="" type="hidden" />
5658
<div id="hd" class="input-field active">
5759
<label for="handle">Enter your handle</label>
5860
<input

0 commit comments

Comments
 (0)