Skip to main content
All CollectionsReportsReport Types
Rebuy Reporting for Headless Stores
Rebuy Reporting for Headless Stores
Christian Sokolowski avatar
Written by Christian Sokolowski
Updated over 2 weeks ago

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 key / value pair is mandatory and cannot be altered. This will tell Rebuy that it was added from a recommendation/widget and to show it in our reporting.


The use of the key name _source is required and cannot be altered. This will trigger Rebuy analytics to collect the data. In the event that you're already using the key _source for your line item properties that will need to be changed in order to allow your headless Rebuy reports to work correctly.
​
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

Did this answer your question?