Skip to content

Commit f060d82

Browse files
author
SPRINX0\prochazka
committed
collect referer
1 parent 4f89a39 commit f060d82

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

layouts/shortcodes/download.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@ <h2>Please provide your e-mail address</h2>
110110
</div>
111111
</div>
112112

113+
<div class="field">
114+
<label class="label">How did you hear about DbGate? - optional</label>
115+
<div class="control">
116+
<input class="input" type="text" placeholder="Your answer here helps us very much" oninput="emailChanged()" style="width: 400px"
117+
id="referer-input" />
118+
</div>
119+
</div>
120+
121+
113122
<div class='is-flex is-flex-direction-row is-justify-content-space-between is-align-items-end'
114123
style="margin-top: 50px">
115124
<a class="button is-medium is-primary is-static" id="download-button">
@@ -133,6 +142,7 @@ <h2>Please provide your e-mail address</h2>
133142
platform,
134143
link,
135144
job_title: document.getElementById('job-title-select').value,
145+
referer: document.getElementById('referer-input').value,
136146
event,
137147
action: 'close'
138148
}
@@ -150,6 +160,7 @@ <h2>Please provide your e-mail address</h2>
150160
platform,
151161
link,
152162
job_title: document.getElementById('job-title-select').value,
163+
referer: document.getElementById('referer-input').value,
153164
event,
154165
action: 'download',
155166
}

0 commit comments

Comments
 (0)