Skip to content

Commit ce4bfd9

Browse files
Merge pull request #201 from woocommerce/add/analytics-content-grouping
Add content grouping for Google Analytics.
2 parents dbfea21 + 2cc77dc commit ce4bfd9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/layouts/layout.erb

+3-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ under the License.
5353
function gtag(){dataLayer.push(arguments);}
5454
gtag('js', new Date());
5555

56-
gtag('config', 'G-8KCYZ2CYMS');
56+
gtag('config', 'G-8KCYZ2CYMS', {
57+
'content_group' : 'WooCommerce REST API Docs',
58+
});
5759
</script>
5860
</head>
5961

0 commit comments

Comments
 (0)