Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spryker analytics #2880

Merged
merged 35 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1faeb33
add qs guides
andriitserkovnyi Oct 21, 2024
e012c05
Merge branch 'master' into spryker-analytics
andriitserkovnyi Oct 21, 2024
582df08
docs
andriitserkovnyi Oct 22, 2024
52efa96
Update amazon-quicksight-feature-overview.md
andriitserkovnyi Oct 22, 2024
e0042ff
Update set-up-amazon-quicksight.md
andriitserkovnyi Oct 22, 2024
0f3daca
refresh
andriitserkovnyi Oct 23, 2024
fafbf6d
data sets
andriitserkovnyi Oct 23, 2024
373038a
Merge branch 'master' into spryker-analytics
andriitserkovnyi Oct 23, 2024
8fad0ab
bi
andriitserkovnyi Oct 23, 2024
d4a375c
Update business-intelligence.md
andriitserkovnyi Oct 24, 2024
ce07ebe
Update amazon-quicksight-feature-overview.md
andriitserkovnyi Oct 24, 2024
87869d6
version
andriitserkovnyi Oct 24, 2024
bb5c3e2
Update amazon-quicksight-feature-overview.md
andriitserkovnyi Oct 24, 2024
99ea41d
docs
andriitserkovnyi Oct 25, 2024
f5ac719
Merge branch 'master' into spryker-analytics
andriitserkovnyi Oct 29, 2024
13283c3
Update best-practices-analyzing-shop-data.md
andriitserkovnyi Oct 30, 2024
fa6e254
Merge branch 'master' into spryker-analytics
andriitserkovnyi Nov 1, 2024
abf27a8
Update best-practices-analyzing-shop-data.md
andriitserkovnyi Nov 3, 2024
2a70be7
fix bug
andriitserkovnyi Nov 3, 2024
b6a92b5
Update amazon-quicksight-feature-overview.md
andriitserkovnyi Nov 3, 2024
71c14d6
Merge branch 'master' into spryker-analytics
andriitserkovnyi Nov 6, 2024
dc03332
move
andriitserkovnyi Nov 6, 2024
f430ac1
Update best-practices-analyzing-shop-data.md
andriitserkovnyi Nov 6, 2024
b0652f9
links
andriitserkovnyi Nov 6, 2024
8835881
Merge branch 'master' into spryker-analytics
andriitserkovnyi Nov 7, 2024
bd501d2
Merge branch 'master' into spryker-analytics
andriitserkovnyi Nov 16, 2024
728db9b
comments
andriitserkovnyi Nov 18, 2024
fc564b6
Update amazon-quicksight.md
andriitserkovnyi Nov 18, 2024
5b9a89f
Update amazon-quicksight.md
andriitserkovnyi Nov 19, 2024
a57f4aa
comments
andriitserkovnyi Nov 21, 2024
7b2308c
comments
andriitserkovnyi Nov 23, 2024
42a09f9
Merge branch 'master' into spryker-analytics
andriitserkovnyi Nov 25, 2024
f158671
rename
andriitserkovnyi Nov 25, 2024
c7b4e62
Merge branch 'master' into spryker-analytics
andriitserkovnyi Nov 25, 2024
d3ce4e1
links
andriitserkovnyi Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ versioned_categories:
pbc:
all:
- back-office
- business-intelligence
- cart-and-checkout
- carrier-management
- content-management-system
Expand Down
19 changes: 17 additions & 2 deletions _data/sidebars/pbc_all_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ entries:
url: /docs/pbc/all/back-office/unified-commerce/install-and-upgrade/install-the-spryker-core-back-office-warehouse-user-management-feature.html


- title: Business Intelligence
url: /docs/pbc/all/business-intelligence/business-intelligence.html
include_versions:
- "202410.0"
nested:
- title: Amazon QuickSight third-party integration
url: /docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/amazon-quicksight.html
nested:
- title: Set up Amazon QuickSight
url: /docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/set-up-amazon-quicksight.html
- title: "Best practices: Analyzing shop data"
url: /docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/best-practices-analyzing-shop-data.html
- title: Refresh analytics datasets
url: /docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/back-office-refresh-analytics-datasets.html

- title: Carrier Management
url: /docs/pbc/all/carrier-management/carrier-management.html
nested:
Expand Down Expand Up @@ -1231,7 +1246,7 @@ entries:
- title: Import stores
url: /docs/pbc/all/dynamic-multistore/base-shop/import-stores.html
include_versions:
- "202410.0"
- "202410.0"

