gatsby-plugin-segment-js
gatsby-plugin-segment-js copied to clipboard
Gatsby plugin for segment.com's analytic.js snippet
Hello, I've followed the instructions on the Readme. - Added plugin to `gatsby-config` ``` { resolve: 'gatsby-plugin-segment-js', options: { prodKey: 'KEY_HERE', }, } ``` - Then, tracking an event: ```...
Hi! At version 4.0.3, the delay load didn't work. ``` delayLoad: true, delayLoadTime: 1000 ``` Segment load without page scroll event or Link click.
[my site](https://todayilearned.io) uses a `link rel="canonical"` tag to support various crawlers/social share/etc. I do this with `react-helmet`. calling `analytics.page()` on `onRouteUpdated` doesn't work in this case, because this fires before...
More specific transpilation for the different runtimes.
Out of curiosity, was there a particular reason scroll and route changes were chosen as triggers for script load? My usecase needs to delay the load of the script for...
I need to add google analytics auto linker for a multi domain site