forked from thunderrabbit/mankind-project-japan
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What This embeds the registration form into our site so that we can get google analytics about how many people make it through to the form itself. This also modifies all of the join links to just go to the new /form endpoint which is literally just the embedded google form. Going forward, this let's us see how many impressions of the form we're getting versus how many direct impressions of the site we're getting to give us an estimate of how many people really click through to the form and are interested in joining. This combined with number of intake means we can try and calculate if a change to the site has actual effects to conversion.
- Loading branch information
1 parent
8d1069b
commit 2e26cd3
Showing
6 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% assign s = site.data.strings['form'] %} | ||
<section id="{{ s.id }}"> | ||
<style> | ||
.spinner { | ||
position:absolute; | ||
text-align: center; | ||
} | ||
|
||
.loader { | ||
border: 16px solid #f3f3f3; /* Light grey */ | ||
border-top: 16px solid #3498db; /* Blue */ | ||
border-radius: 50%; | ||
width: 120px; | ||
height: 120px; | ||
animation: spin 1s linear infinite; | ||
text-align: center; | ||
} | ||
|
||
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(360deg); } | ||
} | ||
</style> | ||
<div id="spinner" class="spinner"> | ||
<div class="loader"></div> | ||
</div> | ||
<iframe src="{{ s.join_url }}" width="100%" height="3200px" frameborder="0" marginheight="0" marginwidth="0" onload="document.getElementById('spinner').style.display='none';">Loading…</iframe> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: single | ||
navbarClass: 'navbar-shrink' | ||
permalink: /form/ | ||
title: The Mankind Project Japan Registration Form | ||
--- | ||
|
||
{% include form.html %} |