By tag: js

Track external link clicks with Google Universal Analytics

Google Analytics and the newer Univeral Analytics are useful ways of keeping track of how users interact with your site. If you want to track which external links are clicke...


Why you should use react.js unminified during development

Facebook’s React javascript library is gaining popularity. When using third party javascript code, it’s easy to download the minified version and develop against that as you’ll want the minified version in production anyway.

React, however, is an example of why this isn’t always the bes...


Show a cookie policy notice on first site visit

Sites in various parts of the world, for example the UK, need to display information to visitors about their use of cookies. This is typically done with a cookie information page and a notice which appears on a user’s first visit to the site.

Many sites store the fact that a user has seen t...