Zid Hybrid Apps empower developers to inject custom Javascript scripts, both global and event-specific directly into a merchantβs storefront. By running these scripts on the client-side, you can create dynamic interactions, enabling you to enhance customer engagement and event tracking.
With Zid's API, you can inject global scripts that automatically execute when the storefront page loads. These scripts offer a dynamic way to implement client-side functions, such as loading JavaScript utility files or adding features that enhance the user experience across the entire site.
The Customer global object provides real-time information about the currently logged-in customer. However, it's crucial to design your script to account for scenarios where no user is logged in, as the Customer object will be empty in such cases.
Zid enables you to inject JavaScript functions that are triggered by specific storefront events, allowing you to create tailored, responsive experiences. By tying your custom code to key user actions, such as adding items to a cart, you can dynamically enhance the shopping experience in real-time.
We're expanding supported events and improving API responses. Your feedback is key β share your ideas to help us enhance the platform!
To begin injecting scripts into a merchant's store, your need to create an app with the "Extra Addons" scope enabled. This scope grants your app the necessary permissions to deploy custom scripts, ensuring seamless integration with the storefront.
After your hybrid app is ready, reach out to our team for script injection approval through the dashboard chat widget or via email at appmarket@zid.sa. Once you've achieved trusted partner status, future scripts will be automatically injected without the need for approval.