diff --git a/index.html b/index.html index 5bbf298..fbe6058 100644 --- a/index.html +++ b/index.html @@ -118,6 +118,12 @@ ga('create', 'UA-51053608-1', 'lillamacarons.com'); ga('send', 'pageview'); + + var trackOutboundLink = function(url) { + ga('send', 'event', 'outbound', 'click', url, {'hitCallback': function () { + document.location = url; + } + });