diff --git a/bin/vendor/deploy.sh b/bin/vendor/deploy.sh
deleted file mode 100755
index 6f94fa0..0000000
--- a/bin/vendor/deploy.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-set -e
-
-analytics_file="../bin/vendor/analytics.html"
-layout_file="$(dirname $0)/../../views/layout.pug"
-
-# Replace analytics script in layout
-distro=`uname`
-if [[ $distro != 'Linux' ]]; then
- sed -i '' 's,'",include $analytics_file"',g' "$layout_file"
-else # If running on macOS, the sed command has different syntax
- sed -i 's,'",include $analytics_file"',g' "$layout_file"
-fi
diff --git a/views/layout.pug b/views/layout.pug
index 6e023ff..eb3cbcb 100644
--- a/views/layout.pug
+++ b/views/layout.pug
@@ -126,72 +126,73 @@ html
a(href='https://github.com/contentful' target='_blank' rel='noopener')
svg
use(xlink:href='/icons/icons.svg#github')
-section.modal#about-this-modal
- .modal__overlay.close
- .modal__wrapper
- h1.modal__title= translate("modalTitle", currentLocale.code)
- .modal__content
- p
- | #{translate("modalIntro", currentLocale.code)}
- a(href="https://github.com/contentful/the-example-app.nodejs" target="_blank" rel="noopener") Github
- | .
- p
- | #{translate("modalSpaceIntro", currentLocale.code)}
- a(href="https://github.com/contentful/content-models/blob/master/the-example-app/README.md " target="_blank" rel="noopener") #{translate("modalSpaceLinkLabel", currentLocale.code)}
- | .
- p= translate("modalPlatforms", currentLocale.code)
- ul
- li
- img(src='/images/icon-nodejs.svg')
- br
- a(href=`https://the-example-app-nodejs.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
- br
- a(href="https://github.com/contentful/the-example-app.nodejs" rel="noopener" target="_blank") GitHub
- li
- img(src='/images/icon-dotnet.svg')
- br
- a(href=`https://the-example-app-csharp.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
- br
- a(href="https://github.com/contentful/the-example-app.csharp" rel="noopener" target="_blank") GitHub
- li
- img(src='/images/icon-ruby.svg')
- br
- a(href=`https://the-example-app-rb.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
- br
- a(href="https://github.com/contentful/the-example-app.rb" rel="noopener" target="_blank") GitHub
- li
- img(src='/images/icon-php.svg')
- br
- a(href=`https://the-example-app-php.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
- br
- a(href="https://github.com/contentful/the-example-app.php" rel="noopener" target="_blank") GitHub
- li
- img(src='/images/icon-python.svg')
- br
- a(href=`https://the-example-app-py.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
- br
- a(href="https://github.com/contentful/the-example-app.py" rel="noopener" target="_blank") GitHub
- li
- img.inactive(src='/images/icon-swift.svg')
- br
- = translate("comingSoonLabel", currentLocale.code)
- li
- img(src='/images/icon-java.svg')
- br
- a(href=`https://the-example-app-java.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
- br
- a(href="https://github.com/contentful/the-example-app.java" rel="noopener" target="_blank") GitHub
- li
- img.inactive(src='/images/icon-android.svg')
- br
- = translate("comingSoonLabel", currentLocale.code)
- .modal__cta-wrapper
- a.modal__cta.close(href="#")= translate("modalCTALabel", currentLocale.code)
- .modal__close-wrapper
- a.modal__close-button.close(href="#")
- svg
- use(xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/icons/icons.svg#cross")
+ section.modal#about-this-modal
+ .modal__overlay.close
+ .modal__wrapper
+ h1.modal__title= translate("modalTitle", currentLocale.code)
+ .modal__content
+ p
+ | #{translate("modalIntro", currentLocale.code)}
+ a(href="https://github.com/contentful/the-example-app.nodejs" target="_blank" rel="noopener") Github
+ | .
+ p
+ | #{translate("modalSpaceIntro", currentLocale.code)}
+ a(href="https://github.com/contentful/content-models/blob/master/the-example-app/README.md " target="_blank" rel="noopener") #{translate("modalSpaceLinkLabel", currentLocale.code)}
+ | .
+ p= translate("modalPlatforms", currentLocale.code)
+ ul
+ li
+ img(src='/images/icon-nodejs.svg')
+ br
+ a(href=`https://the-example-app-nodejs.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
+ br
+ a(href="https://github.com/contentful/the-example-app.nodejs" rel="noopener" target="_blank") GitHub
+ li
+ img(src='/images/icon-dotnet.svg')
+ br
+ a(href=`https://the-example-app-csharp.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
+ br
+ a(href="https://github.com/contentful/the-example-app.csharp" rel="noopener" target="_blank") GitHub
+ li
+ img(src='/images/icon-ruby.svg')
+ br
+ a(href=`https://the-example-app-rb.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
+ br
+ a(href="https://github.com/contentful/the-example-app.rb" rel="noopener" target="_blank") GitHub
+ li
+ img(src='/images/icon-php.svg')
+ br
+ a(href=`https://the-example-app-php.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
+ br
+ a(href="https://github.com/contentful/the-example-app.php" rel="noopener" target="_blank") GitHub
+ li
+ img(src='/images/icon-python.svg')
+ br
+ a(href=`https://the-example-app-py.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
+ br
+ a(href="https://github.com/contentful/the-example-app.py" rel="noopener" target="_blank") GitHub
+ li
+ img.inactive(src='/images/icon-swift.svg')
+ br
+ = translate("comingSoonLabel", currentLocale.code)
+ li
+ img(src='/images/icon-java.svg')
+ br
+ a(href=`https://the-example-app-java.herokuapp.com/${queryStringSettings}` rel="noopener" target="_blank")= translate("hostedLabel", currentLocale.code)
+ br
+ a(href="https://github.com/contentful/the-example-app.java" rel="noopener" target="_blank") GitHub
+ li
+ img.inactive(src='/images/icon-android.svg')
+ br
+ = translate("comingSoonLabel", currentLocale.code)
+ .modal__cta-wrapper
+ a.modal__cta.close(href="#")= translate("modalCTALabel", currentLocale.code)
+ .modal__close-wrapper
+ a.modal__close-button.close(href="#")
+ svg
+ use(xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/icons/icons.svg#cross")
- script(src='/scripts/index.js')
+ script(src='/scripts/index.js')
-
+ if process.env.TRACKING
+ include ./tracking.pug
diff --git a/bin/vendor/analytics.html b/views/tracking.pug
similarity index 83%
rename from bin/vendor/analytics.html
rename to views/tracking.pug
index f393a57..b3098ff 100644
--- a/bin/vendor/analytics.html
+++ b/views/tracking.pug
@@ -1,15 +1,11 @@
-
-
-
-
-
-
-