- title: Marketplace
nested:
Expand Down Expand Up @@ -1572,7 +1587,7 @@ entries:
- title: View merchants
url: /docs/pbc/all/merchant-management/marketplace/manage-in-the-back-office/manage-merchants/view-merchants.html
include_versions:
- "202410.0"
- "202410.0"

- title: Manage merchant users
nested:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
---
title: Amazon QuickSight
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
description: Amazon QuickSight overview
template: concept-topic-template
last_updated: Oct 24, 2024
---

Amazon QuickSight brings customizable and powerful business intelligence tools to the Back Office.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

## Data sources and data sets
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

This feature supports data from Spryker projects and third-party systems. When you set up Amazon QuickSight, the data from your project is available by default, and you can add other data sources if needed.

![QuickSight-datasets](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/amazon-quicksight.md/qs-data-sets.png)

For more details on data sources, see [Supported data sources](https://docs.aws.amazon.com/quicksight/latest/user/supported-data-sources.html).

### Extending project data for analytics

By looking at datasets, you can see what data from your project is available for adding to analytics. By default, for each dataset, only the data that can be useful for analytics is available from a respective database table. For example, the Customer dataset doesn't include customer passwords.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

You can extend the data available to datasets on the project level. For more details, see [Install Amazon QuickSight]().



### Refreshing data

To make datasets up to date, you need to refresh them by resyncing data from your project or third-party systems.

You can refresh data manually or automatically by setting up a schedule per data set.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved


![refresh-dataset](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/amazon-quicksight.md/refresh-dataset.png)

For instructions, see [Refresh analytics datasets](/docs/pbc/all/business-intelligence/202410.0/amazon-quicksight-third-party-integration/back-office-refresh-analytics-datasets.html).




## User management and permissions


When working with analytics, users can have the following roles:
* Author: can view, create, and edit assets.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
* Reader: can view assets.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

<!--
To give a Back Office user access to analytics, you need to assign one of these roles to them. For instructions, see [Create users]() and [Edit users]().

-->

The analytics roles are derived from Amazon QuickSight and are separate from the [Back Office user roles](/docs/pbc/all/user-management/{{page.version}}/base-shop/manage-in-the-back-office/best-practices-manage-users-and-their-permissions-with-roles-and-groups.html).


## Analyses and dashboards

In Amazon QuickSight, you are going to work with analyses and dashboards.

An analysis is a customizable visual representation of data. Using the provided tools, you can manipulate your data to extract and present the most important information.

Each analysis can contain multiple data visualizations, which can be rearranged and customized.


![QuickSight-analyses](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/amazon-quicksight.md/qs-analysis.png)


A dashboard is a representation of data prepared in an analysis. It serves as a published version of data analysis, which can be shared with other users.

![QuickSight-dashboard](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/amazon-quicksight.md/qs-dashboard.png)


Both analyses and dashboards are shareable, you can share a complete dashboard or collaborate on an analysis.

![QuickSight-sharing](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/amazon-quicksight.md/qs-sharing.png)

You can share dashboards with authors and readers, and analyses – only with authors.

### Default dashboards
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

For those new to Amazon QuickSight analytics, while you're learning how to create your own dashboards, you can start using the default dashboards right away.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

The feature is shipped with the following dashboards.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

#### Sales dashboard
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

* Track sales performance over time
* Gain insights into orders and return rate
* Monitor discounts, product categories, brands
* Monitor the usage of payment and shipping methods

#### Products dashboard
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

* Track performance of products
* Monitor availability and returns
* Analyze top-selling items, category distribution, and trends in shopping lists and customer carts


#### Customers dashboard
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

Track the following customer metrics:
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
* Order number and value
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
* Registration trends
* Locations
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
* Demographics
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved


#### Marketplace dashboard
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
* Track marketplace performance with insights into merchant status and commission
* Get an overview of merchant orders, products, and offers


andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

## Resetting analytics


Sometimes you might want to start from scratch and get a fresh analytics account. Resetting analytics removes all assets and returns your account to the default state.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

![reset-analytics](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/amazon-quicksight.md/reset-analytics.png)
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: "Back Office: Refresh analytics datasets"
description: Learn how to refresh analytics datasets in the Back Office.
last_updated: Oct 24, 2024
template: back-office-user-guide-template
related:
---

This document describes how to refresh datasets manually and on a schedule.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's please add here a small section talking about SPICE (https://docs.aws.amazon.com/quicksight/latest/user/spice.html)

I think users need to understand what it is in general, as it is a paid line item (500 GB is included, we don't have to mention it) in the QS SKU.

the main idea is to talk about the benefits of SPICE:
(from AWS page):

  • Your analytical queries process faster.
  • You don't need to wait for a direct query to process.
  • Data stored in SPICE can be reused multiple times without incurring additional costs. If you use a data source that charges per query, you're charged for querying the data when you first create the dataset and later when you refresh the dataset.

Screenshot 2024-11-15 at 16 48 58

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we also need to add the possibility on how to check the current SPICE usage in the top right corner under QS > Datasets > New Dataset.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you referring to this?
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I believe it is the only way how to check the capacity for the customer.



## Refresh an analytics dataset

1. In the Back Office, go to **Analytics**.
2. On the **Analytics** page, go to **Datasets**.
This opens the **Datasets** section.
3. Click the dataset you want to refresh data for.
This opens the dataset's details.
4. Click the **Refresh** tab.
5. Click **REFRESH NOW**.
6. In the **Refresh type** window, select **Full refresh**.
7. In the **Confirm refresh** window, click **REFRESH**
This refreshes the page. A new refresh entry is displayed in the **History** pane. You can check the status of the refresh in the **Status** column.


## Set up a schedule to refresh an analytics data set automatically
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

1. In the Back Office, go to **Analytics**.
2. On the **Analytics** page, go to **Datasets**.
3. Click the dataset you want to refresh data for.
This opens the dataset's details.
4. Click the **Refresh** tab.
5. Click the **ADD NEW SCHEDULE** button.
6. In the **Create a refresh schedule** window, select **Full refresh**.
7. For **Time zone**, select a time zone according to which you want to set up a schedule.
8. For **Start time**, choose a date and time to start refreshing the dataset.
9. For **Frequency**, select how often you want to refresh the dataset.
10. If you selected **Weekly** or **Monthly** in the previous step, for **Refresh on**, select a day to refresh the dataset on.
11. Click **Save**.
This closes the window and displays the added refresh schedule in the **Schedules** pane.
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
---
title: "Best practices: Analyzing shop data"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
title: "Best practices: Analyzing shop data"
title: "Best practices: Working with Analytics"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Working with Analytics" means editing options. "Analyzing shop data" could also be the use case for viewing the dashboards, which is obviously not part of this section.

description: Learn how to analyze and present shop data.
last_updated: Oct 24, 2024
template: back-office-user-guide-template
related:
---

Amazon Quicksight is a powerful business intelligence tool. It's highly customizable and has a lot of tools that can't be covered in one document. This document describes a typical use case and how you can start working with analytics, but doesn't cover all the editing options.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

For more insights into creating analyses and dashboards, see [Author Workshop](https://catalog.workshops.aws/quicksight/en-US/author-workshop).
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

## Prerequisites

[Set up Amazon QuickSight](/docs/pbc/all/business-intelligence/202410.0/amazon-quicksight-third-party-integration/set-up-amazon-quicksight.html)


## Optional: Back up the default analysis
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

The Analytics feature is shipped with a default analysis that can be useful while you're learning how to create your own. If you need to play around with the existing analysis, we recommend duplicating the default one as follows:
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

1. In the Back Office, go to **Analytics**.
2. On the **Analytics** page, click **Analyses**.
3. Click on **MASTER Analysis**.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
4. On the page of the analysis, click **File**>**Save as Analysis**.
5. In the **Save a copy** window, enter an **Analysis name**.
6. Click **SAVE**.
This duplicates the analysis and opens it. Now you can safely play around with this duplicate or the original analysis.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved



## Refresh data
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

In this example, you're going to create an analysis with product availability data. Because availability is constantly changing, it's important for data to be up to date.

To refresh product related datasets, do the following:
1. On the **Analytics** page, go to **Datasets**.
2. In the **Datasets** section, click on the **Product Concrete Availability** dataset.
This opens the dataset's details.
3. Click the **Refresh** tab.
4. Click **REFRESH NOW**.
5. In the **Refresh type** window, select **Full refresh**.
6. In the **Confirm refresh** window, click **REFRESH**
This refreshes the page. A new refresh entry is displayed in the **History** pane. You can check the status of the refresh in the **Status** column.
7. To go back to the list of datasets, cilck **< Datasets**.
8. Repeat steps 2-7 for all the other product datasets, like **Product Concrete + Store**
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

Now the data is fresh and you can use it to create an anlysis.


## Create an analysis

Analysis is basically a visualization of data in your datasets. To create one, follow the steps:

1. On the **Analytics** page, go to **Analyses**.
2. In the **Analyses** section, click **New analysis**.
3. In the **Your Datasets** section, click on the **Order Totals (Custom SQL)** dataset.
This opens the dataset's details.
4. Click **USE IN ANALYSIS**.
This creates an analysis called **Order Totals (Custom SQL)** with one visual.

### Edit the visual

In this example, you're going to create a product availability visual:

1. To select the visual, click on it.
2. In the **Data** pane, click on **Availability**.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
This highlights the field and adds its data to the visual.
3. In **Visuals** select the pie chart.
This shows the data as a pie chart.

![concrete-product-availability](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/best-practices-analyzing-shop-data.md/concrete-product-availability.png)


### Add one more visual

1. Go to **Data** > **Add Dataset**.
2. In the **Choose dataset to add** window, click on **Category + Localized Product Abstract**.
3. Click **Select**
This shows a success message and the **Datasets in this analysis** window. Click **Close** to close the window.
4. In the **Visuals** pane, click **+ADD**.
This adds an empty visual to the sheet.
5. Click on the visual you've added.
6. In the **Data** pane, for **Dataset**, select **Category + Localized Product Abstract**.
7. Add the **name[spy_category_attribute]** as a dimension to the **Y AXIS** section.
8. Add the **sku** field as a measure to the **VALUE** field.

![product-per-category](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/best-practices-analyzing-shop-data.md/product-per-category.png)

9. Name of the visual is inherited from the fields you've added. To make it presentable, double-click the name.
10. In the **Edit title** window, enter a name for the visual. For example, `Products per category`.
11. To apply the change, click **Save**.

This closes the the window and the new name of the visual is displayed.

Now you know how to add data and format it in different ways. For more information on how to create analyses, see [Author Workshop](https://catalog.workshops.aws/quicksight/en-US/author-workshop).
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved


## Add filters

1. In the toolbar, click the filter button.

2. In the **Filters** pane, click **+ ADD** and select **store**.
This adds the filter to the pane.
3. To edit the filter, click on it.
4. To apply the filter to all the visual in the sheet, for **Applied to**, select **Single sheet**.
5. To add filter controls, click the three dots next to the filter and select **Add control**>**Top of this sheet**.
This adds the filter controls to the top of the sheet.

![store-filter](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/best-practices-analyzing-shop-data.md/store-filter.png)


## Share the analysis

If you want another author to collaborate with you on the analysis, you can share it.

To share an analysis, follow the steps:

1. On the page of the analysis, go to **File** > **Share**.
2. In the **Share analysis**, enter and select the email address of the author to share the analysis with.
This displays the user in the table.
3. Repeat the previous step until you've added all the authors you want to share the analysis with.
4. Click **Share**
This closes the window. The added users can now edit the analysis.

{% info_block infoBox "Manage permissions" %}

You can check and manage permissions of all users to an analysis in **File**>**Share**>**Manage analysis permissions**.

{% endinfo_block %}




## Publish analysis as a dashboard and share

Most of your analytics users will have view permissions. When you're ready to share the analysis with a wider audience, you need to publish it as a dashboard. Users with view permissions can access only dashboards.
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

To publish and share a dashboard, follow the steps:

1. To publish a dashboard, on the page of an analysis click **PUBLISH**.
2. For **Publish new dashboard as**, enter a name for the dashboard.
3. To confirm, click **Publish dashboard**.
This publisher the dashboard and opens its page.

![published-dashboard](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/business-intelligence/amazon-quicksight-third-party-integration/best-practices-analyzing-shop-data.md/published-dashboard.png)

4. To share the dashboard, in the top-right corner, click the share icon and select **Share dashboard**.
This opens the **Share dashboard** page.
5. In the **Invite users and groups to dashboard** pane, start entering the email address of a user.
This shows users with matching email addresses as you're typing.
6. Next to the needed user, click **ADD** and select the permissions to assign to them.
This shows the user in the **Manage permissions** pane with the permissions you've assigned.


## Conclusion
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved

In this guide, you've followed a typical user journey of creating, collaborating, and presenting data in a meaningful way. Now you can play around with these tools or learn by following [Author Workshop](https://catalog.workshops.aws/quicksight/en-US/author-workshop).
andriitserkovnyi marked this conversation as resolved.
Show resolved Hide resolved
Loading
Loading