Coder Social home page Coder Social logo

[✨] Magento 2 integration about partytown HOT 8 OPEN

rostilos avatar rostilos commented on June 2, 2024 2
[✨] Magento 2 integration

from partytown.

Comments (8)

gioboa avatar gioboa commented on June 2, 2024 1

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.

rostilos avatar rostilos commented on June 2, 2024 1

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.

rostilos avatar rostilos commented on June 2, 2024 1

Yeah, I'll try to make time next week.

from partytown.

gioboa avatar gioboa commented on June 2, 2024

It sounds great. Would you like to drop a PR to describe the Magento integration steps?

from partytown.

rostilos avatar rostilos commented on June 2, 2024

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.

gioboa avatar gioboa commented on June 2, 2024

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.

JMLucas96 avatar JMLucas96 commented on June 2, 2024

Any updates on this?

from partytown.

rostilos avatar rostilos commented on June 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.