WP Manifestindependent plugin directory
manifest / integrations / blueshift-connector

Blueshift Connector

Connect any form to Blueshift by saving User API key and Event API key.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/braudypedrosa/blueshift-connector/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Connect any form on your WordPress site to Blueshift marketing automation platform.

Installation

  1. Upload the plugin files to /wp-content/plugins/blueshift-connector/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Navigate to Settings → Blueshift Connector
  4. Enter your Blueshift User API Key and Event API Key

Features

  • Store and manage Blueshift API credentials securely in WordPress
  • Send customer data to Blueshift via JavaScript function
  • Automatically create or update customers in Blueshift
  • Track custom events for customer engagement
  • Support for custom attributes on customer records
  • Phone number validation (E.164 format)

Usage

Use the global sendToBlueshift() JavaScript function to send customer data from any form:

sendToBlueshift({
    email: 'customer@example.com',           // Required
    customer_id: '123',                      // Optional
    phone_number: '+15551234567',            // Optional (E.164 format)
    first_name: 'John',                      // Optional
    last_name: 'Doe',                        // Optional
    event: 'signup',                         // Optional (defaults to 'welcome_email')
    custom_attributes: {                     // Optional
        'source': 'website',
        'plan': 'premium'
    }
}).then(function(response) {
    console.log('Success:', response);
}).catch(function(error) {
    console.error('Error:', error);
});

The function returns a Promise that resolves on success or rejects on error.