Using the fragment portion of the URL to pass campaign parameters

If the anchor portion of the URL contains Google Analytics custom campaign parameters (i.e., UTM parameters), those parameters get kept in the anchor and sent to Google Analytics for processing, unless the allowAnchor field is set to false (reference this Google Developers help page.