1.0.6 • Published 10 months ago

@rbxts/gameanalytics-ab-service v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Game Analytics AB Service

This library is an A/B testing wrapper over the existing Game Analytics library, providing typing support and default values.

Quick Start

To get started with the Game Analytics AB Service, you must initialise GameAnalytics the usual way, and then construct a new GameAnalyticsABService.

import { GameAnalytics } from "@rbxts/gameanalytics";

GameAnalytics.initialize({
	gameKey: "GAME-KEY",
	secretKey: "SECRET-KEY",
	build: "1.0.0",
});

new GameAnalyticsABService<"music" | "ad-location">(
	GameAnalytics,
	{
		music: "Bossa Me (a)",
		"ad-location": "top-left",
	},
	(player, values) => {
		// do something with the loaded values
	},
);

📦 Installation

Take me to the NPM package →

npm install @rbxts/gameanalytics
npm install @rbxts/gameanalytics-ab-service

🪪 License

gameanalytics-ab-service is available under the MIT license. See the LICENSE.md file for more info.

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago