Search for answers:
The OptimizePress Support Site Has Moved: Click here to access the new Support site

Using the Get Parameters Shortcode Plugin

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:

http://www.yourwebsite.com/?promoCode=123

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.

Important Notes

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

 

 

Didn't find an answer to your question? Contact Our Support Team (Submit a ticket)
Was this article helpful?
0 out of 3 found this helpful
Follow

Comments

Other Help Categories:

Get Started Guide

Watch our Ultimate Getting Started guide video

Pre-Sales Questions

Ask questions before purchasing our products

Login Problems

If you're having issues logging into our members hub

Accounts & Billing

Update your billing, request a refund and other accounts help

API Key Issues

Get help with licensing your site and API key issues

Membership Help

Get help creating Membership portals and courses

LiveEditor Help

If you need help using or troubleshooting the LiveEditor

Integrations

Find out about the many integrations possible with OptimizePress

Affiliate Questions

Have questions about promoting OptimizePress

Clubhouse Questions

Questions about our Clubhouse Membership Subscription