Setup guide

Last updated: 29 October 2026

inMOLA Analytics is lightweight, cookieless web and app analytics. Setup takes two steps: add the tag to your site, then open your site and confirm the first visit appears in the panel. No cookie banner needed; your data never goes to Google.

1. Getting started

  1. In the panel, open Sites → type your domain → Add site. Without an account you can request access from the sign-in screen.
  2. Add the code from the Setup window to the <head> of every page:
<script defer data-site="YOUR_SITE_KEY" src="https://inmola-analytics.iletisim-845.workers.dev/a.js"></script>
  1. Open your site. The setup window detects the first visit within 1–3 minutes and shows “The first visit arrived”; the site list shows Working.

The tag loads with defer and is a few KB, so it doesn't slow your page down. In single-page apps (React, Next.js, Vue) route changes are counted automatically.

2. Measured automatically

3. Custom events

Send your own events with one line. The second value (optional) is the event detail:

inmola('add_to_cart', 'SKU-1');
inmola('newsletter_signup');

To call it before the tag loads, add this line above the tag (calls are queued):

<script>window.inmola=window.inmola||function(){(inmola.q=inmola.q||[]).push(arguments)}</script>

Events appear under Basic Performance → Top events and in Goals; defining goals and funnels needs no code.

4. Sales tracking

If your site already has Google Analytics 4 e-commerce (a purchase sent to dataLayer or via gtag on the order page), no extra code is needed; the tag reads it. It is automatic on ikas and Ticimax too. Otherwise, on your order confirmation page, after the tag:

inmola('purchase', {
  transaction_id: 'ORD-1001',
  value: 1499.90,
  currency: 'TRY',
  items: [{ id: 'SKU-1', name: 'Product name', price: 1499.90, quantity: 1 }]
});

The same order number is counted once, even if the page is reloaded or two sources report it.

5. Platform guides

PlatformTagSales
ikasStore custom code field, on all pagesAutomatic (ikas publishes order details)
TicimaxCustom code field added to all pagesAutomatic (order page in GA4 format)
IdeaSoftSettings → General Settings → Custom Script CodesAutomatic if GA4 integration is on; otherwise the code from the panel in “Order Tracking & Conversion Code”
ShopifyThemes → Edit code → theme.liquid, above </head>Settings → Customer events → Custom pixel (code ready in the panel)
WordPress / WooCommerceThe inMOLA plugin (download from the panel) adds the tag, protects against ad blockers and records WooCommerce orders with revenue and products.
Google Tag ManagerAdd as a Custom HTML tag with an “All pages” trigger. Ad blockers also block GTM, so adding it directly to <head> is recommended.

Step-by-step guides with your site's own code are in the panel under Sites → E-commerce setup.

6. Ad blocker protection (first-party setup)

Some ad blockers block analytics addresses and part of your visits get lost. With protection on, the tag and events go through your own site's address (e.g. example.com/xyz/a.js). Ready code for Next.js, nginx, Cloudflare and WordPress is in the panel under Sites → Ad blocker protection. The code contains a proxy key specific to your site; the collector accepts the forwarded visitor address only with that key. Keep it private. After setup, the Verify setup button in the same window confirms everything works.

7. Mobile apps

When adding a site in the panel, choose Mobile app and enter the app ID (iOS bundle ID / Android package name, e.g. com.example.app). Single-file SDKs with no dependencies; no device IDs, no App Tracking Transparency prompt:

PlatformFileStart
iOS (Swift, iOS 13+)InmolaAnalytics.swiftInmolaAnalytics.configure(siteKey: "…")
Android (Kotlin, minSdk 16)InmolaAnalytics.ktInmolaAnalytics.init(this, "…")
Flutter (3.10+)inmola_analytics.dartInmolaAnalytics.init(siteKey: '…', appId: '…')
React Native / ExpoInmolaAnalytics.tsInmolaAnalytics.init({ siteKey: '…', appId: '…' })

Screen, event and purchase examples and the App Store / Google Play privacy form details are in the panel's App setup window. For Flutter on Android, add the internet permission to android/app/src/main/AndroidManifest.xml; the template only adds it to debug builds.

Platforms without an SDK can send batched records to https://inmola-analytics.iletisim-845.workers.dev/m; the format is in the panel's Other tab.

8. AI bots

Assistants such as ChatGPT, Claude and Perplexity don't run JavaScript when they read your site, so the tag can't see them; your server has to report them. Sites → Server setup in the panel gives ready code for Next.js, WordPress, Cloudflare and other servers, including a secret key specific to your site.

9. Team and inMOLA Core

10. Privacy

The tag uses no cookies and writes nothing to the visitor's device; IP addresses and full browser strings are not stored, and an anonymous daily visitor ID is derived with a key that changes every day. That is why no cookie banner is needed. We still recommend mentioning visit statistics in your privacy policy; details are in our Privacy Policy.

11. Troubleshooting