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 -->
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.
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)
| Platform | Installation Method |
|---|---|
| WordPress | Use the WPCode or Insert Headers and Footers plugin. Paste the code into the Header section. |
| GTM | Use a Custom HTML tag. Use the Initialization - All Pages trigger (Required). |
| Shopify | Go 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
- Log in to your Scalev dashboard.
- Select the Landing Page where you want to install tracking.
- Go to the Settings menu > Tracking / Scripts.
- Use the Custom Global Script (Header) or Facebook Pixel Alternative field.
- Paste the Konektor code and save.
Berdu
- Log in to the Berdu admin panel.
- Select the Appearance (Tampilan) menu > Additional Javascript/CSS.
- Click Add Script and choose the Header location.
- Paste the Konektor code and save.
OrderOnline (OO)
- Go to OrderOnline > Products.
- Edit your product, then open the Checkout Page or Success Page tab.
- Look for the Tracking Script or Custom Snippet section.
- 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:
- Go to Member Dashboard > Pixel Settings.
- In the Unified Tracking Code card, find Tracking Host Allowlist.
- Enter website domains, one domain per line or separated by commas.
- Click Save Allowlist.
Valid format examples:
example.comwww.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.commatchesexample.comand its subdomains.*.example.commatches subdomains only (for exampleshop.example.com), notexample.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:
- Browser Console: Right-click on your website > Inspect > Console. Type
konektorand press ENTER. If afunction...appears, the script is active. - Network Tab: Check for requests to
cdn.konektor.id. - Real-time Test: Simulate an ad click (add
?fbclid=testto 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.
© 2026 Konektor. All rights reserved.
