
tech.install-analytics·versija 1.0.0·melnraksts3 jāpārbauda
Vietne mēra apmeklējumus ar rīku, kas prioritāti dod privātumam, mērījumiem ir juridiskais pamats, privātuma paziņojumā tas ir norādīts, un īpašnieks redz pirmos reālos skaitļus.
The company wants to measure traffic on a site it controls and has no working analytics yet, or wants to replace a tool that is heavier than needed. Not for connecting the site to Google Search Console — that is search visibility, not audience measurement: use tech.connect-search-console. Not for a brand-new site that has not launched — do it as part of growth.launch-website, before the announcement, so day one is measured.
web@company), never a personal mailbox.Jebkurš solis var gaidīt līdz datumam un atveras pats; katrs noslēgts solis atstāj pierādījumu (piezīmi, saiti, skaitli).
List every script on the pages that sets cookies or sends data anywhere (old analytics, pixels, chat, fonts).
Izdarīts, kad the list is written down, with what each one is for and whether it still has an owner.
⛔ Removing nothing first means the new tool's numbers are quietly polluted by double counting.
Shortlist privacy-first options (no cross-site tracking, no personal-data resale): a hosted cookieless tool, or self-hosted on the company's own infrastructure. For each: monthly cost, where data is stored (EU preferred), what it can measure, what it requires in the privacy notice. State the legal basis in one line — legitimate interest for strictly necessary, cookieless measurement, or consent if cookies are set.
Izdarīts, kad the owner has a one-page comparison with a recommendation.
Apstiprinājums · S3 · īpašnieks — izpilde apstājas, līdz nosaukts cilvēks ieraksta lēmumu
Decide: which tool, hosted or self-hosted, the budget, and what the first measured goals are.
Izdarīts, kad the owner has named the tool and the goals.
Register the tool with the company as owner (role address), create the property/site, note the measurement ID or snippet. If self-hosted: deploy it on the company's infrastructure, put it on a subdomain (e.g. stats.example.lv) as a record in the existing zone — use bc dns for the record, and do not register a new domain for it.
Izdarīts, kad the dashboard exists, is reachable, and the login belongs to the company.
Add the snippet or tag to every page template (not single pages), or install the plugin where the platform offers one. Remove the dead scripts found in S1 that this tool replaces.
Izdarīts, kad the snippet is in the deployed template and a live page's HTML contains it exactly once.
Open the site (use bc open for the page) and confirm the visit appears in the dashboard within the tool's stated delay. Check from a second network or device. Mark the company's own office/team IP or domain as excluded so internal traffic does not count.
Izdarīts, kad the test visit is visible, internal traffic is excluded, and the goals defined in S3 exist as configured events.
⛔ A dashboard that shows only your own visits is not verified — confirm at least one external visit too.
Apstiprinājums · S7 · īpašnieks — izpilde apstājas, līdz nosaukts cilvēks ieraksta lēmumu
Draft the one-paragraph addition: what is measured, which tool, where data is stored, how long it is kept, the legal basis, and how to opt out. If the tool sets no cookies and no consent banner is needed, write that conclusion down explicitly with the reason.
Izdarīts, kad the owner has approved the wording and it is live on the site's privacy page.
⛔ Publishing a privacy text the owner has not read is a GDPR problem, not a formality.
Link the analytics property to the goal/task it serves (bc tasks add or bc goals add), store the account details and measurement ID in the company's records, and send the owner a three-line summary: what is measured, where the dashboard is, what the privacy notice now says.
Izdarīts, kad the property is linked to its goal/task, the account details and measurement ID are stored in the company's records, and the owner has the three-line summary.
| Pazīme | Rīcība |
|---|---|
| Numbers look far too high | Old or duplicate snippet still present — re-run the S1 inventory on the live HTML, remove the leftovers, wait a day and compare. |
| Numbers look far too low | Bot filtering or internal exclusion set too aggressively, or the snippet missing from some templates — check per page type, not only the home page. |
| No data at all after 24 h | Snippet blocked by a content-security-policy header or a consent script never firing it — check the browser console, fix the header or the consent logic, retest. |
| Owner questions the legal basis | Return to S2's written conclusion; if any cookie is set, switch to consent-first or drop that measurement; ⚠ jāpārbauda against current Datu valsts inspekcija guidance before deciding. |
| Tool's price jumps or it shuts down | The data export path must exist from day one — schedule a periodic export; switching tools later is a new run of this playbook. |
S1 script inventory · the owner's tool choice in S3 (who, when) · measurement ID and account owner · S6 test-visit screenshot with timestamp · the approved privacy-notice wording and its publish date · the goal/task link.
After every 10 runs ask: how long from ask to first verified data, and which step waited longest? Did any site keep a leftover script that polluted the first month's numbers? Did any privacy notice turn out wrong at the next review? A new version changes the step that caused the wait or the miss, and says so in its change note.
Nosaukums un kopsavilkums ir latviski. Detalizētā izpildes kārtība pagaidām ir kanoniskajā angļu valodas versijā; juridiskos un finanšu soļus publicēsim latviski tikai pēc cilvēka pārbaudes.
Obligātās sīkdatnes tur sarunu kopā. Analītika ir izslēgta, līdz tu atļauj — tā neliek nevienu sīkdatni un neglabā ierīces identifikatoru.Necessary storage keeps your conversation together. Analytics is off until you allow it — it sets no cookie and stores no device identifier. Ko mēs glabājamWhat we store