Skip to content

Commit 7fc68db

Browse files
committed
MC-14937: Complete Page Builder Analytics data collection
- Seperate out analytics collection by domain
1 parent da72054 commit 7fc68db

31 files changed

+2402
-612
lines changed

app/code/Magento/CatalogPageBuilderAnalytics/LICENSE_EE.txt

Lines changed: 437 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Magento_CatalogPageBuilderAnalytics module
2+
3+
The Magento_CatalogPageBuilderAnalytics module configures data definitions for a data collection related to the PageBuilder module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "magento/module-catalog-page-builder-analytics",
3+
"description": "Catalog Page Builder Analytics module",
4+
"config": {
5+
"sort-packages": true
6+
},
7+
"require": {
8+
"magento/module-page-builder-analytics": "*",
9+
"magento/module-catalog": "*",
10+
"magento/framework": "*",
11+
"php": "~7.1.3||~7.2.0"
12+
},
13+
"type": "magento2-module",
14+
"license": [
15+
"proprietary"
16+
],
17+
"autoload": {
18+
"files": [
19+
"registration.php"
20+
],
21+
"psr-4": {
22+
"Magento\\CatalogPageBuilderAnalytics\\": ""
23+
}
24+
}
25+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Analytics:etc/analytics.xsd">
9+
<file name="pagebuilder_category">
10+
<providers>
11+
<reportProvider name="pagebuilder_category" class="Magento\PageBuilderAnalytics\Model\ContentTypeUsageReportProvider">
12+
<parameters>
13+
<name>pagebuilder_category</name>
14+
</parameters>
15+
</reportProvider>
16+
</providers>
17+
</file>
18+
<file name="pagebuilder_product_attributes">
19+
<providers>
20+
<reportProvider name="pagebuilder_product_attributes" class="Magento\PageBuilderAnalytics\Model\ContentTypeUsageReportProvider">
21+
<parameters>
22+
<name>pagebuilder_product_attributes</name>
23+
</parameters>
24+
</reportProvider>
25+
</providers>
26+
</file>
27+
</config>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
9+
<module name="Magento_CatalogPageBuilderAnalytics">
10+
<sequence>
11+
<module name="Magento_Catalog"/>
12+
<module name="Magento_PageBuilderAnalytics"/>
13+
</sequence>
14+
</module>
15+
</config>

app/code/Magento/PageBuilderAnalytics/etc/reports.xml renamed to app/code/Magento/CatalogPageBuilderAnalytics/etc/reports.xml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,6 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Analytics:etc/reports.xsd">
9-
<report name="pagebuilder_page" connection="default">
10-
<source name="cms_page">
11-
<attribute name="content"/>
12-
<link-source name="cms_page_store" link-type="inner">
13-
<using glue="and">
14-
<condition attribute="row_id" operator="eq" type="identifier">row_id</condition>
15-
<condition attribute="store_id" operator="in">0,1</condition>
16-
</using>
17-
</link-source>
18-
<filter glue="and">
19-
<condition attribute="created_in" operator="eq">1</condition>
20-
</filter>
21-
</source>
22-
</report>
23-
<report name="pagebuilder_block" connection="default">
24-
<source name="cms_block">
25-
<attribute name="content"/>
26-
<link-source name="cms_block_store" link-type="inner">
27-
<using glue="and">
28-
<condition attribute="row_id" operator="eq" type="identifier">row_id</condition>
29-
<condition attribute="store_id" operator="in">0,1</condition>
30-
</using>
31-
</link-source>
32-
<filter glue="and">
33-
<condition attribute="created_in" operator="eq">1</condition>
34-
</filter>
35-
</source>
36-
</report>
379
<report name="pagebuilder_category" connection="default">
3810
<source name="catalog_category_entity_text">
3911
<attribute name="value" alias="content"/>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
use \Magento\Framework\Component\ComponentRegistrar;
8+
9+
ComponentRegistrar::register(ComponentRegistrar::MODULE, 'Magento_CatalogPageBuilderAnalytics', __DIR__);

app/code/Magento/CmsPageBuilderAnalytics/LICENSE_EE.txt

Lines changed: 437 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Magento_CmsPageBuilderAnalytics module
2+
3+
The Magento_CmsPageBuilderAnalytics module configures data definitions for a data collection related to the PageBuilder module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "magento/module-cms-page-builder-analytics",
3+
"description": "CMS Page Builder Analytics module",
4+
"config": {
5+
"sort-packages": true
6+
},
7+
"require": {
8+
"magento/module-page-builder-analytics": "*",
9+
"magento/module-cms": "*",
10+
"magento/framework": "*",
11+
"php": "~7.1.3||~7.2.0"
12+
},
13+
"type": "magento2-module",
14+
"license": [
15+
"proprietary"
16+
],
17+
"autoload": {
18+
"files": [
19+
"registration.php"
20+
],
21+
"psr-4": {
22+
"Magento\\CmsPageBuilderAnalytics\\": ""
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)