Smashpops

Workflow Automation

Overview

SmashPops provides gamified pop-ups to attract new subscribers and grow your customer base through your website or app. With coupons, weighted rewards, and customizable game rules, SmashPops helps brands increase engagement while collecting valuable customer data.

Integrating SmashPops with CleverTap via Zapier enables you to:

  • Sync User Profiles in Real Time: Update user attributes in CleverTap whenever a game is played.
  • Trigger Automated Engagement: Fetch events from SmashPops to CleverTap to trigger journeys and personalized campaigns.
  • Retarget Dormant Users: Build custom CleverTap segments from SmashPops data and run win-back campaigns.

Prerequisites for Integration

The following are the prerequisites for this integration:

  • Access to your SmashPops account
  • Access to an active Zapier account
  • A CleverTap account with Account ID and Passcode.

Integrate SmashPops with CleverTap Using Zapier

The integration involves the following four major steps:

  1. Create Passcode on CleverTap Dashboard
  2. Create Game in SmashPops
  3. Connect SmashPops and CleverTap via Zapier
  4. Add Integration Code to Your Website

Create Passcode on CleverTap Dashboard

CleverTap uses a header-based authentication model to authenticate requests to the API. Every CleverTap API call must include Account ID and Passcode as request headers. To create a passcode, refer to Create Account Passcode.

Create Game in SmashPops

Consider an example where you want to run a gamified pop-up on your website, collect emails, and sync those users into CleverTap for retargeting. To do so, perform the following steps:

  1. Go to the SmashPops dashboard and create a game you want to display on your website.
SmashPops Dashboard

SmashPops Dashboard

  1. Configure game rules such as display settings, coupon codes, and reward weights.
Configure Game

Configure Game

  1. Go to the Data Collection section, click + Link Another Integration, and select Zapier.
Link Another Integration

Link Another Integration

  1. You will be invited to Zapier. Click Accept Invite & Build a Zap.
Accept Invite & Build a Zap

Accept Invite & Build a Zap

Once Zapier is integrated into Smashpops, it can connect to SmashPops with CleverTap via Zapier.

Connect SmashPops and CleverTap via Zapier

Zapier acts as the automation bridge between SmashPops and CleverTap. Each time a user plays a game, SmashPops sends interaction data to CleverTap through Zapier. This enables businesses to either:

  • Create or update user profiles with player details such as email, coupons, or scores.

OR

  • Log each play as an event to power segmentation, analytics, and personalized engagement campaigns.

The integration supports two options depending on your use case:

Create or Update User Profiles

Consider an example where you want to sync game player data into CleverTap so that each new play updates or creates a user profile for personalized engagement. To do so, perform the following steps:

  1. Log in to the Zapier dashboard and click + Create Zap. Zapier can connect different applications, such as SmashPops.
Create a Zap on Zapier Dashboard

Create a Zap on Zapier Dashboard

  1. Set up a Trigger. To do so, perform the following steps:
    1. Select SmashPops from the App section. This starts the Zap when a trigger event occurs on SmashPops.
    2. Select Trigger Event from the dropdown list and then select New Data for this use case.
    3. Select Account and sign in using your SmashPops account credentials.
    4. Enter your SmashPops API key. A link is provided in the popup to help you locate the API key in your SmashPops dashboard.
Set Up Trigger Event

Set Up Trigger Event

  1. Click Test Trigger. This ensures that the correct account is connected and the trigger is set up correctly.
📘

Skip Test if Trigger Fails

If Zapier cannot pull sample data during the test, click Skip Test. The Zap will still run correctly once published and connected to live data.

  1. Click Publish.
  2. Select the Action that the zap must perform after the trigger event occurs. To do so, perform the following steps:
    1. Select CleverTap from the App dropdown.
    2. Select Create/Update User Profile from the Action event dropdown. This implies that whenever new data is generated, a new user profile is created, or an existing user profile is updated with the new information on the CleverTap dashboard.
    3. Select Account to connect the CleverTap account. The Zapier window opens. Enter all the required details to connect to the CleverTap account. Enter the same passcode you obtained during the Create Passcode on CleverTap Dashboard step.
    4. Click Continue after your account is successfully connected.
Select the Action for Zap

Select the Action for Zap

  1. Configure the Action. Map SmashPops data fields to CleverTap fields as follows:
CleverTap FieldSmashPops Field
IdentityEmail or unique user ID collected via the game.
Object IDLeave blank if Identity is provided.
Creation DateDate or time of gameplay.
Profile PropertiesGame data in JSON format (for example: {"name": "Alex", "email": "[email protected]", "coupon": "WELCOME10"})
🚧

Mapping Identity and Object ID

You can keep the Identity field blank if you provide an Object ID, and vice versa.

  1. Click Continue, and click Test Step to test the Zap after mapping the fields.
Test Zap

Test Zap

  1. Check the CleverTap dashboard to confirm the user profile has been created or updated.
Verify on the CleverTap dashboard

Verify on the CleverTap dashboard

  1. Once validated, click Publish to activate the Zap.

Upload Event

Consider an example where you want to track game interactions in CleverTap as events, rather than updating user profiles. This ensures each play is logged for analytics, segmentation, and engagement campaigns. To do so, perform the following steps:

  1. Follow Step 1 to Step 4 from Create or Update User Profiles to configure SmashPops as the trigger.

  2. Select the Action that the zap must perform after the trigger event occurs. To do so, perform the following steps:

    1. Select CleverTap from the App dropdown.
    2. Select Upload Event from the Action event dropdown.
    3. Select Account to connect the CleverTap account. The Zapier window opens. Enter all the required details to connect to the CleverTap account. Enter the same passcode you obtained during the Create Passcode on CleverTap Dashboard step.
    4. Click Continue after your account is successfully connected.
Select the Action for Zap

Select the Action for Zap

  1. Configure the Action. Map SmashPops data fields to CleverTap fields as follows:
CleverTap FieldSmashPops Field
User IDEmail or unique identifier.
Event NameDescriptive event name, such as "Game Played" or "Reward Won".
Creation DateDate or time of gameplay.
Event PropertiesEvent data in JSON format (for example, {"reward": "10%OFF", "score": 450, "level": "Spin Wheel"}).
🚧

Mapping Identity and Object ID

You can keep the Identity field blank if you provide an Object ID, and vice versa.

  1. Click Continue and click Test Step to test the zap after mapping the fields.
  2. Click Publish.

Once published, each SmashPops play will be logged as an event in CleverTap.

Add Integration Code to Website

For the integration to work as intended, you must add the SmashPops integration code to your website. To do so, perform the following steps:

  1. In your SmashPops account, go to Settings > My Account > Show Integration Code.
Integration Code

Integration Code

  1. Copy the snippet and paste it into your website’s HTML (<head> or end of <body>). Ensure the website URL you configure in SmashPops matches the domain where you deploy the snippet. SmashPops only works on the registered domain.
  2. Once added, your game will display according to the rules you have configured, and user actions will be tracked in the CleverTap dashboard.
Example workflow

Example workflow

You can also set up coupon codes and configure weights or chances of each reward in the SmashPops game settings.

FAQs

Can I use SmashPops with CleverTap Email Campaigns?

Yes. You can sync users who played games in SmashPops with CleverTap and then target them through email, push notifications, or In-App campaigns.