Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Add documentation for the Google Ad Manager package #8

@michalczaplinski

Description

@michalczaplinski

The code PR: frontity/frontity#522

The PR only implements one component <GooglePublisherTag/> which is implemented according to the Feature Discussion

The main thing to be documented I think is how the user can:

  1. Install the package npm i @frontity/google-ad-manager
  2. Add and configure it in the frontity.settings.js like:
{
      name: "@frontity/google-ad-manager",
      state: {
        // Fills with ads.
        fills: {
          googleAdManager1: {
            slot: "Below Header",
            library: "googleAdManager.GooglePublisherTag",
            props: {
              unit: "/1234567/sports",
              size: [728, 90],
              id: "div-gpt-below-header",
            },
          },
        }
     }  
   }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions