Hey
@fresh-football-47124 and
@brief-honey-45610.
We are trying to run GrowthBook in Checkout Extension.
Security info by Shopify:
Checkout UI extensions are a safe and secure way to customize the appearance and functionality of the checkout page without compromising the security of checkout or customer data.
⢠They run in an isolated sandbox, separate from the checkout page and other UI extensions.
⢠They don't have access to sensitive payment information or the checkout page itself (HTML or other assets).
⢠They are limited to specific UI components and APIs that are exposed by the platform.
⢠They have limited access to
global web APIs.
⢠Apps that wish to access
protected customer data, must submit an application and are subject to strict security guidelines and review proccesses by Shopify.
We have these limitations from Shopify:
'You can't override the CSS for UI components. The checkout UI will always render the merchant's own branding as shown in the image in the UI components section above.
Checkout UI extensions don't have access to the DOM and can't return DOM nodes. They can't return <div>
elements, for example. Building an arbitrary tree of HTML and loading additional scripts using script tags are also not supported.'
The idea is to get Feature value, for example, boolean: ON/OFF. If
OFF we don't generate an Extension if
ON we generate it.
What should we use to implement this? Maybe API?
------
The next question is tracking Data, Shopify has
Custom Pixels, and I think that we can create that one for sending data to GrowthBook from checkout.
Thank you in advance!
cc:
@echoing-park-17810