export old segment object as dataLayer to analytics