Set up Navlens in your project in just a few minutes
Start by creating a free Navlens account at navlens.io
Sign up for a free account by visiting our website. After confirming your email, you will be taken to your dashboard.
Install Navlens using npm or yarn in your project
Choose your package manager and run the installation command.
CODE EXAMPLE
npm install @navlens/core
# or
yarn add @navlens/core
# or
pnpm add @navlens/coreAdd the initialization code to your main application file
Initialize Navlens early in your application lifecycle for web applications.
CODE EXAMPLE
<script>
window.navlensConfig = {
apiKey: 'YOUR_API_KEY',
trackingId: 'YOUR_SITE_ID'
};
</script>
<script src="https://cdn.navlens.io/tracker.js"><\/script>Complete this guide and explore more resources to master Navlens
Go to Dashboard