Skip to content

How to get integration javascript that I put on my web page?

  1. Begin by creating an event source, which can be found in the "Inbound Traffic Event Source" tab. This tab is specifically designed to handle incoming data to Tracardi.

  2. Locate the button to create a new event source and click on it. This will initiate the process of setting up a new source for events.

  3. From the available options, choose the bridge type "REST API Bridge."

  4. Provide a suitable name for your event source. Additionally, you have the option to specify a channel name such as " web," "mobile," "crm," or any other relevant identifier. This helps in organizing and categorizing the incoming events based on their source.

  5. Once you have filled in the necessary details, save your settings. As a result, the newly created event source will now be listed among the existing sources.

  6. Click on the newly created event source from the list. This action will open a detailed information about that specific source. Select the "Use and Javascript" tab.

  7. Inside the "Use and Javascript" tab, you will find a detailed description guiding you on how to utilize the JavaScript snippet for integration. This snippet is a piece of code that you will need to incorporate into your web page to enable the desired integration functionality.

  8. In case you encounter any issues during the process, it is recommended to refer to the documentation provided. Simply access the documentation and search for "JavaScript integration." You should be able to find comprehensive resources and support materials to assist you in resolving any problems you may encounter along the way.

This documentation answers the following questions:

  • Where do I find JavaScript?
  • How to create a REST event source?