Google Tag Manager-Integration - Google Analytics 4


Google Tag Manager-Integration - Google Analytics 4


Using the Google Tag Manager integration we provide and its connection to the Google Analytics platform, you can track visits within the order menu and measure the conversion rate of your orders.


To connect Google Analytics to the Google Tag Manager account, go to Admin in the Analytics account and click on "Create property".

Two-pane web interface: left pane with menu, right pane with dashboard options. Two blue buttons:

In the next steps, you will need to enter certain data for your property and your company - property name, type and size of the company, and the goal of data monitoring:

Screenshot of Google Analytics property creation. Field to name the property, and
A user interface with a dialog box, options checked, and a blue

After you have entered this data, you will be asked to select a platform type from which Analytics will collect information:

Interface with an arrow pointing to

On the next screen, you will see the measurement ID, which was generated based on the information you submitted to Google. Copy this, as you will need it in some of the following steps of this setup.


Additionally, in the “Tagging Guide” section, select the “Use an existing on-page tag” option and then click on Google Tag Manager to view the further steps you should take to connect Analytics to your Tag Manager account.

Screenshot of a webpage with settings for an application, including options for content.

Next, go to your Google Tag Manager account -> Workspace, click on the Tags tab and then on New to create a tag:

Google Drive interface, showing the 'New' button and 'Files' option.

Name your tag - preferably a relevant and easy-to-remember one - and then click Edit to select the "Google Analytics GA4 Configuration":

Screenshot showing a file menu open with a list of recent documents.

In the tag configuration, add the measurement ID of the previously created property and go to the Triggering section below to begin working on the triggers for this tag:

Screenshot of a Google Drive window. A section is selected with the text

In the next step, you configure the two triggers for the Google Analytics tag. You can do this by accessing the Edit button, as follows:

A Google Tag Manager interface with a form to create a new tag, with a pen icon indicated.
  • Page view - so that you can see every page in the analysis (if there is a different URL);
Diagram showing
Page View Trigger interface, with editing and settings options, and a placeholder image in the center.
Screenshot showing trigger options:
Window showing a
  • Progress change – so that you can see each step of the shopping cart in the analysis (the widget is a single-page app, therefore there is a URL, which is why this is needed in addition to the page view trigger):
A webpage with two sections,
Screenshot of a file with a diagram showing data analysis in red.
A webpage with a loading animation inside a white box. The title bar says
Screenshot highlighting
A window titled

After the two triggers have been assigned to the day, you can save the configuration:

Configuration screen with

In your workspace, click Send and then Publish to save the changes to your account.

You can test whether the connection was successful by accessing your order widget from a mobile device. Add some items to the shopping cart and leave it open.

Then go to your Analytics account -> Reports -> Real-time and check if any visitors have been reported in this section, something like this:

Dashboard overview showing one user active, with a donut chart and a world map visualization.

Please note that it may take between 30 seconds and several minutes for real-time data to be displayed. We also recommend using your mobile data plan when performing the test.



Set up conversions

A conversion in Google Analytics is a completed online activity that is important for your business's success. One type of conversion you might want to track and monitor for your restaurant is a completed purchase (order accepted).

To set up a conversion, go to Admin -> Setup Wizard -> Conversions in your Google Analytics account and click on Set up conversions:

Screenshot of a web page with highlighted 'Scenarios' section and a specific scenario selected.

Before you define the conversion itself, you need to create an event like this:

Screenshot of a webpage with a
Button labeled

Define the event by specifying a name – in this case “accepted_order” – and enter the next event attributes required by Google:

  • Parameter: page_location
  • Operator: contains
  • Value: accepted
Configuration interface showing settings, with a dropdown menu, and arrows pointing to different fields.

After creating the event, return to the main menu -> Conversions and click "New Conversion Event" to begin defining the conversion. You should enter the name of the previously created event – "accepted_order" – and click Save to complete the setup process.

A screen displaying a table with options to add or manage a data set.
Email input field and

In the same way, you can create an event and then a conversion for later orders:

Form for account creation, with fields for first name, last name, birthday (month, day, and year).
Screenshot of a form with a text field labeled

Since Analytics tracks page views, it is not possible to identify which of the tracked orders placed outside of restaurant opening hours were accepted or not, as the food customer is no longer on the respective page by then.

If you want to test conversion monitoring, access the order widget again from a mobile device, add items to the shopping cart, and this time complete the order.

Then go to your Analytics account -> Reports -> Real-time and check if the accepted order is reported in this section, as follows:

Dashboard showing traffic data with chart and map view.
back