The {bb_urldata} module tag allows you the ability to capture information that is appended to a URL. The tag display as the parameter value as Plain Text where placed. More than one value can be captured through the URL by adding an ampersand between parameters.
This module DOES NOT support Liquid.
Syntax
{bb_urldata parameter="param1"}
Parameters
- parameter - This is the name of the query parameter whos value you want to retrieve.
Areas Available
The {bb_urldata} module tag can be placed within these areas.
- Web Pages
- Landing Pages
- Content Holders
Liquid Tags
None.
Example
Passing one value in URL.
{bb_urldata parameter="totalscore"} assuming the URL is mysite.com?totalscore=50 this module will display in plain text 50.
When mulitple values are passed in URL.
{bb_urldata parameter="secondvalue"} assuming the URL is mysite.com?totalscore=50&secondvalue=Red this module will display in plain text Red.