Comments (8)
Hi @rostilos that's great.
A guide on how integrate Magento will be amazing.
How can I test it?
Can you describe the minimal steps please?
from partytown.
For testing first of course we will have to deploy magento2 on a local machine.
The following CLI utility can help with this:
https://github.com/wardenenv/warden-env-magento2
https://docs.warden.dev/environments/magento2.html
Next, it will be necessary to connect gtm to the site, with ga, fb pixel, hubspot (at least something from this list) included in it.
After that you will need to start a reverse proxy ( I used cloudflare-workers for that ).
To install the module - put it in the app/code folder ( at the moment the module is not fully finalized in terms of "clean" implementation, because it was made more as a test solution, in the future it is planned to bring it to the standards of M2, to give the opportunity to install as a separate composer package ).
Then configure the settings of the module itself ( everything is intuitive there, there is an option to configure via admin panel, screenshot under the repository in git).
After that you can test it
from partytown.
Yeah, I'll try to make time next week.
from partytown.
It sounds great. Would you like to drop a PR to describe the Magento integration steps?
from partytown.
But before that, let me be clear : do you want a complete list of steps to reproduce how this can be implemented in M2 ( including the deployment of M2 itself on the local environment ) ?
I can describe it in text form, or I can record a video tutorial (whichever is more convenient).
But in that case, I'd like to refine the module first to meet certain standards. Because at the moment, although it provides an opportunity to use all the functionality, it is not fully designed, and represents a minimally functional version (I believe that the solution that will be recognized as part of the official integration must meet all the requirements of the platform, in this case - magento 2).
from partytown.
Yep, I think the same. We need to have the full integration before creating the docs page. You can look at the other integrations i.e. Shopify Hydrogen
The M2 setup could be taken for granted.
from partytown.
Any updates on this?
from partytown.
@JMLucas96
I'll probably look into it in the future, but at the moment I'm pretty busy with my main job.
You can try to use the compatibility module from the https://github.com/rostilos/perspective-partytown
from partytown.
Related Issues (20)
- [📖] Discord server link is broken HOT 1
- [🐞] resolveUrl function in partytown config does not work HOT 2
- [🐞] Error 404 for '/_next/static/%7Epartytown/proxytown' and some iOS/Safari versions HOT 4
- [🐞] Web Worker Does Not Allow `withCredentials` for XHR Requests
- [🐞] Google Tag Assistant Preview is not showing tags (Google Tag Manager) while using Partytown HOT 1
- [📖] How can I load partytown from a pure HTML/JS website? HOT 1
- [🐞]partytown throws error in chrome developer console and not able to connect to GTM preview mode HOT 13
- [🐞]404 errror throws while implementing partytown in gatsby application HOT 3
- Failed to register a ServiceWorker for scope ('https://example/~partytown/') with script ('https://example.com/~partytown/partytown-sw.js'): The script resource is behind a redirect, which is disallowed. HOT 1
- Partytown integration with Astro makes over 10'000 proxytown requests on page load[🐞] HOT 1
- [🐞] Google Tag Manager NextJS forward events coming as blank []
- [🐞] Cannot read property 'Error' of null
- [🐞] Proxy object could not be cloned HOT 1
- [🐞] Firefox: 404 partytown-sandbox-sw.html HOT 1
- [🐞] Firefox: Private Browsing for external Scripts HOT 1
- [🐞] GA4 sessions plummeted after migration of GTM to Partytown HOT 10
- [🐞] Objects and object properties can't be forwarded HOT 2
- [🐞]in statement is not reliable when running through partytown
- [📖] resolveSendBeaconRequestParameters missing in docs and React types HOT 1
- [🐞]: forwarding gtm dataLayer.push breaks immediate dataLayer pushes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from partytown.