Methods of Adding Data to Parameters
David Rolenc avatar
Written by David Rolenc
Updated over a week ago

Parameters are able to be specified to the scripts by the following methods.

  • Using query parameters

  • Using cookie parameters

  • Using fixed value

  • Editing personally

Using Query Parameters

When the query parameter method is used, our script takes the parameter value from the specified variable in the URL.

In the example below, the value in a query parameter “myQueryParamName” is saved to our parameter External ID.

"externalId": {queryParam: "myQueryParamName"}

Using Cookie Parameters

When the cookie parameter method is used, our script takes the parameter value from the specified cookie.

In the example below, the value present in a cookie “myCookieName” is saved to our parameter external ID.

"externalId": {cookieParam: "myCookieName"}

Using a Fixed Value

You are able to use fixed values for the parameters which do not change.

"externalId": "12345"

Editing Personally

You are able to replace a value by yourself before running the script. Keep in mind that the value needs to be a valid string, for all the parameters.

Did this answer your question?