AnsweredAssumed Answered

Is is safe to use javascript with tokens in snippets?

Question asked by 84a49f89f169f2588b4b53af4e3665e703bec5d4 on Sep 20, 2013
Latest reply on Sep 20, 2013 by 33699
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
});

Outcomes