Web Component Attributes
Here is a list of all the attributes available on the "epigraph-configurator" web component.
id
Type: String [ Optional ]
Default: undefined
Description: Regular HTML element id that would be later used to get a reference to this web component. Even though it's marked optional, we highly recommend to set an id.
disable-ui
Type: Flag [ Optional ]
Default: false
Description: Controls whether a default UI would be loaded with the configurator.
client-access-key
Type: String
Default: undefined
Description: A unique key that would be provided by the Epigraph team. This key gets used to validate the authenticity of the domain that this web component is being hosted on. Please note that you would need a key for every domain that you would like to use this web component on, including the staging domain.
ga-code
Type: String
Default: undefined
Description: If you would like Epigraph to track analytics events on your behalf related to interactions with the Configurator, add a Measurement ID from Google Analytics 4. To retirieve your Measurement ID, head to https://analytics.google.com and select the account that you would like to collect analytics for. From there head to the Admin settings, select Data Streams, and select the project you would like to collect from. Once selected, a view with the Stream ID and Measurement ID will show up. A Measurement ID should look something like G-ZXCSDFWERQ
. Paste this Measurement ID in the ga-code attribute and events will be captured.