This follows on from our solution article: Install Tracking Code (the basics)

To view our full YouTube playlist on tracking, cookies,  click here.

This includes short videos on finding your Kulea tracking code and adding it using Google Tag Manager, 3rd party plugins, and Wordpress divi builder.


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>


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>


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>