Scripts 101

I need some help in imbedding a basic scripts code from the beginning of where and what to add to a page.

Thank you.

Hi, can you please elaborate?
What script are you trying to embed?

Liran.

This is it -

When I try to add it to the HTML Code on a page, it doesn’t work. Not sure if this is not a qualified code or I am doing something wrong. Thanks in advance for your feedback

Hi,

So Wix Code is about adding some Javascript to allow more functionality to your site.
Embedding a tag is not yes possible (but will be soon :slight_smile: ).

Liran.

Has anything been done to fix this yet? And yes, I’m using the word “fix” because I think it’s a significant omission. I’m just starting out with Wix Code and I’d like to use the moment.js date manipulation stuff. E.g. like this:

Do I really have to include the full script source as part of my page?

Dave

Hi Dave,
You can use the Track & Analyze tool. Check out this article.

Best,
Tal.

If I understand correctly, you’e suggesting use of the “Custom” option. Thanks Tal – I’ll check it out.