ActiveCampaign Integration
Configurations Do the following in your config.json backend file to create a connection from your Wix Store to ActiveCampaign:
Set the apiAccessUrl value to your ActiveCampaign API Access URL.
Set the properties of the initData object to the values specified below.
service: The name of your service (for example, Wix Store). externalid: The ID of your store. Must be a string (for example, ’myWixStoreId’. name: The name associated with the account such as your company name (for example, ’Toys Store’). logoUrl: The image URL of your store logo. linkUrl: Link to a URL where your integration can be managed. For example, you can link to the Wix Store Products page in your Dashboard. The link is for tracking purposes.
Set the id value. You will get this value after you create your connection. Follow these steps to create your connection:
a. Create a new '.js' file in the backend section of your site (for example, ‘test.js’).
b. Add the following code to this file:
import { createConnection } from "@velo/wix-stores-activecampaign-backend";
export function init() {
return createConnection();
}
To run this function from the Editor, click the green arrow next to the function. A new tab will open in the code panel for running the function.
but when I click run > I am not finding ID