When a medication is injected directly into muscle, it is called an intramuscular injection (IM). The Z-track method is a type of IM injection technique used to prevent tracking (leakage) of the medication into the subcutaneous tissue (underneath the skin).