# Marketing Web

Ordering website tracking and engagement: Google Analytics 4 via Tag Manager and push notifications.

# Marketing Web manual

This manual explains two Google services used by the ordering website and app:

- [Google Analytics](/books/marketing-web-P2y/page/google-analytics): how what users do is measured.
- [Push notifications](/books/marketing-web-P2y/page/push-notifications): how messages are sent to the people who have the app.

# Google Analytics

The ordering website measures what its users do with Google Analytics 4 (GA4), through [Google Tag Manager](https://tagmanager.google.com) (GTM). Universal Analytics properties stopped processing new data on 1 July 2023.

## The GTM container

A container is the space in Google Tag Manager from which the tags that send the information are fired. The one for your website holds the GA4 tags and has an ID, to which everything configured in GTM is linked.

- PizzaGest sets up the container, gives you its ID and enables the e-commerce events recommended by Google.
- To enable an external event, such as the Facebook pixel, go into the container and enable it yourself.
- If you work with a marketing agency, give them the container ID so that they can enable their events.

## Events

An event measures a specific interaction on the website or in the app. These are the e-commerce events recommended by Google:

![GA4 event tags in the container](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-09/j9tKHih8gpfz0TJJ-eventos.png)

| Event | What it measures |
|---|---|
| `add_payment_info` | The user adds their payment details |
| `add_to_cart` | An item is added to the cart |
| `remove_from_cart` | The user removes one or more items from the cart |
| `view_item` | A product on the menu is viewed |
| `add_shipping_info` | The user submits their shipping details |
| `begin_checkout` | The user starts the checkout |
| `purchase` | The user clicks the buy button |
| `view_item_list` | A list of products is shown to the user |
| `page_view` | Each page the user opens |

## Reports

The events can be seen in the reports of the [Google Analytics](https://analytics.google.com/analytics/web/) account. Sign in with the Gmail account you gave PizzaGest to set up the website.

The side menu has **Reports** and **Explore**, the two options for interpreting the data.

![Google Analytics side menu, with Reports and Explore](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-09/uUhf9HoGF6zg0VSl-informes1.png)

**Reports** has three sections.

### Acquisition

| Report | What it is for |
|---|---|
| User acquisition | Knowing how new users find the website or the app. [More information](https://support.google.com/analytics/answer/12922540?hl=en) |
| Traffic acquisition | Knowing where users come from and measuring the reach of campaigns. [More information](https://support.google.com/analytics/answer/12923437?hl=en) |

![Acquisition overview](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-09/folBy5du6WOcQQIe-adquisicion1.png)

### Engagement

**Engagement** shows how the user uses the website or the app: the screens they see, the time they spend on them and the events that are triggered.

![Engagement overview](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-09/y1C5gr6uRMsyCtdx-interaccion1.png)

### Monetisation

| Report | What it is for |
|---|---|
| E-commerce purchases | Seeing the products sold on the website or in the app. [More information](https://support.google.com/analytics/answer/12924131?hl=en) |
| Purchase journey | Seeing at which stage of the purchase the user drops off, and so looking for the reason orders are not completed, for example a high price. [More information](https://support.google.com/analytics/answer/14000977?hl=en) |
| Checkout journey | Seeing the user's steps at each stage of the checkout |
| In-app purchases | Seeing the products sold and the revenue from a specific product. [More information](https://support.google.com/analytics/answer/12923440?hl=en) |
| Promotions | Seeing the effect of promotions on purchases. [More information](https://support.google.com/analytics/answer/13458990?hl=en) |

![E-commerce purchases report](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-09/CupzQwkHoawpm5UQ-monetizacion.png)

# Push notifications

A push notification is a message the app sends to its users' phones. You send them with Firebase Cloud Messaging.

1. Sign in to [Firebase Console](https://console.firebase.google.com) with the Gmail account you gave PizzaGest to set up the website.
2. Choose your app's project.
3. In the menu on the left, click **Cloud Messaging**.

![Cloud Messaging in the Firebase menu](https://pav-bookstack-docs-uploads.s3.eu-west-par.io.cloud.ovh.net/uploads/images/gallery/2026-09/s4RPsaTzOMELWFC5-notificaciones.jpg)

4. Click **New Notification** and write the notification.
5. Review it and, when it is ready, publish it.