Setting up Google Tag Manager for Google Analytics Tracking

Production Assistant

Created May 18, 2023

Setting up Google Tag Manager for Google Analytics Tracking

5

#

Go to Google Tag Manager and click create account to start.

0 Steps
    t

Google Tag Manager

5 Steps
Go to https://tagmanager.google.com/#/home
1

Create Account and fill in company details

Create Account and fill in company details
2

Click on Create

Click on Create
3

Click on checkbox

Click on checkbox
4

Click on Yes

Click on Yes
5

Copy text ID code "GTM-XXX"

Copy text ID code "GTM-XXX"
    m

Marketing Integrations | Wix.com

4 Steps
Go to https://manage.wix.com/dashboard/fbd36c24-26de-4bc1-af87-1f7942e183e0/marketing-integration/
6

Click on Connect

Click on Connect
7

Click on Add Google Tag Manager

Click on Add Google Tag Manager
8

Paste GTM-XXX

Paste GTM-XXX
9

Click on Save

Click on Save
    t

Google Tag Manager

76 Steps
Go to https://tagmanager.google.com/#/container/accounts/6102755371/containers/118201461/workspaces/2
10

Click X

Click X
11

Click on Tags

Click on Tags
12

Click on New

Click on New
13

Click on Tag Configuration…

Click on Tag Configuration…
14

Click on Google Analytics: GA4 Configuration…

Click on Google Analytics: GA4 Configuration…
15

Click on Admin in GA4

Click on Admin in GA4
16

Click on Data Streams

Click on Data Streams
17

Click on the company name

Click on the company name
18

Copy Measurement ID

Copy Measurement ID
19

Go back to GTM and paste input

Go back to GTM and paste input
20

Disable Send a page view event when this configuration loads

Disable Send a page view event when this configuration loads
21

Click on Triggering…

Click on Triggering…
22

Click on All Pages…

Click on All Pages…
23

Type in GA4 Configuration

Type in GA4 Configuration
24

Click on Save

Click on Save
25

Click on Triggers

Click on Triggers
26

Click on New

Click on New
27

Click on Trigger Configuration…

Click on Trigger Configuration…
28

Click on Custom Event

Click on Custom Event
29

Type "Pageview" exactly as seen in the picture (must capitalize the P)

Type "Pageview" exactly as seen in the picture (must capitalize the P)
30

Type in Custom - Pageview

Type in Custom - Pageview
31

Click on Save

Click on Save
32

Click on Tags

Click on Tags
33

Click on New

Click on New
34

Click on Tag Configuration…

Click on Tag Configuration…
35

Click on Google Analytics: GA4 Event…

Click on Google Analytics: GA4 Event…
36

Select GA4 Configuration from Configuration from drop down

Select GA4 Configuration from Configuration from drop down
37

Type "page_view" exactly as it appears

Type "page_view" exactly as it appears
38

Click on Event Parameters

Click on  Event Parameters
39

Click on Add Row

Click on Add Row
40

Type "page_location" exactly as it appears

Type "page_location" exactly as it appears
41

Click on Add Row

Click on Add Row
42

Type "page_title" exactly as it appears

Type "page_title" exactly as it appears
43

Click on Tag Configuration…

Click on Tag Configuration…
44

Click on Page Hostname…

Click on Page Hostname…
45

Click on Tag Configuration…

Click on Tag Configuration…
46

Click on + button

Click on + button
47

Click on Variable Configuration…

Click on Variable Configuration…
48

Click on Data Layer Variable

Click on Data Layer Variable
49

Type "url" exactly as it appears

Type "url" exactly as it appears
50

Label dlv - url

Label dlv - url
51

Click on Save

Click on Save
52

Click on Tag Configuration…

Click on Tag Configuration…
53

Click on + button

Click on + button
54

Click on Variable Configuration…

Click on Variable Configuration…
55

Click on URL

Click on URL
56

Select Protocol from drop down

Select Protocol from drop down
57

label it Protocol

label it Protocol
58

Click on Save

Click on Save
59

Cut and paste {{Protocol}} at the beginning and add "://" between as seen in the picture below

Cut and paste {{Protocol}} at the beginning and add "://" between as seen in the picture below
60

Click on the lego looking block under value for page_title (Tag configuration)

Click on the lego looking block under value for page_title (Tag configuration)
61

Click on + button

Click on + button
62

Click on Variable Configuration…

Click on Variable Configuration…
63

Click on Data Layer Variable

Click on Data Layer Variable
64

Type "title" exactly as it appears

Type "title" exactly as it appears
65

Label dlv - title

Label dlv - title
66

Click on Save

Click on Save
67

Click on Triggering…

Click on Triggering…
68

Click on Custom - Pageview…

Click on Custom - Pageview…
69

Label the Tag GA4 event - page_view

Label the Tag GA4 event - page_view
70

Click on Save

Click on Save
71

Click on Triggers

Click on Triggers
72

Click on New

Click on New
73

Click on Trigger Configuration…

Click on Trigger Configuration…
74

Click on Custom Event

Click on Custom Event
75

Type "lead" exactly as it appears

Type "lead" exactly as it appears
76

Type label "custom - lead"

Type label "custom - lead"
77

Click on Save

Click on Save
78

Click on Tags

Click on Tags
79

Click on GA4 event - page_view

Click on GA4 event - page_view
80

Click on 3 dots button

Click on 3 dots button
81

Click on Copy

Click on Copy
82

Re-name "GA4 event - form_submission"

Re-name "GA4 event - form_submission"
83

Change event name to "form_submission" exactly as it appears below

Change event name to "form_submission" exactly as it appears below
84

Click on Save

Click on Save
85

Click on Variables

Click on Variables
Well done!
Create how-to guides like this in a snap. Get Tango now.