Skip to main content

Custom Actions

Written by Aldin Rey

Availability: This feature is available on the Business Plan and higher.

Custom Actions allow you to track when users complete specific tasks on your website and reward them with additional entries.

These actions are tracked using a script placed on your website that triggers when the desired activity occurs.

Note: Important Shopify Limitation

Due to Shopify checkout limitations, purchase tracking is currently not possible. Custom Actions only work on pages where tracking scripts can be installed.

If you need to track Shopify purchases, please see our FAQ section for available workarounds.


What actions can you track?

With the provided tracking script, you can track any action users complete on your website.

Common examples include:

  • Signing up for an account

  • Purchases (on non shopify stores)

  • Filling out a form

  • Clicking or interacting with specific page elements

  • Visiting a specific page

  • Adding a product to a cart or wishlist

  • Scheduling a call or demo

  • Starting a trial

  • Initiating a search

…and many other custom interactions.


How to set up a Custom Action

To create a custom action:

  1. Go to Post-Entry: Social Actions

  2. Click + Add Action

  3. Select Custom Action

You can create multiple custom actions, and each one will have its own tracking script.


Configure your action

When creating a custom action, complete the following fields:

Customize Action Title

The name of your action shown to users.

Example:


“Create an account”


Action Label

A description explaining what the user must do to complete the action.

Example:
“Purchase any product from our store worth $25 or more.”

Be as clear as possible so users know exactly what is required.


Link To Complete Action

The URL users must visit to perform the action.

Example:


Add the link to the page where users will complete the action, such as making a purchase, creating an account, or filling out a form. Users will be redirected to this page when they click the action button.


Button Text

The text that appears on the button users click to start the action.

Example:


“Shop Now”

or

"Create an Account"


Bonus Entries

The number of entries users will receive after completing the action.


Name of Action You Want To Track

This name is used internally for tracking and analytics.

If you create multiple custom actions, give each one a unique name so they’re easy to identify.


Install the tracking scripts

Two scripts are provided for each custom action. This action will not work unless you install the tracking scripts.

1. Script for your website pages

Place this script before the closing </head> tag on:

  • All pages of your website, or

  • The page users visit through the Link To Complete Action

This script enables the tracking system.


2. Script for the completion event

Place this script on the page where the action is completed.

Example:

  • If users must make a purchase, add the script to the thank-you page after checkout.


Actions without a completion page

Some actions don't redirect users to a new page.

Examples:

  • Form submissions

  • Button clicks

  • Other interactions

In these cases, you should trigger the script when the action occurs.

Example:

  • Fire the script after a form is successfully submitted.


Troubleshooting

A user says they completed the action but didn’t receive entries

In many cases, the action was not fully completed.

Check that:

  • Your instructions clearly explain what users must do

  • The action requirements are accurate

  • The script triggers at the correct moment


A user completed the action but still didn’t receive entries

If you have verified the action was completed:

  1. Confirm the script is installed on the correct page

  2. Verify the script fires properly

  3. Check the browser console for errors

If everything appears correct, contact support for further investigation.



FAQ: How do I track Shopify purchases?

To track Shopify purchases, create a separate Purchase Sweepstakes so customer purchases automatically earn entries. Click the link for step-by-step instructions on how to create a Purchase Sweepstakes.

Important: Purchase entries will not appear in your post-entry widget unless your regular sweepstakes (sign-up campaign) and purchase sweepstakes are connected. Once connected, entries will only show on regular sweepstakes post entry page (not the purchase one)

Connecting Entries only work on sweepstakes type and purchases type. See our Connecting Entries article for setup instructions.


Need help?

If you have any questions, our support team is happy to help.

Click the chat icon in the bottom-right corner to start a conversation with us.

Did this answer your question?