Docs
← Back to site

Install and connect the Shopify app

2 min readUpdated November 22, 2026

Connecting a store takes a few minutes: add its addresses, install the app, paste the connection code, and turn on the tracker.

1. Add the store’s addresses#

In Nahnu Analytics, add a website for the store (or open its existing one) and go to Settings › General. List both addresses the store answers on:

  • its own domain, for example shop.example.com
  • its .myshopify.com address

Checkout runs on Shopify’s addresses, so events from an address that is not listed are not counted.

2. Copy the connection code#

Open the website’s Settings › Installation. The connection code is in the WordPress card, and the Shopify store: use the Shopify app card lists the steps.

In Nahnu Analytics, the website's Installation settings: Shopify store, use the Shopify app

Your client can also find the code in the client portal, on the website’s install page. Keep the code private: it belongs to this website.

3. Install the app and connect#

  1. In the store’s Shopify admin, install Nahnu Analytics Connector from the Shopify App Store and approve its access.
  2. Open the app (Apps › Nahnu Analytics Connector).
  3. Paste the connection code in Connection code and click Connect.
The Nahnu Analytics app in Shopify admin: paste the connection code and click Connect

The app saves the connection in the store and sets up the checkout events by itself. The page then shows Connected to with the website’s name and the address visits go to.

4. Turn on the tracker#

Click Open the theme editor. The theme editor opens on App embeds with Nahnu Analytics switched on; click Save there, then Check again in the app. Turn on the tracker has the details.

When both rows show On, open the store in a private window: the visit shows on the website’s dashboard within seconds.

The app after connecting: the store is connected, and the tracker and checkout events are both On

Change the code#

Change code swaps the connection code, for example after you move the platform or change the tracking domain. The checkout events are updated with it.

Messages you may see#

MessageWhat to do
That is the website snippet. Paste the connection code instead.You pasted the <script> snippet. Copy the connection code instead.
That code could not be read. Copy it again, in one piece.Part of the code is missing. Use the copy button in Nahnu Analytics.
This code is from an older version of the agency’s plugin.Update Nahnu Analytics, then copy the code again.
The app has no access to this store right now. Reload the page.The Shopify session expired. Reload the app page.

Was this helpful?