Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

Is '@datapunt/matomo-tracker-react' valid using Matomo in a React application

$
0
0

Everything I’ve see so far says that I should do:

npm install @datapunt/matomo-tracker-react

and then in my react code, I should put the following in my React typescript code:

import { MatomoProvider, createInstance } from '@datapunt/matomo-tracker-react';

The npm install appears to work but typescript complains it can’t find ‘@datapunt/matomo-tracker-react’

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles