How to use different js by variant?


#1

I need to remove a script from my new variant, but it seems like all variants use the same js. Is there a way to accomplish this?

thanks!


#2

You can add Javascript to each Variant individually – just change or delete it from the new Variant.

It’s only if you’ve added js. or CSS via the Script Manager, then this will show across all Pages and Variants on that domain.