mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-10 18:50:52 +03:00
docs: segment track event naming adjustment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3014 GitOrigin-RevId: 0428f962c038f3d03ef45413dca807041dcef50c
This commit is contained in:
parent
90d3192df2
commit
4f1c2ff879
6
docs/_static/scripts/hdocs.js
vendored
6
docs/_static/scripts/hdocs.js
vendored
@ -60,8 +60,10 @@ window.hdocs = (function () {
|
||||
},
|
||||
saTrack: function (label) {
|
||||
window.analytics = window.analytics || [];
|
||||
window.analytics.track("Clicked " + label, {
|
||||
category: 'Docs Custom',
|
||||
window.analytics.track("click", {
|
||||
category: 'docs',
|
||||
action: 'click',
|
||||
label: 'Clicked ' + label,
|
||||
placement: 'header',
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user