This tutorial is for the OptimizePress Get Parameters Shortcode plugin which is only available as part of the OptimizePress PlusPack. If you do not have the plus pack, click here to find out how you can upgrade your account
The OptimizePress Get Parameters Plugin allows you to grab a value passed through the URL of your page and embed it into the page content. This can be useful for customizing page content for traffic sent from your email list, or by customizing links on pages to send traffic from certain sources to certain URLs (for example customising the order link for certain customers).
In order to use a value from a URL parameter, you need to use the shortcode:
[op_get_param param="promoCode" default="111"]
This example would look for the parameter "promoCode" and grab the value and embed it in the page. We have also specified a default value here (this is optional) so that if no value is passed through, this default value will be used.
An example of the URL to pass this value might be:
This would place the value "123" on your page or wherever specified by the shortcode. If no value was passed through, the value would default to 111 as specified in the shortcode. If no default value is specified, there would be no value shown.
You cannot use the get param shortcode inside of the Optin form elements inside OptimizePress. If you want to pass values to these elements, please see this tutorial