Skip to content

Commit b3e59b5

Browse files
author
sanscontext
committed
more copy edits whoops
1 parent 01585e5 commit b3e59b5

File tree

1 file changed

+12
-7
lines changed
  • src/connections/destinations/catalog/gtag

1 file changed

+12
-7
lines changed

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -390,26 +390,31 @@ Segment supports all of the following Google Analytics features:
390390
- [Virtual Pageviews](#)
391391
- [Optimize](#)
392392

393-
### Client-Side Library Methods**
393+
### Client-Side Library Methods
394394
Because Segment's client-side snippet wraps the `gtag.js` Javascript SDK, all gtag.js library methods that don't map to Segment methods are available client side. Although invoking a native library method won't send data to Segment or other Segment-enabled destinations, the method *will* send data to Google.
395395

396396
To access gtag.js methods while using Segment, write these methods inside an `analytics.ready()` function, for example:
397397

398-
analytics.ready(function(){
399-
window.gtag('config', 'GA_MEASUREMENT_ID');
400-
})
398+
```js
399+
analytics.ready(function(){
400+
window.gtag('config', 'GA_MEASUREMENT_ID');
401+
})
402+
```
403+
404+
### Anonymize IP Address
401405

402-
### Anonymize IP Address**
403406
To anonymize the IP addresses of all hits sent to Google, enable the **Anonymize IP** setting in your destination settings.
404407

405-
### Remarketing**
408+
### Remarketing
409+
406410
Google's remarketing (The remarketing tag formerly known as Doubleclick) is used to tag visitors for remarketing campaigns. It is also used to identify demographic and interest data on visitors that is displayed in Demographic & Interest reports inside of Google Analytics.
407411

408412
Turn this feature on by checking the box in your Google Analytics destination settings.
409413

410414
Since remarketing is loaded through Segment Google Analytics will not be able to validate that the code is present on the page. Just click **Skip validation** and your data will start showing up within a few hours.
411415

412-
### Multiple Trackers**
416+
### Multiple Trackers
417+
413418
Although Segment does not support loading multiple trackers of the same type (e.g.; multiple web measurement IDs) through the destinations settings page (you will probably run into Google Analytics's [rate limits](https://developers.google.com/analytics/devguides/collection/ios/v3/limits-quotas?hl=en)), you can load a 2nd tracker on the page manually.
414419

415420
Here's how you'd initialize configure the second tracker:

0 commit comments

Comments
 (0)