JavaScript API

When your customers and prospects visit your web site, Kulea can track many types of behaviours (or events) such as visiting a page, completing a form, downloading a document, etc. This requires you to add some simple JavaScript snippets to your web pages (or you can get your agency to do this if that’s more appropriate).

Step 1 - Adding Page Visit Events
This is the simplest type of snippet to add. If your web web site address starts with HTTPS:// then you would add this snippet: <script src=“https...
Tue, 27 Aug, 2024 at 3:37 PM
Step 2 - Adding Form Events
Normally, the creation of a new user record in your CRM comes about when someone fills in an enquiry form or say, subscribes to your newsletter on your web ...
Wed, 10 Oct, 2018 at 7:19 PM
Step 3 Adding Users to your Kulea CRM
If you just want to add a user to Kulea’s CRM, i.e. it’s not coming from a FORM as discussed above then you can do this yourself, as follows: <script...
Wed, 10 Oct, 2018 at 7:20 PM
Step 4 - Setting Lead Scores and Tags
As you probably know, you can setup journeys with lead score steps and lead scores for specific page visits within the Kulea UI.  However, you can also ...
Wed, 10 Oct, 2018 at 7:22 PM
Step 5 - Reseting Lead Scores
There are times when it makes sense to reset a users lead score, at least partially. Perhaps when a user is gaining leads score for researching your e-comme...
Wed, 10 Oct, 2018 at 7:23 PM
Step 6 - Adding Tags All Over Your Site
Tags can also be used in isolation (but BEFORE say the page visit call at the end of your page). Thus, when the page visit event is set to Kulea, the tags w...
Wed, 10 Oct, 2018 at 7:24 PM
Step 7 - Adding Other Event Types
Kulea can track a whole host of other event types that you can test for in your Marketing Automation Journeys. The tables below explains these in more deta...
Wed, 12 Mar, 2025 at 10:26 AM
Track WordPress Forms using Contact Form 7
By making use of the __ma_formHandler_3rd as described above we can easily update WordPress forms to start creating CRM records, tracking form submissions a...
Wed, 12 Mar, 2025 at 10:27 AM
Using the REST API
Our REST API allows your server to POST XML requests to our server for various categories of events.  These requests take the form: <?xml version=&qu...
Wed, 10 Oct, 2018 at 7:39 PM