diff --git a/lib/templates/plugin.js b/lib/templates/plugin.js index 56c5a14..65937f0 100644 --- a/lib/templates/plugin.js +++ b/lib/templates/plugin.js @@ -74,6 +74,16 @@ class Fb { } + /** + * @method trackCustom + */ + track (event = null, parameters = null) { + if (!event) { + event = this.options.trackCustom + } + this.query('trackCustom', event, parameters) + } + /** * @method query * @param {string} cmd