From 92c03f2653bf9d3010d16c18cee40ed7db821e19 Mon Sep 17 00:00:00 2001 From: William DA SILVA Date: Fri, 1 Mar 2019 10:16:08 +0100 Subject: [PATCH] :memo: Update the README to include the new parameter --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e8efa22..8140d7f 100644 --- a/README.md +++ b/README.md @@ -106,8 +106,8 @@ The tracking pixel instance is available on all vue component instances as $fb. |-------------------|----------------------------------------------------------------------------------------------------------|--------------------------------| | enable() | If you had previously set `disabled: true` in config, enables the pixel and tracks the current page view | $fb.init(), $fb.track() | | init() | Initialises the pixel | fbq('init', ) | -| track() | Sends a track event | fbq('track', ) | -| query(key, value) | Call the underlying fbq instance with anything else | fbq(key, value) | +| track(event) | Sends a track event. It's `PageView` by default if the `event` is not defined. | fbq('track', ) | +| query(key, value, parameters) | Call the underlying fbq instance with anything else. The `parameters` attribute is optional. | fbq(key, value, parameters) | ## License