URL Parameters

URL Parameters

dg-widget-launch

The widget can be maximised on page load when the current page url contains the parameter dg-widget-launch.

Example:

www.google.com?dg-widget-launch

The parameter can be assigned a value, which is then included as metadata.

Example:

www.google.com?dg-widget-launch=productRecommendation

Will result in the following being added as a flow input:

{
  "metadata": {
    "launchQuery": "productRecommendation"
  }
}

⚠️ For this functionality to work, you must ensure you haven't explicitly set isDialogMaximised: false in config.