Using external Javascript

I am using Wix Code to write some of the logic by my own.
I imported a 3rd party Javascript file using a script tag inside an html block, but I cannot access objects or functions from the Javascript file I imported from the wix code editor.
Is that possible to fix?

Danyy, the reason why are not getting an answer to this question is because it has been asked and answered so many times, that people prob. just don´t bother anymore. Use the Search on this forum and ye shall find.

Unfortunately I couldn’t find anything related to this topic at the forums or Google… Can you help?

Hi Danny,
Welcome to Wix Code :slight_smile:
At this moment there is no option to import Javascript modules.
However you can copy the file it self and create a js file in “public” or “backend” folders and use it.

Good luck!
Roi

I have tried this @roi-bendet and I still can’t see the js functions for us in my backend code for my page.

Is this still current? Is it not possible to do this now via Tracking Tools & Analytics?

@experimentnoxx I’m reasonably sure T&A predates Wix Code/Corvid. They’re just separate. Though maybe someone with more React/reverse engineering knowledge could theoretically link them.

But you can’t use them on your wix page ?

@dhiraj This is an old thread and I’m going to close it.

You can’t embed HTML in a Corvid page. You might want to consider using an HtmlComponent or a CustomElement .