Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Add a tracking header #7

Closed
petrsvihlik opened this issue Sep 16, 2019 · 1 comment
Closed

Add a tracking header #7

petrsvihlik opened this issue Sep 16, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@petrsvihlik
Copy link

There's a tracking header called X-KC-SOURCE that you can add to your plugin. We'll be then able to measure the adoption of your plugin and send you statistics of API calls made through the plugin.

You can set the header via the Kentico Kontent Delivery SDK.

v5 JS SDK approach: kontent-ai/gatsby-packages@e3612ae

v6 JS SDK: https://github.com/Kentico/gatsby-source-kentico-cloud/blob/js-sdk-ugrade-v6/src/gatsby-node.js#L96 or https://github.com/Kentico/gatsby-source-kentico-cloud/blob/master/src/gatsby-node.js#L96

@CMeeg
Copy link
Owner

CMeeg commented Sep 16, 2019

Thanks @petrsvihlik - sounds good, I will take a look.

@CMeeg CMeeg added the enhancement New feature or request label Sep 16, 2019
@CMeeg CMeeg mentioned this issue Sep 18, 2019
@CMeeg CMeeg self-assigned this Sep 22, 2019
@CMeeg CMeeg closed this as completed in 2b5ac62 Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants