27 lines
480 B
JavaScript
27 lines
480 B
JavaScript
async function register ({ registerHook, registerSetting, settingsManager, storageManager }) {
|
|
registerSetting({
|
|
name: 'url',
|
|
label: 'Matomo Url',
|
|
type: 'input',
|
|
private: false
|
|
})
|
|
|
|
registerSetting({
|
|
name: 'site-id',
|
|
label: 'Site id',
|
|
type: 'input',
|
|
private: false
|
|
})
|
|
}
|
|
|
|
async function unregister () {
|
|
return
|
|
}
|
|
|
|
module.exports = {
|
|
register,
|
|
unregister
|
|
}
|
|
|
|
// ############################################################################
|