Complete guide: WhatsApp landing page tracking from zero to events in Meta Ads (5 minutes, Indonesian narration)
Complete guide: WhatsApp landing page tracking from zero to events in Meta Ads (5 minutes, Indonesian narration) • 5:30
Tonton di YouTube
Install the website tracking code: visits recorded and proven in Konektor (1 minute, Indonesian narration)
Install the website tracking code: visits recorded and proven in Konektor (1 minute, Indonesian narration) • 1:07
Tonton di YouTube
How to install the Konektor tracking code on your website in 1 minute (Indonesian narration)
How to install the Konektor tracking code on your website in 1 minute (Indonesian narration) • 0:56
Tonton di YouTubeInstall and Verify the Tracking Script
The tracking script connects website visits to events in Konektor. Follow this order: copy the workspace code, install it on every page, open the website, and confirm that Konektor receives a real event. Ad-platform delivery is a separate, optional step.
Before you start
You need:
- owner or admin access to the Konektor workspace;
- permission to change the website header or Google Tag Manager container;
- a website page that you can open for testing;
- ad-platform credentials if you also want to send events to Meta, Google, or TikTok.
Do not expose credentials
Never put an access token, API secret, or password in the website script. Enter platform credentials only in the Tambah platform iklan (Add ad platform) form in the Konektor dashboard.
1. Copy code from the correct workspace
- Enter the workspace that you want to track.
- Open Tracking Website (Website Tracking).
- Find the Kode tracking (Tracking code) card.
- If an ID is not available, click Buat kode tracking (Create tracking code).
- Click Lihat kode (View code). On the Pasang sendiri (Install yourself) tab, click Salin Kode (Copy Code).
![]()
Always use the complete code generated by the dashboard. Do not copy a sample ID from documentation or replace the workspace ID manually.
2. Choose one installation method
The script must load on every page that you want to track. Install it once through a method that applies site-wide.
HTML manual
- Open the website's main layout template.
- Paste the complete code before the closing
</head>tag. - Save, build, and publish the website.
If the website navigates without loading a new page, make sure the app also records PageView after each route change. Ask a developer to check this when the URL changes without a full page reload.
Google Tag Manager
- Open the website container in Google Tag Manager.
- Select Tags > New.
- Select Tag Configuration > Custom HTML.
- Paste the complete Konektor code.
- Under Triggering, select Initialization - All Pages.
- Save, use Preview to test, then Submit to publish the container.
Make sure the Google Tag Manager container itself is installed on the website. A tag that is only saved and not published does not run for visitors.
WordPress
Konektor has no WordPress plugin of its own. Use a trusted feature or plugin that inserts code into the site-wide header.
- Open the header-code settings in WordPress.
- Paste the complete Konektor code into Header.
- Save the change.
- Clear the WordPress, caching-plugin, and CDN caches if used.
On WordPress.com, the ability to install JavaScript depends on the site's plan. See the WordPress header-code guide if you cannot find a code installation option.
Shopify
Back up or duplicate the theme before editing code.
- Open Online Store > Themes.
- Open the action menu for the active theme, then select Edit code.
- Open the main layout file, usually
theme.liquid. - Paste the complete Konektor code before
</head>. - Click Save, then open the published storefront.
See the Shopify theme-code guide if your theme has a different structure.
Landing-page builder
Look for a setting named Custom Code, Tracking Script, Header Script, or something similar. Paste the code into the global header area, not into a single page element.
If the platform has separate public and checkout pages, check whether the code must be installed in both areas. Use the platform's official help because menu names can differ.
Custom backend app (PHP, Laravel, Node.js, and similar)
The Konektor tracking code is a plain HTML <script> tag. It does not depend on the backend language, so the same steps apply to a website rendered by PHP, Laravel, Node.js, or another framework.
- Open the shared layout template every page uses, for example
header.phpor a Blade layout file. - Paste the whole code before the closing
</head>. - Confirm that template is used by every route or page you want to track, including pages rendered from a different controller.
Follow the same verification steps in 3. Send and verify a website event below.
3. Send and verify a website event
Run this test on the published website, not only inside its editor.
- Open the website in a private or incognito window.
- Open a page that contains the Konektor code.
- Return to the Konektor member dashboard.
- Click the Aktivasi (Activation) card at the bottom left of the side menu. The Aktivasi Anda (Your activation) panel opens.
- Confirm that the website step says an event, such as
PageView, was received.
The website step in the panel becomes done after the first event arrives. If the status does not change, wait a moment, then reload the dashboard page.
A real event is the required evidence
A loaded tracker.min.js file only proves that the browser found the script. Konektor marks website tracking as verified after receiving a real event. Uji kirim (Test send) does not replace this website test.
4. Optional: add an ad platform
Skip this section if you only need to confirm that website tracking works. Add an ad platform after the website step in the panel is done.
- Open Tracking Website. If the code does not exist yet, click Buat kode tracking.
- Click Tambah platform iklan. The Platform iklan (Ad platform) choices include Meta, Google, and TikTok.
- Select a platform.
- Enter the values from that platform account.
- Click Simpan (Save).
Use these guides for credentials and event mapping:
By default, the Konektor script does not automatically load an ad platform's browser tag. If you already manage Meta Pixel, Google tag, or TikTok Pixel through Google Tag Manager or website code, keep the browser tag there to avoid duplicate installation.
5. Optional: test platform delivery
- In the Platform iklan terhubung (Connected ad platforms) table, open the platform row menu, then select Uji kirim.
- Enter the Nama event (Event Name) and any required test data.
- For Meta, enter the Kode event uji (Test Event Code) from Meta Events Manager > Test events. This code is required for Meta.
- Click Kirim uji (Send test).
- Check the result in Konektor and the platform's test tool.
| Result | Meaning |
|---|---|
| Uji berhasil (Test passed) | The platform received the test event. |
| Failed | Check the credentials, ID, account permissions, and error message. |
The Uji berhasil status differs from Sehat (Healthy). Sehat appears after the platform receives real events. A saved configuration does not prove that delivery works. The test result does not change the required website-tracking evidence.
Move or remove a pixel from an old workspace
One pixel ID can be in only one workspace. If the ID is still in an old workspace, Konektor offers a way to move it to the new workspace.
- Open the new workspace, then open Tracking Website.
- Click Tambah platform iklan, then enter the same platform and pixel ID as the old workspace.
- Click Simpan.
- If your account is an owner or admin in the old workspace, Konektor shows the message Pixel ini masih ada di workspace {nama workspace lama} (This pixel is in the workspace {old workspace name}). Click Pindahkan ke workspace ini (Move to this workspace). This still works even when the old workspace has no active plan.
-
If your account is not an owner or admin in the old workspace, Konektor shows a message that another workspace already uses this pixel. Ask an owner or admin of the old workspace to do one of these steps:
- Delete the pixel in the old workspace. Then do steps 2 and 3 again.
- Make your account an admin in the old workspace. If your account is not a member yet, invite it as an admin, then accept the invite from the email. If your account is already a member, change its role to admin. Then do steps 2 to 4 again.
If the plan of the old workspace has ended or its team member quota is full, use the first option. If you do not know the owner of the old workspace, send a ticket in Bantuan (Help) > Tiket Saya (My tickets). - After the pixel moves, replace your website tracking code with the code from this new workspace.
Notes:
- Only a workspace owner or admin can move or delete a pixel.
- Moving a pixel does not delete the leads in the old workspace.
- You can also delete the pixel directly in the old workspace. Open the row menu in the Platform iklan terhubung table, then select Hapus (Delete). Do this if you do not want to move it.
Optional settings
Allowed domains
Use the domain list when only specific domains should be allowed to send events.
- On the Tracking Website page, open the Domain yang diizinkan (Allowed domains) section.
- Enter one host per line, such as
example.comandwww.example.com. - Click Simpan domain (Save domains).
- Test the website again.
When the list is empty, all hosts are allowed. When it contains entries, a website domain that is not listed is rejected.
Custom domain
After adding or changing a custom domain in Konektor, open Kode tracking again and copy the latest code. This is safer than editing domain options inside the script manually.
Troubleshooting
| Symptom | What to check |
|---|---|
| The activation panel does not say an event was received | Open a published website page, wait briefly, then reload the dashboard page. |
| The panel is complete but the header has not changed | Reload the dashboard page once. The panel and the Aktivasi card fetch the latest evidence together. |
tracker.min.js does not appear in the browser Network tab | Confirm that the code is in the global header, the change is published, and caches are cleared. |
| The script request is blocked | Test without a blocking extension, check Content Security Policy, and confirm that the website does not block the CDN domain. |
| A domain-not-allowed message appears | Add the exact website host to Domain yang diizinkan, or clear the list if you do not need the restriction yet. |
| Events appear twice | Look for duplicate Konektor installation in the theme, plugins, and Google Tag Manager. Also check for platform browser tags installed through more than one method. |
| No website event arrives even though the script loads | Check browser errors, the domain allowlist, and whether PageView runs after init. |
| The platform does not receive the test event | Fix the configuration under Tracking Website, then run Uji kirim again. |
A test event is skipped | Add the identifier and required data described in the result message. |
| A change is not visible | Publish the container or website, then clear browser, website, and CDN caches. |
| The pixel ID is refused because it is in use | Read Move or remove a pixel from an old workspace, then move that pixel to this workspace. |
If the problem continues, record the test-page URL, test time, and error message. Hide access tokens, API secrets, customer identities, and personal data before sharing screenshots.
Next steps
Need More Help?
Our team is ready to help you maximize ad tracking and business attribution.
Wulan answers your questions and sends tutorial videos. Session scheduling is available through Wulan if you still need it.
© 2026 Konektor. All rights reserved.