- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello, so I finally figured it out and it works:
- for one function only which has to be wrapped in () such as
(function b (num) {return num + 4;}) - also eval it is very slow JS interpreter so if you use it with deliveries where you have a lot of recipients it would take eternity.
In the delivery you can use it by
<% var b = eval (yourscript.data);%>
<%= b(4)%>
So I would use personalization blocks as well for the sake of performance and usability.
Views
Replies
0 Likes
Total Likes