You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

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


Version published
Weekly downloads
709
increased by0.14%
Maintainers
1
Install size
6.36 kB
Created
Weekly downloads
 

Readme

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc