New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-source-marketo-forms

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-marketo-forms

Fetch marketo forms data to gatsby project

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-source-marketo-forms

Plugin to fetch forms data from marketo platform and create a gatsby data query

Install

npm install gatsby-source-marketo-forms

yarn add gatsby-source-marketo-forms

How to use

You'll need to create credentials for the marketo API. All instruction how to create those keys you will find in this link -> http://developers.marketo.com/rest-api/authentication/

Setup

Go to gatsby-config and add the following lines to the config

{
  resolve: 'gatsby-source-marketo',
  options: {
    munchkinId: MUNCHKIN_ID_KEY,
    clientId: 'CLIENT_ID_KEY',
    clientSecret: CLIENT_SECRET_KEY',
    maxReturn: Specify how many forms should be returned (optional, type: number)
  }
}

And that's it. To explore your marketo forms data go to -> /__graphql

Sample of query

query MarketoQuery {
  allMarketoForm {
    edges {
      node {
        marketoId
        marketoChildren {
          dataType
          hintText
          id
          label
        }
      }
    }
  }
}

And a tip for the end. If you wanna use this to avoid AdBlock issue you can use this URL -> https://<YOUR MARKETO SPACE ID>.mktoedge.com/index.php/leadCapture/save2 to send form data instead of http://app-<YOUR MARKETO SPACE ID>.marketo.com/index.php/leadCapture/save because AdBlock is blocking requests which having some words in URL like marketo

app-<YOUR MARKETO SPACE ID>.marketo.com is a wrapper for <YOUR MARKETO SPACE ID>.mktoedge.com so it's works exactly this same

Keywords

FAQs

Package last updated on 05 Feb 2021

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc