Skip to content
Browse files

Add Privacy link to the footer

  • Loading branch information...
marcomontalbano committed Sep 19, 2019
1 parent 2f945a8 commit e22270b61f7e48e55b1ca71a2a95225f84267814
Showing with 13 additions and 2 deletions.
  1. +9 −0
  2. +2 −0 netlify.toml
  3. +2 −2 src/index.html
@@ -79,3 +79,12 @@ This will start the client server on http://localhost:8080, and the netlify-lamb
[netlify-lambda]( isn’t required to deploy Lambda functions to Netlify, but it offers some handy features out of the box that make it quicker to get started, like the local dev server and nice defaults for transpiling and bundling functions in production.

The client server is configured to proxy `/.netlify` requests to the Lambda server (see [webpack.client.js](webpack.client.js)). This is the same behavior the site has when it’s deployed to Netlify.

## Privacy

Google Analytics is used to record the following:

* [Basic visit data](
* `referer` or `video url` to track api usage.

By clicking on `convert to markdown` or consuming api you accept this terms & condition; no additional data is sent to the server.
@@ -4,4 +4,6 @@
functions = "dist/server"

NODE_ENV = "Node Environment"
CLOUDINARY_CLOUD_NAME = "Cloudinary Cloud Name"
GA_TRACKING_ID = "Google Analytics Tracking ID"
@@ -27,8 +27,7 @@
<meta name="theme-color" content="#ffffff">
(function() {
var isProd = location.hostname === '';
if (isProd) {
if (process.env.NODE_ENV === 'production' && process.env.GA_TRACKING_ID) { = || function () { (ga.q = ga.q || []).push(arguments) }; ga.l = +new Date;
ga('create', process.env.GA_TRACKING_ID, 'auto');
ga('send', 'pageview');
@@ -175,6 +174,7 @@ <h2>API</h2>

<a rel="noopener noreferrer" href="" target="_blank">Marco Montalbano</a>
<a rel="noopener noreferrer" href="" target="_blank">Privacy</a>
<a rel="noopener noreferrer" href="" target="_blank"><i class="fab fa-github"></i> GitHub</a>

0 comments on commit e22270b

Please sign in to comment.
You can’t perform that action at this time.