Using URL parameters on OptimizePress pages
WARNING: This is an advanced feature - only use this if you know what you're doing
1. First download and install the OptimizePress Get Params Plugin:
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 defau
An example of the URL to pass this value might be:ue will be used.lt val
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.
Send Multiple Parameters to a page
You can also send multiple parameters to a single page. Just separate the parameters with an & symbol like this:
Use 'single quotes' in the shortcode with some elements
Example of proper single quote usage: [op_get_param param='promoCode' default='111']
If you have issues getting things working properly please contact our support team and they will be happy to help.