For American Airlines, you will get the elite status bonus for the flight that qualifies you for the elite status.
So, if you crossed over the 25,000 mile mark over the Atlantic ocean on your flight from HEL to JFK, you'd get the 25% GLD bonus for the HEL->JFK flight.