Any such triggered abilities trigger when the act of playing the card has been completed by the resolution of the card. 1. If a game effect prevents the resolution of the card—for example, because the card was countered—abilities that trigger on playing cards will not trigger. See rule 425. Counter for more information.
§ 419.4.a Core Rules PDF (officieel)
§ 419 Play
§ 419.4 Some Abilities trigger when cards are played or otherwise check whether cards have been played.