Tracking link maths

How long does a tracking link need to be?