Tracking Script Installation

To start tracking conversions Server-Side, you need to install the Konektor Tracking Script (Base Pixel) on your website. This script acts as a "radar" that captures the visitor's Click ID and sends it to the server for the attribution process.

Fundamental

Install this script in the <head> section of your website so the system can capture visitor data as early as possible before they click through to WhatsApp.

1. Copy the Base Tracking Code

You can get your unique code from the Pixel Settings menu. Generally, the code looks like this:

<!-- Konektor Tracking Code -->
<script>
!function(w,d,t,u,k,a,m){w['KonektorObject']=k;w[k]=w[k]||function(){
(w[k].q=w[k].q||[]).push(arguments)},w[k].l=1*new Date();a=d.createElement(t),
m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
}(window,document,'script','https://cdn.konektor.id/tracker.min.js','konektor');

konektor('init', 'YOUR-WS-ID'); // Replace with your Workspace ID
konektor('track', 'PageView');
</script>
<!-- End Konektor Tracking Code -->
By default, tracker.min.js fetches active config but does not auto-inject platform browser scripts (Meta/Google/TikTok/LinkedIn).
Enable it only if you want Konektor to manage those browser tags:
konektor('init', 'YOUR-WS-ID', {
    browserTags: { autoLoad: true }
});

Browser-tag management is opt-in

If you keep browserTags.autoLoad disabled (default), manage platform browser scripts manually via GTM/hardcoded setup. If you enable browserTags.autoLoad: true, Konektor can manage platform browser script injection from workspace config.

Default browserTags.autoLoad is false.
If you want auto-load enabled, edit your konektor('init', ...) line while copying the snippet to GTM or your website:
konektor('init', 'YOUR-WS-ID', {
    browserTags: { autoLoad: true }
});

2. Installation Guide per Platform

Global Platforms (WordPress & Shopify)

PlatformInstallation Method
WordPressUse the WPCode or Insert Headers and Footers plugin. Paste the code into the Header section.
GTMUse a Custom HTML tag. Use the Initialization - All Pages trigger (Required).
ShopifyGo to Online Store > Themes > Edit Code > theme.liquid. Paste above </head>.

Indonesian Local Platforms

Konektor fully supports various local landing page builder platforms for Indonesian advertisers.

Scalev

  1. Log in to your Scalev dashboard.
  2. Select the Landing Page where you want to install tracking.
  3. Go to the Settings menu > Tracking / Scripts.
  4. Use the Custom Global Script (Header) or Facebook Pixel Alternative field.
  5. Paste the Konektor code and save.

Berdu

  1. Log in to the Berdu admin panel.
  2. Select the Appearance (Tampilan) menu > Additional Javascript/CSS.
  3. Click Add Script and choose the Header location.
  4. Paste the Konektor code and save.

OrderOnline (OO)

  1. Go to OrderOnline > Products.
  2. Edit your product, then open the Checkout Page or Success Page tab.
  3. Look for the Tracking Script or Custom Snippet section.
  4. Paste the Konektor code there.

3. Advanced Configuration (Custom Domain)

If you are using a Custom Domain for your WhatsApp links, you must inform the Konektor script so it can maintain cross-domain tracking.

Update your init line as follows:

konektor('init', 'YOUR-WS-ID', {
    crossDomain: {
        domains: ['link.yourbusiness.com'] // The domain you set in the dashboard
    }
});

trackingDomain is still supported as a backward-compatible alias, but crossDomain.domains is the recommended format going forward.

Make sure the visitor_code parameter is preserved across domains. This code is the primary bridge between website tracking and WhatsApp chat matching.

Calling konektor('track', 'PageView') still needs to happen explicitly on each page you want to record, including after route changes in an SPA.


4. Limit Which Domains Can Send Events

If you want events to come only from your own website, use Tracking Host Allowlist in Pixel Settings.

Setup steps:

  1. Go to Member Dashboard > Pixel Settings.
  2. In the Unified Tracking Code card, find Tracking Host Allowlist.
  3. Enter website domains, one domain per line or separated by commas.
  4. Click Save Allowlist.

Valid format examples:

  • example.com
  • www.example.com
  • *.example.com

How it works:

  • If the list is empty, all domains can still send events.
  • If the list has values, only domains in the list can send events.
  • example.com matches example.com and its subdomains.
  • *.example.com matches subdomains only (for example shop.example.com), not example.com.

Enable this feature when you are concerned your Konektor script may be installed on other websites without permission.
Events from domains you do not allow will be rejected automatically.


5. Verification & Testing

Once installed, ensure the script is running correctly:

  1. Browser Console: Right-click on your website > Inspect > Console. Type konektor and press ENTER. If a function... appears, the script is active.
  2. Network Tab: Check for requests to cdn.konektor.id.
  3. Real-time Test: Simulate an ad click (add ?fbclid=test to the URL) then check the Konektor dashboard to see if the visit is recorded.

Troubleshooting

  • Script Not Appearing: Ensure you aren't using overly aggressive Minify JS plugins that could break the script structure.
  • Duplicate Browser Events: If you still install platform pixels manually via GTM/hardcoded script, disable one setup path to avoid double events.
  • Enable Konektor browser-tag auto injection (optional): Use this only if you want Konektor to auto-inject Meta/TikTok/Google/LinkedIn browser scripts:
konektor('init', 'YOUR-WS-ID', {
    browserTags: { autoLoad: true }
});
  • Bypass Ad-Blockers: If the script is blocked, we highly recommend using the Custom Domain feature so the script loads from your own domain, rather than a generic CDN.
  • You see a “domain not allowed” message: Recheck the domain list in Tracking Host Allowlist. Make sure your landing-page domain is included.

Next Steps

Need technical assistance? Our team is ready to help via support@konektor.id or visit YouTube for video guides.

Need More Help?

Our team is ready to help you maximize ad tracking and business attribution.

Email Supportsupport@konektor.id
YouTubeYouTube

© 2026 Konektor. All rights reserved.