Skip to content

Shopify App: Extending with Custom Functionality

While the Relewise Shopify app offers many features out of the box, you can extend its functionality with custom implementations. To facilitate this, Relewise exposes a global object called ShopifyRelewise that provides access to core functionality.

Accessing the User Object

The ShopifyRelewise object includes a getUser function that returns the user object needed to search, track or recommend using Relewise.

javascript
const user = ShopifyRelewise.getUserAsync();

Don't know us? Don't worry - you can find more information about us, by visiting our main page www.relewise.com