Skip to content

Commit 6c624e0

Browse files
committed
Fixes
1 parent 6f12ad8 commit 6c624e0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/connections/destinations/catalog/google-ads-gtag/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To enable consent mode for your Google Ads (Gtag) destination, you can choose fr
4747
* **Option 1:**
4848
1. Set the consent defaults by implementing the `ready()` method to set consent defaults.
4949

50-
```
50+
```js
5151
analytics.ready(function() {
5252
window.gtag('consent', 'default', {
5353
'ad_storage': 'granted',
@@ -62,7 +62,7 @@ To enable consent mode for your Google Ads (Gtag) destination, you can choose fr
6262

6363
3. Pass the information to Gtag.js by calling `gtag` inside the Segment `ready`() method.
6464

65-
```
65+
```js
6666
analytics.ready(function() {
6767
window.gtag('consent', 'update', {
6868
'ad_storage': 'denied',

src/connections/destinations/catalog/gtag/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ analytics.track('Logged In');
130130

131131
Segment sends these event attributes to Google Analytics:
132132

133+
| Event Attributes | Info |
134+
| ------------------ | --------- |
133135
| **Event Category** | All |
134136
| **Event Action** | Logged In |
135137

@@ -150,6 +152,8 @@ In this example, Segment sends all Google Analytics event parameters:
150152

151153
Segment sends these event attributes to Google Analytics:
152154

155+
| Event Attributes | Info |
156+
| ------------------ | --------- |
153157
| **Event Category** | Account |
154158
| **Event Action** | Logged In |
155159
| **Event Label** | Premium |

0 commit comments

Comments
 (0)