No cookie banner
This 8Kb version tracks everyone without asking. Paste this code on your website's HTML source code to get things running:
Learn more about privacy and consent banners here.
With cookie banner
This 10Kb version displays a consent banner for European visitors. Here's the embed code:
Cookie banner configuration
Here's an embed code for a customized cookie banner:
Here are all the available options:
The analytics token you receive after creating a new project. This is required.
navigator.doNotTrck- setting should disable tracking. Defaults to
The label of the “no” button in the consent dialog. Default value: “Not now”
The label of the “yes” button in the consent dialog. Default value: “Yes”
The label on the “OK” button on a notice dialog. Default value: “OK”
Whether the default CSS styling should be applied on the popup. Setting this to
false allows you to style the dialog from scratch. Defaults to
Google Tag Manager
If you want to setup Volument with GTM, please create a Custom HTML tag with the following embed code:
Set the Triggering to All pages.
Call this method when the visitors join your mailing list and hand in their email address.
Call this method when the visitor becomes a sales lead by contacting sales and handing in their contact information.
Call this method when the visitor starts using your product.
Call this method when the visitor and converts to a customer by handing their payment information such as the credit card and no money is paid at the spot.
Call this method when the visitor converts to a promoter by inviting her friends or other associates to your product.
Call this method when the visitor hands their payment information and pays the given amount of money. The value is provided in cents without decimals and in the currency of your choice.
The visitor is converted to a customer so no additional convertToCustomer call is needed.
Call this method when the visitor invites the given amount of peers to the site. The visitor is automatically converted to a promoter so no additional convertToPromoter call is needed.
If your site is a single-page application (SPA) and the page change is built around
pushState (PJAX, Turbolinks, or similar) you can use
volument.route() to track page switches, for example:
Call this method when the visitor is routed to a new page. After this Volument starts tracking how the new page is consumed. The path argument is optional and
location.pathname is used by default.
This website, for example, is a single-page application. Here's an article about it.