Install the React Native SDK on your app
Get started with the MarkTag react native SDK
- From the root of your project, run the following command to install the sdk:
bash
npm install @markopoloai/marktag-mobile-sdkbash
yarn add @markopoloai/marktag-mobile-sdk- Once installed, you can access the MarkTag SDK plugin by importing it in your code:
javascript
import * as MarkTag from "@markopoloai/marktag-mobile-sdk";- Initialize MarkTag SDK:
javascript
MarkTag.init(tag: 'tag.your-domain.com');Done! You are now able to log events with MarTag