Google Analytics Shopping Behaviour Funnel by Eivind Savio

To be able to analyze your product performance it is necessary to gather data about the customer onboarding process. To do so I will give you an easy 2 step guide to setup enhanced e-commerce tracking in Google Analytics. The final result will be a Google Analytics E-Commerce section, fed with data of impressions, clicks, add-to-cart and purchases sent by the Google Tag Manager.

Everything works, because I provide you a “magic javascript tracking script”, that reads all necessary information from your DOM and sent them to Google Analytics in the right format. Read on and be surprised, it has…


Until now Webfont generation was a big pain point. We handled it by adding SVG to our Git repositories and compiling a new version of the webfont using NPM or CLI scripts in our build process. Explain this to your designer — they will hate it! Let’s make it easy!

  1. Create a folder on S3
  2. Drop some SVGs in it
  3. Wait 5 seconds and reload
  4. Your done! Really!

These files have been generated automatically for you:

  1. html file containing a preview of all your icons, instructions how to use the font. DEMO
  2. Font files: ttf, eot, woff, woff2, svg
  3. CSS…


I had to handle high traffic loads in my career and I fought with down-time, not used memory and a lot of trouble in my past. In this article I want to give a step-by-step guide to apache2 performance settings, which is a concentrated result of a lot of reading and trying.

My environment

Precalculation of average memory usage and maxclients/max-children

1. Calculate process size

You need to know how many processes can run on your machine. …


After two days of struggeling I finally made it to have my code breaking within PHPStorm and Visual Studio code. To make it easier for you I will write down a step-by-step guide, host my code in a Github repository and link all references, which helped my with the setup.

My environment is:

  • Windows 10 Pro using Hyper-V virtualization
  • Docker for Windows

References:

Collect necessary information

  1. You need to know the local IP address of your docker host. You can get it in windows like this:


After trying to debug a legacy app on my computer it was necessary to run an apache vhost using php 5.6, but my apache was running on php 7.1.

After some Google research this solution finally worked for me:

Install php 5.6 and 7.1 as fpm

  1. Install php 5.6 and php7.1 fpm including dev-tools
sudo su
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install libapache2-mod-fastcgi php5.6-fpm php5.6 php5.6-dev php5.6-mcrypt php5.6-mbstring php5.6-mysql php5.6-zip php5.6-gd php5.6-xml php7.1-fpm libapache2-mod-fastcgi php7.1-fpm php7.1 php7.1-dev php7.1-mbstring php7.1-mysql php7.1-zip php7.1-gd php7.1-xml php7.1-curl php7.1-intl php7.1-json php7.1-mcrypt

Enable all necessary Apache modules:

a2enmod actions 
a2enmod fastcgi

Configure Apache default vhost

Add handlers for both version to your default Apache vhost

<IfModule mod_fastcgi.c>…


I registered a new domain (ssml.io) and I want to use it to host a static website using S3 and Cloudfront. For this website I want an SSL connection using a AWS Certificate Manager certificate.

To finish this setup you have to go through these steps:

  1. Create an S3 bucket and upload your index.html file
  2. Create a cloudfront distribution pointing to this S3 bucket
  3. Setup Domain MX records using SES to receive the SSL certificate domain validation email
  4. Request a new SSL certificate in region us-east-1 (!)
  5. Assign the certificate to your Cloudfront distribution

I assume that you already have…

Sebastian Buckpesch

I write about AWS and cloud topics. I’m interested in User experience, Web, Internet of things and Automation. Portfolio: https://buckpesch.io/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store