VueJS
Here are the easy steps to add the SiteBehaviour Tracking script to their Angular project.
Steps to Add Script to a Vue Project
Go to your SiteBehaviour Organisation's page and click on the Settings button for your site.
Go to the Tracking code tab.
Click on Copy to copy the Tracking Code to your clipboard.
In your Vue.js project directory, find the
public
folder. This folder contains the static files likeindex.html
.Open the
index.html
file located in thepublic
folder.Locate the closing
</head>
tag in the file.Paste your web analytics script just before the closing
</head>
tag in theindex.html
file.
9 . After allowing a couple of minutes for the update, check SiteBehaviour's Dashboard for statistics. We recommend visiting your website to ensure that your initial activity is accurately reflected on the SiteBehaviour Dashboard.
Last updated