You can configure your chatbot to add parameters to URLs it sends to your users. For example, to add analytics data when your chatbot sends a link to your website, or a pre-formatted search-string that takes users to a specific page of results in a web shop.
Each parameter consists of a name and a value and is appended to the URL as part of the URL query string. You can use constants and variables within the values to build them dynamically.
You can add URL parameters to either:
- All URLs your chatbot sends to your users.
- Only URLs that exactly match one or more paths you define.
This selection applies to all URL parameters you create. You cannot specify different parameters to be appended to different URLs. You can also delete URL parameters.
Add URL parameters to all URLs
To add URL parameters to all URLs the chatbot sends to your users:
- Select your team and the chatbot you want to edit.
- Open the Manage section of the left navigation and click Settings.
- Click URL Parameters.
- Make sure Enable URL Parameters is selected.
- Leave to all Web URLs selected.
- If a parameter has already been defined, click + URL parameter to add another.
- Type a Name for the parameter.
Parameter names do not need to be unique. - Type the Value you want to send.
Type @ to add variables or constants. Entities are not available in URL parameter values. - Click Save.
Add URL parameters to specific URLs
To add URL parameters only to specific URLs:
- Select your team and the chatbot you want to edit.
- Open the Manage section of the left navigation and click Settings.
- Click URL Parameters.
- Make sure Enable URL Parameters is selected.
- Select to specific Web URLs.
- Type the Web URL you want to add parameters to.
- Select a Matching Method of either:
-
Exact to only send the parameters to this exact URL.
For example, parameters would be added to www.example.com, but not www.example.com/support.htm -
Inc. Sub Paths to send the parameters to this URL and any sub-pages or paths.
For example, parameters would be added to www.example.com, and to www.example.com/support.htm
-
Exact to only send the parameters to this exact URL.
- If you want to specify more URLs, click + Web URL.
- If a parameter has already been defined, click + URL parameter to add another.
- Type a Name for the parameter.
Parameter names do not need to be unique. - Type the Value you want to send.
Type @ to add variables or constants. Entities are not available in URL parameter values. - Click Save.
Delete URL parameters
If you have defined more than one URL parameter, you can delete them from the URL Parameters settings page:
- Select your team and the chatbot you want to edit.
- Open the Manage section of the left navigation and click Settings.
- Click URL Parameters.
- Click the menu to the right of the parameter you want to delete.
The menu only appears if you have defined more than one parameter. - Click Delete.
If you have only defined one URL parameter, the parameter can only be disabled:
- Select your team and the chatbot you want to edit.
- Open the Manage section of the left navigation and click Settings.
- Click URL Parameters.
- Unselect Enable URL Parameters.
- Click Save.
Comments
Article is closed for comments.