Skip to content

Notificare/notificare-go-web

Repository files navigation

Notificare GO

Supported custom events

Use the built-in custom events to create and experiment with automations! 🤖

Event Description
page_viewed.home Submitted when the home tab is displayed.
page_viewed.cart Submitted when the cart tab is displayed.
page_viewed.settings Submitted when the settings tab is displayed.
page_viewed.inbox Submitted when the inbox is displayed.
page_viewed.user_profile Submitted when the user profile is displayed.
page_viewed.events Submitted when the events builder is displayed.
page_viewed.products Submitted when the products list is displayed.
page_viewed.product_details Submitted when the product details is displayed.
add_to_cart Submitted when the user adds a product to the cart. ¹
remove_from_cart Submitted when the user removes a product from the cart. ¹
cart_updated Submitted when the cart is updated. ²
cart_cleared Submitted when the cart is cleared.
purchase Submitted when the user completes a purchase. ²
product_viewed Submitted when the user view the details of a product. ¹

¹ Data object includes a ProductRepresentation.

² Data object includes a ProductsOverviewRepresentation.

Event data schemas

ProductRepresentation
{
  id: String
  name: String
  price: Double
  price_formatted: String
}
ProductsOverviewRepresentation
{
  total_price: Double
  total_price_formatted: String
  total_items: Int
  products: Array<ProductRepresentation>

Local Development

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd notificare-go-web
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint
  • npm run lint:fix

Building

  • ember build (development)
  • ember build --environment production (production)

Further Reading / Useful Links