-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgrowth.html
173 lines (171 loc) · 7.69 KB
/
growth.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>E-commerce Revenue Growth Calculator</title>
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1">
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://gtm.vreeman.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-WKSDWK');</script>
<style>
html {
overflow-y: scroll;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
margin: 1% auto;
padding: 0 3%;
max-width: 30em;
font: 1.125em/1.6 BlinkMacSystemFont, -apple-system, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
footer, small {
font-size: 80%;
}
b, dt, strong {
font-weight: 700;
}
h1, h2, h3 {
line-height: 1.2;
}
a {
background-color: transparent;
}
code {
font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
font-size: 1em;
}
input, textarea {
width: 95%;
display: block;
padding: .5em 1%;
font-size: 1em;
}
input, textarea, fieldset {
margin-bottom: 1.5em;
}
textarea {
margin-top: 1.5em;
resize: vertical;
}
</style>
<link rel="canonical" href="https://vreeman.com/">
<meta name="referrer" content="no-referrer">
<meta name="robots" content="noindex,follow">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Growth">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<meta name="theme-color" content="#000">
</head>
<body>
<noscript><iframe src="https://gtm.vreeman.com/ns.html?id=GTM-WKSDWK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<header>
<h1>Revenue Growth Calculator</h1>
<p><a href="https://vreeman.com/">Home</a> | <a href="https://vreeman.com/tools">Tools</a></p>
</header>
<!-- https://form.jotformeu.com/70175677375365 -->
<form>
<fieldset>
<legend>Conversion Growth</legend>
<select id="conversionrate" required>
<option value="1">0%</option>
<option value="1.025">2.5%</option>
<option value="1.05">5%</option>
<option value="1.1" selected>10%</option>
<option value="1.2">20%</option>
<option value="1.3">30%</option>
<option value="1.4">40%</option>
<option value="1.5">50%</option>
<option value="1.6">60%</option>
<option value="1.7">70%</option>
<option value="1.8">80%</option>
<option value="1.9">90%</option>
<option value="2">100%</option>
<option value="2.1">110%</option>
</select>
<label for="conversionrate">Increase in % of transactions / visitors</label>
</fieldset>
<fieldset>
<legend>Average Order Value Growth</legend>
<select id="ordervalue" required>
<option value="1">0%</option>
<option value="1.025">2.5%</option>
<option value="1.05">5%</option>
<option value="1.1" selected>10%</option>
<option value="1.2">20%</option>
<option value="1.3">30%</option>
<option value="1.4">40%</option>
<option value="1.5">50%</option>
<option value="1.6">60%</option>
<option value="1.7">70%</option>
<option value="1.8">80%</option>
<option value="1.9">90%</option>
<option value="2">100%</option>
<option value="2.1">110%</option>
</select>
<label for="ordervalue">Increase in % of revenue / transactions</label>
</fieldset>
<fieldset>
<legend>Visitor Growth</legend>
<select id="visitors" required>
<option value="1">0%</option>
<option value="1.025">2.5%</option>
<option value="1.05">5%</option>
<option value="1.1" selected>10%</option>
<option value="1.2">20%</option>
<option value="1.3">30%</option>
<option value="1.4">40%</option>
<option value="1.5">50%</option>
<option value="1.6">60%</option>
<option value="1.7">70%</option>
<option value="1.8">80%</option>
<option value="1.9">90%</option>
<option value="2">100%</option>
<option value="2.1">110%</option>
</select>
<label for="visitors">Increase in % of visitors</label>
</fieldset>
<fieldset>
<legend>Revenue Growth</legend>
<label for="revenue">Current Revenue</label>
<input type="number" name="revenue" id="revenue" value="1000" min="0" placeholder="Enter current revenue that is subject to this change" required>
</fieldset>
<button type="button" onclick="calcResults()">Calculate growth</button>
</form>
<h2>Results</h2>
<ul>
<li>Revenue Growth Multiplier: <span id="multiplier">1.33</span></li>
<li>Incremental Revenue: <span id="incrementalrevenue">331</span></li>
<li>New Revenue: <span id="newrevenue">1,331</span></li>
</ul>
<hr>
<footer>
<p>Vreeman.com is the personal website of Simon Vreeman.</p>
<dl>
<dt>Privacy & Cookie Policy</dt>
<dd>Vreeman.com uses Google Analytics (<code>_ga</code>, <code>FPID</code>, & <code>FPLC</code>), and Google Tag Manager Server-side to measure and analyze anonymous user behavior data to improve the website in an ethical manner.</dd>
<dt>Colophon</dt>
<dd>Vreeman.com uses Cloudflare Pages to ensure it loads fast and the source code is hosted on Github.</dd>
<dt>Licenses</dt>
<dd>Text is licensed under <a href="https://creativecommons.org/licenses/by/4.0/" rel="license" title="Creative Commons Attribution 4.0 International License" data-vars-outbound-text="Creative Commons License" data-vars-outbound-link="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. <code></></code> is licensed under <a href="https://opensource.org/licenses/MIT" rel="license" title="MIT License" data-vars-outbound-text="MIT License" data-vars-outbound-link="https://opensource.org/licenses/MIT">MIT License</a>.</dd>
</dl>
</footer>
<script>
function calcResults() {
var conversionrate = document.getElementById("conversionrate").value;
var ordervalue = document.getElementById("ordervalue").value;
var visitors = document.getElementById("visitors").value;
var revenue = document.getElementById("revenue").value;
var setMultiplier = document.getElementById("multiplier");
var setIncrementalrevenue = document.getElementById("incrementalrevenue");
var setNewrevenue = document.getElementById("newrevenue");
var getMultiplier = conversionrate * ordervalue * visitors;
var getNewrevenue = revenue * getMultiplier;
var getIncrementalrevenue = ( revenue * getMultiplier ) - revenue;
setMultiplier.innerHTML = (Math.round(getMultiplier * 100) / 100).toLocaleString();
setNewrevenue.innerHTML = (Math.round(getNewrevenue * 100) / 100).toLocaleString();
setIncrementalrevenue.innerHTML = (Math.round(getIncrementalrevenue * 100) / 100).toLocaleString();
}
</script>
</body>
</html>