npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gomarketme-react-native-expo

v4.0.1

Published

Affiliate Marketing for Expo-Based iOS and Android Apps.

Readme

Installation

Using npm

npm install [email protected]

Using yarn

yarn add [email protected]

Using pnpm

pnpm add [email protected]

GoMarketMe is built on top of expo-iap, so you may also need to install:

npm install expo-iap
(or yarn add expo-iap)
(or pnpm add expo-iap)

Usage

⚙️ Basic Integration

To initialize GoMarketMe, import the gomarketme package and initialize the SDK with your API key:

import GoMarketMe from 'gomarketme-react-native-expo';

useEffect(() => {
  
  GoMarketMe.initialize('API_KEY'); // Initialize with your API key

}, []);

No further steps needed. The SDK automatically attributes and reports your affiliate sales in real time.

⚙️ OR - Advanced Integration

Use this approach for more advanced scenarios, such as:

  • Affiliate-aware paywalls: Offer exclusive pricing or promotions to users acquired through affiliate campaigns.
  • Personalized onboarding: For example, a social or fitness app can automatically make new users follow the influencer who referred them, strengthening engagement and maximizing the affiliate’s impact.
import GoMarketMe from 'gomarketme-react-native-expo';
  
const goMarketMeSDK = GoMarketMe;
const [affiliateData, setAffiliateData] = useState<GoMarketMeAffiliateMarketingData | null>(null);

useEffect(() => {
  
  const initGoMarketMe = async () => {
    
    await goMarketMeSDK.initialize('API_KEY'); // Initialize with your API key
    const data = goMarketMeSDK.affiliateMarketingData;

    if (data) { // user acquired through affiliate campaign
      
      console.log('Affiliate ID:', data.affiliate?.id);                         // maps to GoMarketMe > Affiliates > Export > id column
      console.log('Affiliate %:', data.saleDistribution?.affiliatePercentage);  // maps to GoMarketMe > Campaigns > [Name] > Affiliate's Revenue Split (%)
      console.log('Campaign ID:', data.campaign?.id);                           // maps to GoMarketMe > Campaigns > [Name] > id in the URL

      setAffiliateData(data);
    }

  };

  initGoMarketMe();
}, []);

Make sure to replace API_KEY with your actual GoMarketMe API key. You can find it on the product onboarding page and under Profile > API Key.

For React Native (non-Expo), go to https://www.npmjs.com/package/gomarketme-react-native.

Support

Check out our sample Expo app at https://github.com/GoMarketMe/gomarketme-react-native-expo-sample-app.

If you run into any issues, please reach out to us at [email protected] or visit https://gomarketme.co.