DEV Community

Discussion on: Introducing Partytown 🎉: Run Third-Party Scripts From a Web Worker

Collapse
 
niyazafazl profile image
niyazafazl

Partytown can use with the other third party libraries like moment, single-spa for React.
How can we set the forward config for those libraries? Can please share the sample code for that?

The below is the Partytown forward config for GTM, I want to set the same for toehr libraries.

import { Partytown } from '@builder.io/partytown/react';

export function Head() {
return (
<>

</>
);
}