Raise custom signals from your site so Fresh Relevance can respond to the specified actions of your customer on your site. For example, when a customer orders a brochure or viewed a particular page, you can pass data through to the signal, which is available all the way through to email send time, so it can be merged into an email.
Custom signals have a property namespace that allows multiple custom signals to exist, without interfering with each other.
You might have multiple triggers within the same namespace - the first trigger that satisfies its filter criteria is run.
To raise a signal using javascript, make a call as shown below:
Alternatively, contact your account manager or our support team to have custom changes made to your script
$TB.raiseSignal('your_namespace', {'exampleitem': 'examplevalue', 'another': 'value'});
Extra data is optional, which means you can omit the second parameter if you want.
The example above matches triggers set-up with a namespace set to your_namespace
, and passes through two data items.
The data items shown above is available in the email layout under extra.
Layout example
The values that were passed through were:
Example Item: {{ extra.exampleitem }}
Another: {{ extra.another }}