Question
Is is safe to use javascript with tokens in snippets?
I want to add segment.io code to several thank you pages that look like this. I also plan to replace the values with tokens? Is this doable?
analytics.identify('019mr8mf4r', {
name : 'Achilles',
email : 'achilles@segment.io',
subscriptionPlan : 'Premium',
friendCount : 29
});