Skip to content

Commit 38710d6

Browse files
author
markzegarelli
authored
Merge pull request #1749 from segmentio/DOC-206_gtag-names
DOC-206 Override gtag int name
2 parents c1a77a2 + 88e1b7f commit 38710d6

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

src/_data/catalog/overrides-list.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
items:
22
- hubspot
33
- iterable
4+
- google-ads-gtag

src/_data/catalog/overrides.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ items:
3737
accepts cloud-mode data from all Segment source types. It does not offer device-mode connections.
3838
cmode_type: mixed
3939
case: '5'
40+
- slug: google-ads-gtag
41+
previous_names:
42+
- Google AdWords New

src/_includes/content/destination-footer.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
{% if currentIntegration.platforms.server == true %}
77
{% unless page.hide-personas-partial == true %}
8+
{% assign overridesList = site.data.catalog.overrides-list.items %}
9+
810

911
## Personas
1012

@@ -69,10 +71,14 @@ Segment lets you change these destination settings from the Segment app without
6971
## Adding {{ currentIntegration.display_name }} to the integrations object
7072

7173
To add {{ currentIntegration.display_name }} to the `integrations` JSON object (for example, [to filter data from a specific source](/docs/guides/filtering-data/#filtering-with-the-integrations-object)), use one of the following valid names for this integration:
74+
{% if page.name-override %}
75+
{% assign currentIntegration = site.data.catalog.overrides.items | where: "slug", currentSlug | first %}
76+
{% endif %}
7277

7378
{% for valid_name in currentIntegration.previous_names %}
7479
- {{ valid_name }}
7580
{% endfor %}
81+
7682
{% endunless %}
7783
{% endif %}
7884

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ title: 'Google Ads (Gtag) Destination'
33
beta: true
44
redirect_from: '/connections/destinations/catalog/google-adwords-new/'
55
strat: google
6+
name-override: true
67
---
78

8-
## Before you begin...
9+
## Before you begin
910

1011
If you're using the [new Google Ads (Gtag) experience](https://support.google.com/adwords/answer/6095821?hl=en&ref_topic=3165803), you can enable the **Google Ads (Gtag)** Destination (previously called "Google Adwords New") in the Segment catalog. The new Google Ads uses a Global Site Tag (Gtag) and event snippets.
1112

0 commit comments

Comments
 (0)