Skip to content

MarTech Agents Manager 4.0

ℹ️ Status: 🟢 Production

This repo is used to develop MarTech agents and to provide the script to initialize the MarTech Agents Manager with an appropriate configuration.

Quicklinks

Scope

  • [x] 4.0
  • [x] landingpages
  • [ ] 3.5 (planned)

Table of Contents

Monorepo Apps & Packages

Integration of MTAM

To integrate MTAM into your own application, please proceed as follows:

  1. Make sure your app is updated to the newest version of the remix-stack

    • After this, you will have "@pit-martech:registry=https://npm.pkg.github.com/" in the .npmrc of your application and
    • <MTAMInitScript /> coming from import { MTAMInitScript } from "@pit-martech/mtam-components"; in the <body> of your code.
  2. The endpoint /mtam/init.js will be mocked for you locally and on dev deployments.

ℹ️ To learn more about the package for integrating the MTAM setup script, please see (packages/mtam-components/README.md).

Working with the repository

  1. Clone the Repo

  2. Read the setup guide for the backend application

  3. Install all dependencies by running pnpm i in project root

  4. Start the backend application by running the remix dev-server in project root:

pnpm run dev

Release Cycle

The code on main will be deployed to production weekdays at 10 AM (GMT+1).

Testing

To have a testable frontend with MTAM being initialised, please do the following:

  1. Create a cookie with the name mtam-debug and give it a value (request the value from one of the owner of this repository)

  2. Go to the path /mtam/test

You will get the mtam.js script attached to the body. If you're on live, you will get the live mtam.js, if you're on stage, you will get the stage mtam.js and so on.

To see some Debug information, do the following:

  1. Add "?mtamDev=true" as a parameter to the URL

  2. Open the debug GUI via the console by executing MartechAgentsManager.gui()