Skip to content

Commit 7659970

Browse files
authored
Merge pull request #5297 from segmentio/sarahrudy-patch-6
Update Page method paragraph: GTM
2 parents 961fc59 + 6ade30b commit 7659970

File tree

1 file changed

+1
-1
lines changed
  • src/connections/destinations/catalog/google-tag-manager

1 file changed

+1
-1
lines changed

src/connections/destinations/catalog/google-tag-manager/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ analytics.page('Home', {
3232
});
3333
```
3434

35-
You must call the Page method for Google Tag Manager to load. Segment includes a call to `analytics.page` in your default Segment snippet, so if you haven't removed that, GTM will work the same as if you installed the GTM snippet directly.
35+
You must call the Page method for Google Tag Manager to load. Segment includes a call to `analytics.page` in your default Segment snippet, so if you want GTM to work the same as if you've installed the GTM snippet directly, you will want to keep the Page method in your snippet.
3636

3737
### Tracking All Pages
3838
When you turn on the setting to **Track All Pages** in your Optional Settings, Segment tracks events whenever you call the `page` method and sends a "Loaded a Page" event to Google Tag Manager. See the `track` section below for more info on how Segment sends events to GTM.

0 commit comments

Comments
 (0)