1. the basics...

To get the full benefits of kulea's tracking, simply copy and paste your tracking code into every webpage you want to track before the </body> tag.

So you only have to copy and paste it once, we'd advise using a site master, such as footer.php - this comes with the added benefit that you'll automatically be tracking all your pages.

Remember - this must always be the last script in your pages.

To access your tracking code, log into your Kulea account and go to help > setup where your tracking codes will be displayed.  If your site uses https, please use the https tracking code, if it uses http, then please use the http tracking code.

Example tracking code:

<script src="http://acme.beta.kulea.marketing/k.js"></script> </body> 

2. enrich your data (for techies only)...

Tag content to get the best out of kulea. You can add the following javascript to any page with our tracker to tag, for example here by product range and category.

<script> var __ma = __ma || []; __ma.push(['tags',{ 'stag_0':'product-range:Clothing/Accessories', 'stag_1':'product-category:Sale Items' }]); </script> <script src="http://acme.beta.kulea.marketing/k.js"></script> </body>

3...let's try it...

Now, create a blank page and let's put a button in it, click it and you should see your activity appear within kulea in seconds.

You can use this method with a <form onsubmit handler if you wish.

<button onclick="g__MA(['notrack'],['crm',{'email':'email@example.com','forename':'John','surname':'Doe','phone1':'+44 1908 889760','title':'Company name','position':'Job Title'}]]); return false;">click me!</button> <script src="http://acme.beta.kulea.marketing/k.js"></script> </body>

4. its all about the score

We've put this information in place so that marketing can build rules and apply these to specific areas of interest in terms of your customers' and leads' web activity.

Depending on the complexity of the information architecture of your website you may need to help them build rules in our system to manage the scores they wish to attribute to certain activity.not yet implemented.

Or you may help in another way — some activity on your website may be worthy of score and you may be the only person that can help! How? Javascript to the rescue again!

<button onclick="g__MA(['notrack'],['lead_score',{'delta':10}]]); return false;">+ 10 points!</button> <script src="http://acme.beta.kulea.marketing/k.js"></script> </body>

Scores and tags combine in interesting ways; for example you could try something like...

<script> var __ma = __ma || []; __ma.push(['lead_score',{ 'delta':10, 'stag_0':'product-range:Clothing/Accessories', 'stag_1':'product-category:Sale Items' }]); </script> <script src="http://acme.beta.kulea.marketing/k.js"></script> </body>

On our side we kindly associate 10 points to the overall score, but also 10 points to each of the tags.

Anyway, that's our secret!

Sometimes, for example if an enquiry form is submitted, you may want to reset the score back to 0:

<script> var __ma = __ma || []; __ma.push(['lead_score_reset']); </script> <script src="http://acme.beta.kulea.marketing/k.js"></script> </body>

Or perhaps you would need to clear the score only on certain tags...

<script> var __ma = __ma || []; __ma.push(['lead_score_partial_reset',{ 'tag_key':'product-range', 'tag_value':'Clothing/Accessories' }], ['lead_score_partial_reset',{ 'tag_key':'product-category', 'tag_value':'Sale Items' }]); </script> <script src="http://acme.beta.kulea.marketing/k.js"></script> </body>