"gifted track" is rarely a set program. It's usually a mechanism for providing individually paced opportunities and resources [edit: added this phrase] _at a different/specific school_.
Where I live, you get tested whenever your parents want you to be tested, and if they pass the advanced learning at the point, they can choose to elect for the 'advanced school(s)'.
_edited for clarity_