Skip to content

Installation

Install the app and connect your GA4 account

Use with AI

Use with AI

Ready-made prompts Connect your AI to Pasilobus Install the CLI

This page

View as MarkdownPlain text of this page Open in ClaudeAsk about this page Open in ChatGPTAsk about this page

Ready-made prompts

Fill in the parts in angle brackets, then paste into any assistant.

Step by step on your store

Read https://help.pasilobus.com/google-analytics/installation.md. Walk me through installation in GA4 Tracking for my store, step by step. My theme is <theme name> and I want <what you want to happen>.

Ask your own question

Read https://help.pasilobus.com/google-analytics/installation.md. Answer this about GA4 Tracking on my store: <your question>.

Ask Shopify Sidekick

In your Shopify admin, ask Sidekick about GA4 Tracking. It searches these guides.

Connect your AI to Pasilobus Beta

Our MCP server lets Claude, ChatGPT, OpenClaw and other MCP clients use your Pasilobus apps. It is in beta and open to every Pasilobus account: you sign in with it when your assistant asks. Tools that change your store are marked as changes, so your assistant asks you first.

https://cloud.pasilobus.com/mcp

In Claude Code, add it, then run /mcp to sign in:

claude mcp add --transport http pasilobus https://cloud.pasilobus.com/mcp

In Claude on the web or desktop, go to Customize › Connectors › Add custom connector and paste the address. In ChatGPT, OpenClaw or another client, add it as a custom connector (MCP) with the same address.

Install the CLI

npm install -g pasilobus

Run your apps from the terminal or a coding agent. These only read, so they are safe to try:

pasilobus google-analytics conversions

Purchases sent to Google Analytics, revenue, and orders GA4 could not see

pasilobus google-analytics tracking

GA4 measurement ID, tracked events, Google tags, custom events and tracking features

pasilobus apps lists your apps on the store; pasilobus <app> help lists what each app can do. How it works

On this page
  1. Installing from the App Store
  2. Connecting with Google
  3. Getting Your GA4 Credentials by Hand
  4. Entering Credentials in the App
  5. Verifying Tracking is Working
  6. Enabling the App Embed

Installing from the App Store

  1. Visit the Pasilobus Google Analytics app listing on the Shopify App Store
  2. Click Add app to begin the installation
  3. Follow the prompts to complete installation

Connecting with Google

The quickest way to connect is Connect with Google on the app's home page (first setup step) or on Settings › GA4 Credentials:

  1. Click Connect with Google. Google's sign-in page opens in the full browser window.
  2. Sign in with the Google account that manages your GA4 property and allow access to Google Analytics.
  3. Back in the app, choose your GA4 web data stream from the list. Streams are grouped by Google Analytics account and property, so pick the account, then the property, then its web stream.
  4. Tick the box to accept Google's user data collection terms for that property (Google requires this before an API secret can be created).
  5. Click Use this data stream.

The app fills in the Measurement ID and creates a Measurement Protocol API secret on that stream for you. It then gives up its access to your Google account: nothing else in Google Analytics is changed, and no Google login is kept.

If you prefer, or if your Google account cannot manage the property, enter the two values by hand as described below.

Getting Your GA4 Credentials by Hand

Before the app can send data to Google Analytics, you need two pieces of information from your GA4 account:

Finding Your Measurement ID

  1. Go to analytics.google.com
  2. Click the Admin gear icon in the bottom-left corner
  3. Open Data collection and modification › Data streams
  4. Select your web data stream
  5. Your Measurement ID (starts with G-) is shown at the top—copy it

Open Google Analytics Admin

Open Data Streams

Copy Measurement ID

Creating an API Secret

  1. In the same Data Stream details page, scroll down
  2. Click Measurement Protocol API secrets
  3. Click Create to generate a new secret
  4. Give it a name (e.g., "Shopify Pasilobus Google Analytics")
  5. Copy the Secret value

Open Measurement Protocol secrets

Create API Secret

Copy the secret value

Entering Credentials in the App

  1. Open the Pasilobus Google Analytics app in your Shopify admin
  2. Enter your Measurement ID in the first field
  3. Enter your API Secret in the second field
  4. Click Save

Once saved, the API Secret is hidden and never shown again. To change it, paste a new secret into the field and save. Leaving the field empty keeps the secret you already saved.

The app refuses a value that cannot be an API secret (for example the secret's nickname, or text with spaces). Google accepts events sent with any secret without reporting an error, so use Send test event (below) to confirm the secret belongs to your data stream.

Enter credentials in app

Verifying Tracking is Working

To check your credentials straight away, open Settings › GA4 Credentials and click Send test event. The app sends an event named pasilobus_connection_test in debug mode; open Admin › DebugView in Google Analytics and it should appear within a minute. If it does not, the API secret does not belong to that data stream.

To confirm everything is set up correctly:

  1. Visit your store and browse a few pages
  2. Add a product to cart
  3. Wait 24-48 hours for data to appear in GA4 reports

For real-time verification, use GA4's DebugView:

  1. In Google Analytics, go to Admin > DebugView
  2. Browse your store in a separate tab
  3. Watch for events appearing in real-time

If events aren't showing, check the Events Not Showing troubleshooting guide.

Enabling the App Embed

After saving your credentials, enable the app on your theme:

  1. Select your theme from the dropdown
  2. Click Open Theme Editor
  3. In the theme editor, find "Pasilobus Google Analytics" in the App Embeds section
  4. Toggle it On and click Save

Talk to a person.

The people who build our apps answer support themselves. Send us a message or email us, and a person replies, usually within one business day. There's no chat.