Salesforce does not have a built in equivalent to “tags” like WP Fusion would normally use with email marketing CRMs (such as ActiveCampaign).
As such, you have four options for segmenting contact records with WP Fusion:
- Personal tags
- Public tags
You can select which method you’d like to use from the Segment Type setting on the Setup tab, after configuring your connection to Salesforce.
After changing the segment type, save the settings to update the available options in the Select Tag(s) dropdowns.
By default WP Fusion uses Topics in Salesforce to segment contacts. Topics are enabled by default in Salesforce Lightning and can be manually enabled for Salesforce Classic.
Topics generally work well for segmenting with WP Fusion but there are a few things to note:
- Salesforce does not allow you to bulk-assign topics to contacts without using an external tool (like Data Loader). This makes bulk auto-enrollments or imports difficult.
- Because Topics have their own API endpoints separate from the contacts, applying multiple topics requires multiple API calls, which can slow down the visitor or checkout experience (each API call takes ~1 second).
- Because Topic data is not stored with contact data in the CRM, exports of contacts from Salesforce will not include their topics.
- Many third party tools can interface with Salesforce contact records and custom contact fields, but few external tools can access Topic data.
As of WP Fusion v3.39.4 (April 2022), you have the option to use a custom picklist field to store “tags” for your contacts.
To set this up, first head to the Object Manager in Salesforce and create a new Picklist (Multi-Select) field for the Contact object.
For the field configuration:
- Field Label: Can be whatever you want but we’ll use “Tags” for this example.
- Values: Should be “Enter values”, this allows you to use a custom set of tag values instead of the global options. You can optionally enter some tag names into the box, or leave it blank (WP Fusion can create tags later as needed).
- Display values alphabetically: It’s recommended to select this to make it easier to view and manage tags when editing contact records.
- Restrict picklist to the values defined: You must un-check this setting. Disabling this setting will allow WP Fusion to create new picklist values (i.e. “tags”) over the API.
Once you’ve created your custom field, head back to the WP Fusion setup tab and select Picklist from the Segment Type setting.
In the Tags Picklist dropdown, begin typing the name of your new field. If a match is not found, click the prompt to resynchronize your fields, and then select your new field once the resync is complete. Save the settings.
You can now type any tag name into the Select Tag(s) dropdowns, and WP Fusion will prompt you to add new.
Once the new tag is applied to a user, it will show up on their Salesforce contact record, and as an option in the picklist and in the WP Fusion tags select dropdowns.
The Tags field can be added to the contact edit layout, and can be edited just like any other picklist field in Salesforce.
Because WP Fusion can create new picklist values over the API, this also lets you use the automatic tagging features with WooCommerce, as well as the Create Tag(s) from Value option when mapping CRM fields or form fields.
The selected picklists values are available over the normal contacts APIs, and can be included in exports. Using the Picklist option for tags is the most compatible with connecting Salesforce to other third-party apps and services.
#Personal and Public tags
Personal and Public tags are a feature from Salesforce Classic, but aren’t available in Salesforce Lightning.
WP Fusion supports using Personal or Public tags for segmenting contacts for legacy accounts, but it’s recommended to use either Topics or a Picklist for new installs as these options provide the best compatibility with the latest editions of Salesforce.
For more information on tags, see: