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>
Â