šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

gatsby-plugin-adobe-launch

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-adobe-launch

Gatsby plugin to add Adobe Launch to a site

1.0.2
latest
Source
npm
Version published
Weekly downloads
5
-61.54%
Maintainers
1
Weekly downloads
Ā 
Created
Source

gatsby-plugin-adobe-launch

Easily add Adobe DTM to your Gatsby site. Uses a Adobe Launch direct call with the event name gatsbyRouteChange by default, to log a page view.

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-plugin-adobe-launch',
    options: {
      scriptURL: 'YOUR_ADOBE_LAUNCH_SCRIPT_URL',

      // Include Adobe Launch in development.
      // Defaults to false meaning Launch will only be loaded in production.
      includeInDevelopment: false,

      // datalayer to be set before DTM is loaded
      defaultDataLayer: { platform: 'gatsby' },

      dataLayerName: 'YOUR_DATA_LAYER_NAME',
      // defaults to gatsbyRouteChange
      routeChangeEventName: 'gatsbyRouteChange',
    },
  },
];

Keywords

gatsby

FAQs

Package last updated on 15 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts