infinity-forge
Version:
15 lines • 553 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.pageview = exports.event = void 0;
var pageview = function (router) {
;
(window === null || window === void 0 ? void 0 : window.fbq) && window.fbq('track', router);
};
exports.pageview = pageview;
var event = function (name, options) {
if (options === void 0) { options = {}; }
;
(window === null || window === void 0 ? void 0 : window.fbq) && window.fbq('track', name, options);
};
exports.event = event;
//# sourceMappingURL=facebook-pixel.js.map