Rejoiner

Rejoiner Documentation

Explore our guides and examples to power your email channel with Rejoiner.

Get Started    Guides

WooCommerce

Installing the Rejoiner WooCommerce Add-on

  1. Go to your store's admin and then on the left side nav look and click in Plugins.

  2. Click on Add New.

  1. On the search bar, type in rejoiner to look for our extension.
  1. Next, you will see the following result show up. There, you will want to click on Install Now button.
  1. This will install the plug in, but you will still need to activate it and connect it to your Rejoiner account.

  2. To activate it, simply go back to your plugins listing. Look for WooCommerce Rejoiner and click on the Activate link.

Configuring the Add-on

  1. Sign into your Rejoiner Account and click Settings. Copy your Rejoiner Site ID.
Site ID{{ site_id }}
API Key{{ api_key }}
  1. Upload, and activate the WooCommerce Rejoiner plug-in to your WooCommerce instance.

  2. Back in your WooCommerce store's Admin, look for WooCommerce Settings in the left side nav. Then click on the Integration tab, click on the Rejoiner link.

  3. Enter your Rejoiner Site ID, Domain & API Secret.

Note: Rejoiner2 clients can leave the API Secret value blank.

  1. Finally, make sure you save your settings by clicking on the Save Changes button at the bottom of your Integration tab.

Adjusting Product Image Sizing

The standard image size (width and length) you are passing us will vary according to your Wordpress theme. However, sometimes you will want to pass us larger image sizes in order to avoid pixelated images showing in your creative–this also helps with rendering images for retina display devices.

Please follow the instructions below to modify the image size you are passing us.

  1. Go into your theme's functions.php file.

  2. Next, add the following code into your file.

// Use this filter to specify the image size to be passed to rejoiner.
add_filter( 'wc_rejoiner_thumb_size', 'my_wcrj_thumb_size' );
function my_wcrj_thumb_size( $size ) {
    return array( IMAGE WIDTH HERE, IMAGE HEIGHT HERE );
}
  1. Next, substitute the text IMAGE WIDTH HERE and IMAGE HEIGHT HERE with the correct width and height you want to use.

Note: You can return a named image size, eg: 'medium' or an array of dimensions, eg: array ( 800, 600 )

An example of the code snippet using width and height:

// Use this filter to specify the image size to be passed to rejoiner.
add_filter( 'wc_rejoiner_thumb_size', 'my_wcrj_thumb_size' );
function my_wcrj_thumb_size( $size ) {
    return array( 800, 600 );
}

An example of the code snippet using named image size: (You must add single quotes to the named image size)

// Use this filter to specify the image size to be passed to rejoiner.
add_filter( 'wc_rejoiner_thumb_size', 'my_wcrj_thumb_size' );
function my_wcrj_thumb_size( $size ) {
    return array( 'medium' );
}
  1. Next, save your theme's functions.php file.

  2. To confirm that the change has taken place follow these instructions and verify the image size using the set_cart_item call, which looks like so in your Chrome Dev Tools.

  1. Next, copy the image_url address in a new browser tab

  2. Lastly, right-click the image and select "inspect" to see the actual image dimensions.

Sync Purchasers to a Rejoiner List

Our integration with WooCommerce allows you to push all customers who complete a purchase to a specific Rejoiner List.

📘

List Required

You will need to create a List for these customers in your Rejoiner account before employing the steps below.

  1. Go to your Admin and on the left side nav look for WooCommerce, then click on Settings.
  1. Next, click on the Integration tab.
  1. There you will see a section named Send Converted Customers to a List. We will want to select the Send all new customers who complete an order to Rejoiner option, in order to enable this feature.
  1. Once it's been selected, simply add the List ID of your Rejoiner List in the input below it.
  1. Finally, make sure you save your changes by clicking on the Save Changes button at the bottom of your Integration tab.

Tracking Accepts Marketing Preference

Our integration with WooCommerce allows you to push all customers who opt into your marketing to be sent to a specific Rejoiner List. This will then allow you to send against that list in order to respect your customers' wishes.

Enabling this feature creates a simple checkbox for your customers to opt into your marketing. The checkbox then gets added into several parts of your store in order to be able to maximize this feature.

📘

List Required

You will need to create a List for these customers in your Rejoiner account before employing the steps below.

  1. Go to your Admin and on the left side nav look for WooCommerce, then click on Settings.
  1. Next, click on the Integration tab.
  1. There you will see a section named Accept Marketing Feature. We will want to select the Yes, enable Rejoiner to gather marketing permissions from customers at checkout option, in order to enable this feature.
  1. Once enabled, we can update the remaining options of this feature.
  1. We recommend you update the Opt-In Field Label in order to set up the text you'd like to use for your opt-in checkbox.
  1. The next option is the Opt-In Status. This simply refers as to whether the checkbox should be selected or unselected by default. We recommend you leave it unselected, or as per the options shown below, leave it as Disabled by default.
  1. Next, you should add the List ID of the Rejoiner List you want to send your subscribers to.
  1. Finally, we need you to decide where Rejoiner should inject the opt-in checkbox on your site. We recommend you select all the options given in your Opt-In Options section as pictured below:
  1. Finally, make sure you save your changes by clicking on the Save Changes button at the bottom of your Integration tab.<

Updated 26 days ago


WooCommerce


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.