-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from rostilos/develop
v2.1.0 release
- Loading branch information
Showing
24 changed files
with
1,085 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ Traditional connection / with Partytown module: | |
</p> | ||
|
||
![diff](https://github.com/rostilos/perspective-partytown/assets/85498741/cae5b261-8992-4ef9-9761-61a149b1c5fb) | ||
![Screenshot_20250111_073736](https://github.com/user-attachments/assets/16f8e67e-685f-4eb2-897e-725f2158a8f4) | ||
|
||
|
||
|
||
<h2>Requirements: </h2> | ||
|
@@ -22,23 +24,25 @@ Traditional connection / with Partytown module: | |
|
||
<h2>Installing the module</h2> | ||
|
||
<ol> | ||
<li>composer config repositories.perspective-magento2-partytown git [email protected]:rostilos/perspective-partytown.git</li> | ||
<li>composer require perspective/magento2-partytown dev-master</li> | ||
<li>php bin/magento setup:upgrade</li> | ||
<li>bin/magento setup:di:compile</li> | ||
<li>php bin/magento setup:static-content:deploy</li> | ||
<li>Clear all Cache</li> | ||
</ol> | ||
|
||
``` | ||
composer config repositories.perspective-magento2-partytown git [email protected]:rostilos/perspective-partytown.git | ||
composer require perspective/magento2-partytown dev-master | ||
php bin/magento setup:upgrade | ||
bin/magento setup:di:compile | ||
php bin/magento setup:static-content:deploy | ||
php bin/magento cache:clean | ||
php bin/magento cache:flush | ||
``` | ||
|
||
<h2>Updating partytown npm packages </h2> | ||
<p>The library files provided by the npm package @builder.io/partytown are already added to the module files, but in case you want to update them, it is recommended to do the following :</p> | ||
|
||
<ol> | ||
<li>cd _magento-root_/vendor/perspective/magento2-partytown</li> | ||
<li>npm install ( node v16+ required )</li> | ||
<li>npm run partytown</li> | ||
</ol> | ||
``` | ||
cd <project-root>/vendor/perspective/magento2-partytown | ||
npm install ( node v16+ required ) | ||
npm run partytown | ||
``` | ||
|
||
<p>Note that if you update the composer package, or reinstall it, you will revert to the existing version in the repository. This is planned to be fixed in future updates</p> | ||
|
||
|
@@ -64,7 +68,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
|
||
<h2>For correct work it is recommended to specify url to reverse proxy</h2> | ||
|
||
<a href="https://github.com/rostilos/perspective-partytown/blob/2.0.0-alpha/docs/reverse-proxy.md">Example of a self-hosted implementation using nodejs </a> | ||
<a href="https://github.com/rostilos/perspective-partytown/blob/master/docs/reverse-proxy-nodejs.md">Example of a self-hosted implementation using nodejs </a> | ||
|
||
<a href="https://github.com/rostilos/perspective-partytown/blob/master/docs/reverse-proxy-nginx.md">Example of a self-hosted implementation using warden and custom container for revense-proxy ( nginx based ) </a> | ||
|
||
|
@@ -74,3 +78,10 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
<p>Cloudflare Workers can be used as a reverse proxy ( more for testing purposes or for sites with low traffic due to Cloudflare limitations ) proxied with Cloudflare </p> | ||
|
||
![cb2ad081-f2de-4200-8421-938213900f29](https://github.com/rostilos/perspective-partytown/assets/85498741/b661604c-392e-4e0e-a98b-54fb776c7e92) | ||
|
||
<h2>Potential drawbacks</h2> | ||
<ol> | ||
<li>The difficulty is in further debugging the dataLayer. Because when using the module, it will not be stored in window context, and many browser extensions will not work correctly</li> | ||
<li>Need to configure reverse proxy</li> | ||
<li>Modifications of third-party modules for ga4 analytics ( problems with some modules were observed )</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletions
11
...ml/System/Config/LogConfigMustiselect.php → ...ml/System/Config/LogConfigMultiselect.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.