replace t,am with gtm links