In order to get Rebuy reporting to work for your headless store you will need to add custom line item properties to any product added from a recommendation/widget.
β
The first property you need to add is:
β
"_source: Rebuy"
This will tell Rebuy that it has been added from a recommendation/widget and to show it in our reporting.
β
Next will you want to add an attribution property to specify a specific widget or place on your site.
β
You will do that like so:
"_attribution: test widget"
You can replace test widget with any custom property for all your different use cases.
That custom attribution property will then show in your Rebuy Reports