gatsby-plugin-autopilot

1.0.4 • Public • Published

gatsby-plugin-autopilot

Gatsby plugin for adding Autopilot tracking script to your Gatsby site.

Install

yarn add gatsby-plugin-autopilot

How to use

// In your gatsby-config.js
{
      resolve: `gatsby-plugin-autopilot`,
      options: {
        apiUrl: "", // Your unique api URL, found in your tracking code settings in your Autopilot dashboard.
        trackingId: "", // Your unique tracking ID, also found in your tracking code settings.
        app: true, // Determines whether to load webpage or app tracking code.
        exclude: ['/signup', '/about'], // optional
      },
    },

Location of API URL and Trackin ID in Autopilot tracking code

Package Sidebar

Install

npm i gatsby-plugin-autopilot

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

2.95 kB

Total Files

5

Last publish

Collaborators

  • abohannon