The following parameters can be specified in the insertWidget() call:
|
Parameter |
Description |
Default |
Example |
Mandatory |
|---|---|---|---|---|
|
|
(Optional) Set to true to allow text content to overflow the widget unit size in the vertical direction. |
false |
|
No |
|
|
Context. The "context" for the request, often a URL. |
N/A |
ctx=http%3A%2F%2Fwww.cxense.com |
No |
|
|
(Optional) Delay the widget impression and rendering until the widget area becomes visible (scrolled into view) |
false |
|
No |
|
|
(Optional) The URL of the render template to use for the layout of the widget |
N/A |
|
No |
|
|
Set this flag to true to get HTTPS-versions of click URLs and content URLs |
false |
useSecureUrls=true |
No |
|
|
(Optional) Use the render template that has been mapped to this widget in the Render Template Mapper |
false |
|
No |
|
|
It specifies the tag of the rendering part. |
|
|
|
|
|
It specifies the tag of the insert part. |
|
|
|
|
|
(Optional) Reference to a function that will received a callback when receiving impressions results |
N/A |
|
No |
|
|
The id of any element to insert the widget before in the DOM tree |
|
|
|
|
|
(Optional) For synchronous approach (The asynchronous version is recommended.) |
false |
|
No |
|
|
The Widget identifier |
N/A - obtain from the UI/API. |
|
Yes |
|
|
Width dimension of the widget. |
|
|
No |
|
|
Height dimension of the widget |
|
|
No |