Add conditional tracking codes

Add conditional code to render tracking codes only in production env