/
Widget Guid
Widget Guid
widgetGuid
The widgetGuid
option default value is null
. This options allows user clicks tracking in Recommendations
The widgetGuid
value is updated once when the widget is initialized if guid s added in the template
Options
updating the config:
const config = {
...
widgetGuid: "54b6a4361e1006c7",
...
};
var widget = HawksearchVue.createWidget(component, { config: config });
HawksearchVue.initialSearch(widget);
adding
widgetGuid
in Vue data component
<div data-component="vue-app-spa"
...
data-widget-guid=""
...
</div>
adding
widgetGuid
the Recommendation component<recommendations widget-guid="..."></recommendations>
Related content
Widget Unique ID
Widget Unique ID
More like this
Client Guid
Client Guid
More like this
Creating widgets with Vue SDK
Creating widgets with Vue SDK
More like this
API URL
API URL
More like this
Recommendations with Vue SDK
Recommendations with Vue SDK
More like this
Track Event URL
Track Event URL
More like this