Quick Start

A wee bit of configuration so you can use all Exportator features. You'll be done in 2 minutes.

1. Create your application

Your application is the container of all your promotions. You'll be prompted to connect it to your Stripe account since Exportator is built on Stripe.

If you already created one and connected Stripe, great! Skip to step 2.

Curious about Stripe Connect? We're using Stripe official oAuth "Connect" service. Yes, it's secure (read the official documentation), and yes, it's free of any extra charge for you.

2. Add Exportator snippet

Paste the following JavaScript snippet into the <head> tag of your application. Replace your-api-key with the public key given in your application's settings.

<script src="https://www.exportator.com/exportator.js"></script>
<script>new Exportator("your-api-key").init()</script>

It must appear on every pages of your application and marketing website.

This snippet is loaded asynchronously. This means it won't affect your page load speed.

3. Identify users

A huge part of Exportator value is in its ability to promote to fine segments of your visitors.

Therefore, it needs to identify who's a random visitor, who's a logged in, and who's already a paying customer of yours. To do so, the init(user_email) method comes in handy:

  • If you have a user currently logged in, send its email address over to Exportator for identification.

  • If you don't send anything, Exportator will assign a temporary ID and consider it a visitor.

<script src="https://www.exportator.com/exportator.js"></script>
<script>New Exportator("your-api-key").init("john.doe@email.com")</script>

Last updated