Raunaq
Raunaq

Reputation: 1873

Using Gatsby's Intercom plugin to integrate Intercom

I've tried both https://github.com/toriihq/gatsby-plugin-intercom-spa and https://github.com/search?q=gatsby-plugin-intercom to try to integrate Intercom but have been unsuccessful.

The README for both these plugins state that I merely have to install the plugin via npm (in my case I use yarn add) and then update gatsby-config.js with the relevant code snippet (and use my Intercom app_id).

Are there other steps that need to be taken care of?

Upvotes: 3

Views: 1090

Answers (1)

Michał Czapliński
Michał Czapliński

Reputation: 1342

Looking at the source of the https://github.com/toriihq/gatsby-plugin-intercom-spa plugin, it only shows up the intercom UI when process.env.NODE_ENV === 'production.

Possibly, you were expecting it to load locally in your development environnment?

Upvotes: 2

Related Questions