react-fbq
Version:
Package to add React Pixel Code in your project
12 lines (11 loc) • 376 B
TypeScript
import types from "../types/index";
declare const PixelCode: {
pixelCode(args: types.TagsSnippetsProps): {
script: (s: any) => HTMLScriptElement;
noScript: () => HTMLElement;
};
initialize({ id, advancedMatching }: types.InitializeProps): void;
pageView(): void;
track({ title, data }: types.TrackProps): void;
};
export default PixelCode;