Skip to content

Commit dbc3358

Browse files
committed
Update upgrade-to-ajs2.md
1 parent 9ff7bdd commit dbc3358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To upgrade a source to Analytics.js 2.0:
1717
6. Open the Debugger to ensure that events are flowing as expected.
1818

1919
> info ""
20-
> If you set `'Segment.io:' false` in the integrations object, Analytics.js 2.0 drops the event before it reaches the Source Debugger.
20+
> If you set `'Segment.io:' false` in the integrations object, Analytics.js 2.0 drops the event before it reaches the Source Debugger.
2121
2222
## Automatic migration
2323

@@ -57,4 +57,4 @@ Analytics.js 2.0 asynchronously loads different pieces of the library as needed.
5757

5858
### Using trackLink on elements that are not links
5959

60-
Previously, it was possible to attach `trackLink` to any element, and a `trackLink` call would fire for that element if it wasn't a link. Now, when you attach `trackLink` to an element, if that element is not a link, an additional search of that element’s children occurs to see if it contains any nested links and fires track calls based off of those links. If you wish to fire track calls on non-link elements that have links as children, you can use a `track` call instead.
60+
Previously, it was possible to attach `trackLink` to any element, and a `trackLink` call would fire for that element if it wasn't a link. Now, when you attach `trackLink` to a non-link element, an additional search of that element’s children occurs for any nested links and fires track calls based on those links. If you wish to fire track calls on non-link elements that have links as children, you can use a `track` call instead.

0 commit comments

Comments
 (0)