This documentation is for Magento 1.x. For Magento 2.x, see here.

Configuration

To configure Google Cloud Pub/Sub Event Analytics, log into the admin panel and navigate to SystemConfigurationGoogle Cloud Pub/Sub Event Analytics (left sidebar).

General Settings

  1. Enable Google Cloud Pub/Sub Event Analytics: Disabled by default. Event data will not be sent unless the extension is enabled first.
  2. Google Cloud Platform Project: The name of the GCP project. You can find this information through Google Cloud Platform Console.
  3. JSON Key File Path: Path to JSON key file. Relative paths are relative to the Magento root directory. For more information on service account keys, see here. To generate a service account key, see here.
  4. Initialize Cloud Pub/Sub Topic: Enabled by default. If a Cloud Pub/Sub topic does not exist, it will be created.

General Settings

Event Settings

  1. Events: Trackable events. Each event has associated fields, which will display while the event selection is activated.

Available Events:

Event Settings

  1. {event} Event Cloud Pub/Sub Topic: The name of the Cloud Pub/Sub topic for the event. If Initialize Cloud Pub/Sub Topic is set to Yes, the topic will be initialized using this value.
  2. {event} Message Type: The type of message to include in the Cloud Pub/Sub Data field.
  3. Custom {event} Message: User-defined message to include in the Cloud Pub/Sub Data field.
  4. {event} Attributes: Attributes to include in the Cloud Pub/Sub Attributes field.

Order Save Event Settings