Adapt analytics event tracking code to universal analytics