Award Winning Web Design of the Year!

A few months ago I’ve been contacted by Lux Magazine because someone (thank you anyway whoever you are :-)) had sent a request to evaluate my website for the web designer of the year Award.

They told me they were reviewing my website and I’d have heard from them if my website was shortlisted for the final stage of the Award.

A few weeks later they got in contact with me because they liked the design of my website so I was close to win the 2019 Award.

And just a few days ago I’ve got the news: I’ve won the web designer of the year 2019 – Italy Award!

I’m proud to announce it and I’ve very thankful to the person who sent the request in the first place.

Thanks to Lux Magazine as well for have picked my website for the Award.

You can check the Award page here and have more information about their Awards here.

Posted in IT

Make Google Analytics GDPR Compliant

If you are here I’m sure you know what the GDPR is. In this post I want to explain you how to make Google Analytics GDPR compliant in 5 simple steps:

1) Anonymize the ips

You can anonymize the ips you send to Google Analytics simply editing your code or enabling the option in the plugin/module you use to publish the javascript code. To edit the code just add the anonymize_ip option to your configuration. Here is an example:

    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-XXXX-XX', { 'anonymize_ip': true });

2) Disable data collection for advertising

Basically you need to turn off these settings in your analytics account:

3) Update your data retention settings

From the screen above click on the Data Retention link on the left hand side menu. Update the settings as you wish and save it.

4) Check that you’re not sending personal data to Google

To do it analyse the urls you’re sending from this screen:

You can use the keyword filter to be sure there are no personal data in your url:


5) Explain how you use Google Analytics in your privacy policy

The GDPR asks websites owners to be transparent so be clear about it. Update your privacy policy and be sure that the data processing is clearly stated.

If you think I’ve missed something please write a comment in the box below.

If you need a freelance developer to help you out whit these changes just contact me!

Posted in IT

What if .git/info/exclude doesn’t work

Git is very useful if you work in a team or you want to keep your project versioned. Sometimes though you want to ignore specific files which are specific to your repository and you don’t want to share this setting with other repositories.

To do it you can simply put the path to ignore in the .git/info/exclude file.

Today I did it for a new project but git kept tracking the path I needed to ignore. Luckily there is a simple command that allows you to tell git to assume that a file is always unchanged. To do it just write it in your terminal:

git update-index --assume-unchanged path/to/exclude

To revert this settings just write:

git update-index --no-assume-unchanged path/to/exclude

I hope this tip will be useful for you. If you have something to say about it just leave a comment below.

Posted in IT