---
title: "GA4 and Tag Manager Setup from PLN 999 | VulCode"
description: "Google Analytics 4 via Tag Manager: e-commerce and server events, Consent Mode v2 aligned with the banner. From PLN 999, usually 2-3 days."
url: "https://vulcode.com/en/services/integrations/google-analytics-and-tag-manager"
lang: "en"
---

[Home](https://vulcode.com/en) [Services](https://vulcode.com/en/services) [Integrations](https://vulcode.com/en/services/integrations) [CRM, marketing and messaging](https://vulcode.com/en/services/integrations/crm-and-marketing)

# Google Analytics 4 setup through Tag Manager: events you can trust

VulCode, a software house from Cracow, Poland, sets up GA4 and Google Tag Manager technically in your store or app. The container collects e-commerce events such as a product view, add to cart and purchase, and Consent Mode v2 aligns what you measure with the user's choice in the banner. Server-side events go through Measurement Protocol, next to the ones from the browser. The GA4 setup costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

## From a page visit to a report in GA4

The path of an event in a typical setup. Each node is a separate layer that we configure on its own. Splitting it into layers lets us check each stage on its own, instead of guessing why the purchase count does not match.

- **Site** an e-commerce event from the data layer dataLayer

- **Consent Mode** the banner choice before the tag fires gtag consent

- **Tag Manager** tags and triggers in the container GA4 tag

- **GA4** the data stream and reports server-side events

- **Measurement Protocol** events sent from the server

- **When it works**: The GA4 report shows purchases and the sales funnel
- **When it fails**: A tag error shows in the Tag Manager preview before it reaches production

## Consent signals in Consent Mode v2

Four signals that Google requires in version 2. Each takes the value granted or denied. Each signal is a separate decision in the banner, not a single switch.

| Signal | What it controls | With denied |
| --- | --- | --- |
| ad_storage | Advertising cookies | No new advertising cookies are set |
| analytics_storage | Analytics | Events and sessions can go without cookies through URL passthrough |
| ad_user_data | User data for advertising | User data is not sent to Google for advertising |
| ad_personalization | Personalised advertising | Ads are not personalised |

Default values must be set before the config or event commands.

## The consent state during a visit

Consent is not one value for good. It changes together with the choice in the banner.

- 01 **default**
  All signals set to denied, before the tags. Google knows there is no consent before the first event.

- 02 **granted**
  The user accepted the choice in the banner. We send an update with the consent update command.
  - the user changes the choice in the banner **refused**
  The user refused. Analytics can run without cookies if URL passthrough is enabled.

## Before the first event reaches GA4

Points that block the report if someone skips them.

- Tag Manager and consent
  ### Default consent before the tags
  Default values must be set before the config and event commands. Otherwise the tags may start without any consent information.

- ### Storing the user's choice
  Consent Mode does not store the user's choice. We keep it in a cookie or local storage and send an update on every change.

- ### Access to Tag Manager and GA4
  We need edit access to the container and the data stream. You remain the owner of the Google account and can withdraw access at any time.

- ### The api_secret key
  Without the api_secret key, Measurement Protocol will not accept server-side events. We keep the key on the server, not in the browser.

- ### Batches of up to 25 events
  One request accepts up to 25 events and a body up to 130 kB. Larger series are split into further requests.

- ### Validation before launch
  The validation_behavior parameter sets the validation mode: RELAXED or ENFORCE_RECOMMENDATIONS. We check the payloads before production.

## A ready plugin or a custom setup

A plugin is enough when the store and its events are standard. With a custom cart, control over each event matters.

### A platform plugin

- The store runs on a popular platform and the events are standard.

- You do not need your own server-side events.

A store plugin with GA4 support. Fast, but you get only the events the plugin allows.

[E-commerce platforms](https://vulcode.com/en/services/integrations/ecommerce-platforms)

### A GTM container and Measurement Protocol

- The store is custom-built or has its own cart.

- Events should also go from the server, e.g. after a purchase confirmed in your system.

A Tag Manager container, e-commerce events, Consent Mode v2 and server sending through Measurement Protocol.

## The banner collects consent, the setup reads it

Consent Mode adjusts the signals to the user's choice, but does not collect consent itself.

Consent Mode does not store the user's choices. The banner or a CMP collects consent, and we connect its choice to the signals. When the user changes their mind, we send an update to GA4.

We configure the banner settings together with you, because they decide which data is sent. If you want the cookie banner from us, we connect it to this setup.

A GA4 report is only as good as the events that reach it. After each setup we check that purchase, add to cart and product view carry the same names and parameters as in the container. If something drifts, it shows in the preview before your data starts feeding reports and campaign decisions.

## Common questions about GA4 and Tag Manager

Click a question to see the answer.

**How much does the GA4 setup cost?**

The GA4 setup costs from PLN 999 (about EUR 220). The figure rises with the number of custom events, server-side sending and connecting the cookie banner. A typical setup takes 2-3 days, and the free quote comes back within an hour. We quote it under our [API and integrations](https://vulcode.com/en/services/api-integrations) service.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**Who sets up GA4?**

VulCode, a software house from Cracow, Poland, sets up GA4 in Tag Manager and connects e-commerce events to your store. The Google account and GA4 access stay with you.

**What happens in GA4 when the user refuses consent?**

Consent Mode limits what goes to Google. Analytics can run without cookies through URL passthrough, and the scope depends on the user's choice and on the banner, described in [cookie banner](https://vulcode.com/en/services/website-widgets/cookie-consent).

**Why Measurement Protocol if we already have tags?**

Tags run in the browser, and Measurement Protocol sends events from the server, e.g. a purchase confirmed in your warehouse system. Google treats it as a supplement to tags, not a replacement.

**How many events can I send at once from the server?**

One Measurement Protocol request accepts up to 25 events and a body up to 130 kB. Larger series are split into further requests.

**How do you check the events before launch?**

In the Tag Manager preview and in the Measurement Protocol validation mode, and only then do we switch the integration on in production. The validation_behavior parameter decides how strictly validation judges a request.

## Sources

Technical details come from the Google documentation.

- [GA4: Measurement Protocol](https://developers.google.com/analytics/devguides/collection/protocol/ga4)

- [GA4: Measurement Protocol reference](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference)

- [Consent Mode v2](https://developers.google.com/tag-platform/security/guides/consent)

## Related pages

Other integrations in this area and the service under which we quote the setup.

- [4 Integrations and automation from PLN 999](https://vulcode.com/en/services/api-integrations)

- [3 Newsletter: MailerLite and Brevo](https://vulcode.com/en/services/integrations/newsletter)

- [2 SMSAPI](https://vulcode.com/en/services/integrations/smsapi)

- [1 Meta Conversions API](https://vulcode.com/en/services/integrations/meta-conversions-api)

- [0 CRM, marketing and messaging](https://vulcode.com/en/services/integrations/crm-and-marketing)

- ### [CRM, marketing and messaging](https://vulcode.com/en/services/integrations/crm-and-marketing)
  All CRM, marketing and messaging integrations.

- ### [Meta Conversions API](https://vulcode.com/en/services/integrations/meta-conversions-api)
  Server events alongside the Meta Pixel.

- ### [SMSAPI](https://vulcode.com/en/services/integrations/smsapi)
  Transactional SMS and delivery reports.

- ### [Newsletter: MailerLite and Brevo](https://vulcode.com/en/services/integrations/newsletter)
  Newsletters in MailerLite and Brevo.

- ### [Integrations and automation](https://vulcode.com/en/services/api-integrations)
  Integrations under the API service, from PLN 999.
  from PLN 999

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)
