How to use the react-ga.send function in react-ga

To help you get started, we’ve selected a few react-ga examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / react-ga / react-ga-tests.ts View on Github external
it("Able to make send calls", () => {
        const fieldObject: ga.FieldsObject = {
            page: '/users'
        };

        ga.send(fieldObject);
    });
    it("Able to make timing calls", () => {