Introduction 📖
Setup

How to install

At the route of your application, in your terminal run:

npm install goopubtag

After installation is complete, you can start using goopubtag in your application:

import { GPTProvider, GPTSlot } from 'goopubtag';
 
const Component = () => {
  return (
    <div>
      <GPTProvider networkId={123456}>
        {/** .. */}
        <GPTSlot slotId="your-slot-id">
      </GPTProvider>
    </div>
  );
}

To learn more about our supported components and how to wire them up, have a look at:

Or if you want to see how you can implement different use cases, check out our examples.