Skip to content

Commit 080b105

Browse files
authored
FFWEB-3257: Add user-id anonymization for tracking requests
Add `user-id` anonymization for tracking requests
1 parent f819209 commit 080b105

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### Add
44
- Introduce Handlebars.js template engine instead of Mustache.js in SSR
55
- Implement Popular Searches
6+
- Add `user-id` anonymization for tracking requests
67

78
### Update
89
- Update WebComponents library to version 5.1.0

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ modifications in order to fit their needs. For more advanced features please che
3939
- [HTTP Export](#http-export)
4040
- [Console Command](#console-command)
4141
- [Web Component Integration](#web-component-integration)
42-
- [Communication Element](#communication-element)
4342
- [Searchbox Integration and Functions](#searchbox-integration-and-functions)
4443
- [Process of Data Transfer between Shop and FACT-Finder](#process-of-data-transfer-between-shop-and-fact-finder)
4544
- [Using Proxy](#using-proxy)
@@ -49,7 +48,6 @@ modifications in order to fit their needs. For more advanced features please che
4948
- [Changing existing column names](#changing-existing-column-names)
5049
- [Adding new column](#adding-new-column)
5150
- [GenericField usage](#genericfield-usage)
52-
- [Adding custom communication parameter](#adding-custom-communication-parameter)
5351
- [Adding custom product data provider](#adding-custom-product-data-provider)
5452
- [Configure field to be exported from variant](#configure-field-to-be-exported-from-variant)
5553
- [Troubleshooting](#troubleshooting)
@@ -129,12 +127,14 @@ The module uses [Handlebars PHP](https://github.com/salesforce/handlebars-php) l
129127

130128
### Advanced Settings
131129

130+
![Optional Custom Elements](docs/assets/advanced-settings.png "Optional Custom Elements")
131+
132132
Advanced Settings contains additional parameters used for the WebComponents configurations. Each setting is set to a
133133
default value and has a short explanatory text attached.
134134

135135
#### Currency and Country Settings
136-
You don't need to set currency nor country only for module purposes. It will use currently used currency and pass this information to `ff-communication`
137-
component as respectively `currency-code` and `country-code` parameters. You can find these settings under Magento General settings
136+
You don't need to set currency nor country only for module purposes. It will use currently used currency and pass this information to `factfinder init`
137+
component as respectively `currency-code` and `currency-country-code` parameters. You can find these settings under Magento General settings
138138
- [How to configure currency?](https://docs.magento.com/m2/ce/user_guide/stores/currency-configuration.html)
139139
- [How to configure country?](https://docs.magento.com/m2/ce/user_guide/stores/country-options.html)
140140

@@ -317,7 +317,7 @@ You can also instantiate block in templates using the Magento Layout API, but it
317317
https://handlebarsjs.com/
318318

319319
### Configuration Element
320-
The main configuration element of Web Components `communication` element is included in template `src/view/frontend/templates/ff/communication.phtml` which comes together with a dedicated view model `src/ViewModel/Communication.php`.
320+
The main configuration of Web Components is included in template `src/view/frontend/templates/ff/communication.phtml` which comes together with a dedicated view model `src/ViewModel/Communication.php`.
321321
This template is part of the `default` layout, added to the `after.body.start` container.
322322
It is essential for whole module to work, so make sure it is also included in your project.
323323

docs/assets/admin-section.png

55.4 KB
Loading

docs/assets/advanced-settings.png

123 KB
Loading

src/etc/adminhtml/system/advanced.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@
2121
<backend_model>Magento\Config\Model\Config\Backend\Serialized\ArraySerialized</backend_model>
2222
<tooltip>With this property you can deliver standard parameters which will then be attached to the search or navigation request.</tooltip>
2323
</field>
24-
<!-- Anonymize user id will be implemented in the future -->
25-
<!-- <field id="anonymize_user_id" translate="label comment" type="select" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">-->
26-
<!-- <label>Anonymize user id</label>-->
27-
<!-- <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>-->
28-
<!-- <tooltip>Sends hashed user id with tracking requests</tooltip>-->
29-
<!-- </field>-->
24+
<field id="anonymize_user_id" translate="label comment" type="select" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
25+
<label>Anonymize user id</label>
26+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
27+
<tooltip>Sends hashed user id with tracking requests</tooltip>
28+
</field>
3029
</group>
3130
</include>

0 commit comments

Comments
 (0)