Skip to content


Destinations object is used to access properties usually stored and managed by external service.

Basic Usage

var destinations = require("core/v4/destinations");

var destination = {};
destination.name1 = "value1";
destinations.set("destination1", destination);
var result = destinations.get("destination1");

result.name1 === "value1";


Function Description Returns
get(name) Returns an object representing the destination object
set(name, destination) Sets the destination object under the given name -