Browse Get started
Guide for engineers
Install the tag, set up consent and identify, and keep capture safe on your pages.
This guide is for the engineers who install and maintain Kontala on a site.
Suggested path
- Install the website tag and allow
https://konta.lain your Content Security Policy. - Wire your consent banner to the tag with Consent. The tag treats visitors as consenting unless you tell it otherwise.
- Tell Kontala who signed in with Identify visitors.
- Declare page types and click types where you know them best, with
pageTracker.pageType()anddata-ac-event. See Page and click types. - Keep sensitive parts of your pages out of capture with
data-ac-ignoreanddata-ac-mask. - On Shopify, add the Shopify checkout pixel.
The tag reference lists every attribute, function and cookie.
Things you do not need to do
- Write a tagging plan before you start. Pages and clicks are classified for you.
- Re-tag pages already instrumented for another analytics tool. Kontala can read your existing data layers and analytics calls.
- Ship a release to change what is captured. Settings arrive inside the script, so a change reaches your site within a few minutes.