Divvit can be used for non ecommerce websites to track e.g. Sign-ups, Lead generation, Forms, Subscription etc. 

These sign ups will then be counted as conversions in your Divvit account. 

To install Divvit, you need to install two custom scripts in order to track activity on your website.

  1. The first script will allow to track pageviews and will need to be fired on all pages.
  2. The second script will track each sign up and will need to only be fired on the success or thank you page once a sign up has been completed. 

Find a step by step guide below to help you install Divvit on your website ✅

Installing the main tracking script

Insert the following code right underneath the opening <body> tag:

<script type="text/javascript">
!function(){var t=window.divvit=window.divvit||[];if(t.DV_VERSION="1.0.0",t.init=function(e){if(!t.bInitialized){var i=document.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("async",!0),i.setAttribute("src","https://tag.divvit.com/tag.js?id="+e);var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(i,n)}},!t.bInitialized){t.functions=["customer","pageview","cartAdd","cartRemove","cartUpdated","orderPlaced","nlSubscribed","dv"];for(var e=0;e<t.functions.length;e++){var i=t.functions[e];t[i]=function(e){return function(){return Array.prototype.unshift.call(arguments,e),t.push(arguments),t}}(i)}}}();

Installing the sign up tracking script

The following code should be placed on the page which the customer reaches after an sign up has been successful ("thank you" page, or “success page”). Make sure that the sign up tracking script is placed below the main tracking script. 

<script type="text/javascript">

  var orderData = {

    order: {

      orderId: String((new Date()).getTime()),

      total: 0,

      products: [{

      id: "signup",

      price: 0,

      quantity: 1






Installing these two scripts will allow you to track all activity on your website, from pageviews to sign ups. 

Did this answer your question?