Do you have a form in a lightbox on your page with multiple buttons set up to open it?
You can also see this in action (built in Unbounce) here:
How to Install in Unbounce
Click Here for Instructions
WARNING: YOU ARE ENTERING DEVELOPER TERRITORY
Step 1: Add the Script
Make note of the ID’s for you lightbox buttons as they will need to be added to the script.
Step 2: Edit the Script
Next you’ll need to edit the parameters you wish to add to the button. These can be edited in the script where it says “plan=bronze”:
The parameters can be anything you like. Separate multiple parameters with an “&” symbol. For example:
Step 3: Pass the data
Make sure you have a field in your form to capture the parameter you are adding with the lightbox button. In the example I am using the parameter “plan”, so I have a field in my form that has an ID of “plan”. The same goes for any dynamic text. Make sure the parameter assigned to the text matches the parameter you added in step 2.
Step 4: Celebrate
There is no step 4 really. You’re done! Go kick back and relax or run some tests
Want to take your Unbounce landing pages + Convertables™ to the next level?
Check out the Ultimate List of Unbounce Tips, Scripts & Hacks