nsc_Visitor.getPageParams()

Returns the Javascript object (a set of key-value pairings) where keys are the names of the current page request string parameters.

Example

If the current page URL address looks as follows:

http://www.somedomain.com/somepage/?param1=testvalue&param2=123

requesting "nsc_Visitor.getLandingPageParams()" will return the following structure:

{
    param1    : "testvalue",
    param2    : "123"
}
Please note! All parameter values are strings. It is the case even if they constitute numeric values. To carry out arithmetic operations, values will need to be cast to numeric types.

See also


All rights reserved. Copyright © 2017 Netrox SC
Host CMS