Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Integrate WHMcs with KISSmetrics

$
0
0
For those who never heard of it, KISSmetrics is a paid alternative to Google Analytics to focus on the proper metrics.

In order to properly use it, the platform needs to identify each client and generate events each time a client does specific actions like buying a hosting plan. Their javascript libraries explain how to integrate it but I have some specific questions from the WHMcs side.

For example, to identify users they use:
Code:

<script type="text/javascript">
  _kmq.push(['identify', 'name@email.com']);
</script>

How can I print that at the WHMcs template, to replace it with the proper client if logged in?

Also I'd love to at least track new clients using:
Code:

<script type="text/javascript">
  _kmq.push(['record', 'Signed Up', {'Plan':'Pro', 'Amount':99.95}]);
</script>


Viewing all articles
Browse latest Browse all 13458

Trending Articles