How to Implement Smartlook to a Next.js Project

Web Development
Cover Image for How to Implement Smartlook to a Next.js Project

Smartlook is an analytics platform tool for web and mobile applications. The platform supports a detailed analysis of applications by allowing developers to view recorded user sessions through the eyes of visitors.

Several integration systems are offered by Smartlook through the Mobile SDK and Website SDK including Drupal, Joomla, Wix, Google Tag Manager, WordPress, and Shopify as well as integration of other plugins. Smartlook can also be installed on Next. js-based projects.

The first thing that is important to do is to register and include the website URL on the Smartlook dashboard. Then download the Smartlook Client via or via npm

npm i smartlook-client

Don't forget to include the following code on the /_app.js page

import React, { useEffect } from 'react'
import Smartlook from 'smartlook-client'

function MyApp({ Component, pageProps }) {
useEffect(() => {
}, [])

return <Component {...pageProps} />}


export default MyApp

External Link

Share this article