0 purchases
cog offer and incentives
Cog offer and incentives #
A Dart Client for Cog offer and incentives and Click Streams. This is completely written in Dart and works cross-platform.
Getting Started #
dependencies:
cog_offer_and_incentives: ^0.0.6
copied to clipboard
To import cog_offer_and_incentives:
import 'package:cog_offer_and_incentives/cog_offer_and_incentives.dart';
copied to clipboard
You need to wrap your widget with "CognetryClickStreamWidget" provide widget. and we are expecting a readable key value for child widget
ClickStream(
child: ElevatedButton(
key: Key(Add product?.itemName ?? ""),
onPressed: () async {
}));
copied to clipboard
Once you wrap the widget with mentioned widget then when click on the widget we send click event to Cognetry server
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.