carrot.*

Type library
Revision 2014.2511
Keywords carrot
Sample code Available in the Carrot Docs for Corona
See also Carrot website
Availability Starter, Basic, Pro, Enterprise

Overview

Carrot gives app developers the tools they need to make viral user acquisition a part of their growth strategy. Our social backend provides distribution through the best viral growth channels (such as Facebook's 'custom actions'), and identifies ways to make viral content more effective.

Our dashboard shows developers what virals get the most impressions, clicks and installs, and our WYSIWYG web tools allow rapid iteration on viral campaigns, without any code changes.

This plugin enables Corona developers to post viral actions to the Carrot service.

Sign Up

To use the Carrot service, please sign up for an account.

Platforms

The following platforms are supported:

Syntax

local carrot = require "plugin.carrot"

Functions

Properties

Project Settings

SDK

When you build using the Corona Simulator, the server automatically takes care of integrating the plugin into your project.

All you need to do is add an entry into a plugins table of your build.settings. The following is an example of a minimal build.settings file:

settings =
{
    plugins =
    {
        -- key is the name passed to Lua's 'require()'
        ["plugin.carrot"] =
        {
            -- required
            publisherId = "com.gocarrot",
        },
    },
}

Sample Code

You can access sample code here.

Support

More support is available from the Carrot team: