Integrating Moosend via code

Hi
I’m trying to complete the example code Moosend provided in order to connect components of my site.
Firstly does anyone know how I can see and read the back end script of my website?

One of issues is about identifying the email.
This is the example code.
// identify with email
mootrack(‘identify’, ‘john@doe . com’);

// identify with email and name
// commented out as you need to choose one of these calls only
//mootrack(‘identify’, ‘john@doe . com’, ‘John Doe’);

I need to work out what the email variation code is for wix?

And next question is how do I find out what code is used to refer to each product.
// Products should be an array with an object like product.
var products = [product1, product2, …];
(not talking about my actual name of the product, its the back end terminology)

Full list of examples provided here - https://help.moosend . com/hc/en-us/articles/115002454009-%CE%97ow-can-I-install-website-tracking-by-using-the-JS-tracking-library-

(spaces around . com because it won’t let me post otherwise)

Any help would be appreciated as I haven’t heard back from WIX code specialists all week and the customer service cannot help.

Thank you

In your response to your question about backend code, see the article Where do I put Wix backend functions?

You can read about how to access 3rd party services in the article Corvid: How to Access 3rd-Party Services with the Fetch API .

A nice simple example to start with is Create a Weather Widget . Also, t ake a look at the Advanced examples , many of them access 3rd party services. A couple of good examples to start with are: Example: Using the Places API from Google Maps services and Example: Send email with the SendGrid REST interface .