You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _articles/how-to-set-up-plausible-analytics-using-google-tag-manager.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,32 @@ To make integrating Plausible with Google Tag Manager easier, we’ve published
12
12
13
13
The simplest way to install the custom template is to locate it in the [Google Tag Manager template gallery](https://tagmanager.google.com/gallery/#/) where you can install it directly from your Google Tag Manager dashboard. Here’s the direct link to the [Plausible Analytics GTM template](https://tagmanager.google.com/gallery/#/owners/plausible/templates/plausible-gtm-template).
Once you’ve installed the template, you should create a new "**Tag**" that uses it. To do this:
18
20
19
21
* In the main Google Tag Manager dashboard, browse to "**Tags**" and click "**New**" to create a new tag
22
+
23
+

24
+
20
25
* From the list of available tag templates, choose the Plausible Analytics tag template you just installed
26
+
27
+

28
+
21
29
* The only required field in the tag configuration is "**Script ID**". You can find it in Plausible during site onboarding under the "**Tag Manager**" tab or later in "**Site Settings**" → "**General**" → "**Site Installation**" → "**Tag Manager**"
30
+
31
+

32
+
22
33
* Other optional configuration options are described below in the section "**Tag Configuration**"
34
+
35
+

36
+
23
37
* For the tag trigger, you should select "**All Pages** - "**Page View**", which will ensure that Plausible will capture data on all pages
24
38
39
+

40
+
25
41
## Tag Configuration
26
42
27
43
The tag has the following optional configuration options:
@@ -39,4 +55,4 @@ The tag has the following optional configuration options:
39
55
40
56
## Testing
41
57
42
-
You can test that everything is working as expected by using Google Tag Manager’s Preview mode. You can enter Preview mode by clicking the blue Preview button in the Google Tag Manager dashboard. This opens a new tab with your website running the GTM container where you can see if Plausible Analytics is running and capturing data properly. In the Tag Assistant Preview tab, you can see additional information about the events that trigger the tag and the data that is being sent.
58
+
You can test that everything is working as expected by using Google Tag Manager’s Preview mode. You can enter Preview mode by clicking the blue Preview button in the Google Tag Manager dashboard. This opens a new tab with your website running the GTM container where you can see if Plausible Analytics is running and capturing data properly. In the Tag Assistant Preview tab, you can see additional information about the events that trigger the tag and the data that is being sent.
0 commit comments