Before starting, please read this article to learn more about Gameball events engine:
How does Challenge Event(s) Rules Engine work?

IMPORTANT NOTE:

You can control what events should be sent to Gameball and what shouldn't through Gameball plugin page on your Wordpress dashboard as shown below:

Available WooCommerce (Wordpress) events on Gameball:

add_to_cart

This event will be sent to Gameball when your player adds a product to your WooCommerce store cart.

Keys

  • category: Product category of the product added to cart (fashion, electronics.. etc). This will be based on the available categories on your WooCommerce store
  • discounted: A flag indicates if this product has a discount applied on it or not
  • price: Product price
  • tag: Product tag assigned to this product. This will be based on the available tags on your WooCommerce store
  • vendor: Product brand/vendor inside this order (zara, nike.. etc). This will be based on the available vendors on your WooCommerce store
  • weight: Product weight

_______________

remove_from_cart

This event will be sent to Gameball when your player removes a product from your WooCommerce store cart.

Keys

  • category: Product category of the product added to cart (fashion, electronics.. etc). This will be based on the available categories on your WooCommerce store
  • price: Product price
  • tag: Product tag assigned to this product. This will be based on the available tags on your WooCommerce store
  • weight: Product weight

_______________

view_cart

This event will be sent to Gameball when your player views the cart page of your WooCommerce store cart.

Keys

  • products_count: Number of products inside the cart
  • total: Total price of all items inside the cart

_______________

order_completed

Description

This event will be sent to Gameball when your player places an order on your platform completely (completely means that the order status is Completed on WooCommerce).

Keys

  • category: Product category of the order (fashion, electronics.. etc). It can be one category or multiple categories based on how many items in the order. This will be also based on the available categories on your WooCommerce store
  • discounted: A flag indicates if there is any product in the order has a discount applied or not
  • price: Total order price
  • tag: Product tag of the order. It can be one tag or multiple tags based on how many items in the order. This will be also based on the available tags on your WooCommerce store
  • vendor: Product brand/vendor inside this order (zara, nike.. etc). It can be on brand or multiple brands to be sent at the same time. This will be also based on the available vendors on your WooCommerce store
  • weight: Order weight

IMPORTANT NOTE:
order_completed event will not be sent to Gameball unless the order status is "Completed" on WooCommerce to avoid any potential fraud cases for payment methods like COD (Cash on delivery).

_______________

review

This event will be sent to Gameball when your player writes a review on a product.

Keys

  • category: Product category of the product added to cart (fashion, electronics.. etc). This will be based on the available categories on your WooCommerce store
  • discounted: A flag indicates if this product has a discount applied on it or not
  • tag: Product tag assigned to this product. This will be based on the available tags on your WooCommerce store
  • vendor: Product brand/vendor inside this order (zara, nike.. etc). This will be based on the available vendors on your WooCommerce store
  • weight: Product weight

_______________

view_product_page

Description

This event should be sent when your player views a product page on your Shopify store.

Keys

  • category: Product category of the product added to cart (fashion, electronics.. etc). This will be based on the available categories on your WooCommerce store
  • discounted: A flag indicates if this product has a discount applied on it or not
  • price: Product price
  • stock: Available stock from this product on your WooCommerce inventory
  • tag: Product tag assigned to this product. This will be based on the available tags on your WooCommerce store
  • vendor: Product brand/vendor inside this order (zara, nike.. etc). This will be based on the available vendors on your WooCommerce store
  • weight: Product weight

_______________

All the above events can be used in both challenges events engine and while sending an in-app message as well.

Did this answer your question?