Make a constant for AMP and extract code for fetching the parameter into its own method