Skip to content

Commit c58cb20

Browse files
Apply suggestions from code review
Co-authored-by: forstisabella <[email protected]>
1 parent 0ec9123 commit c58cb20

File tree

1 file changed

+2
-2
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/website/javascript/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,15 +846,15 @@ For more information, visit the [Segment localstorage-retry library](https://git
846846
You can set the `debug` cookie to `analytics.js` to log debug messages from Analytics.js to the console.
847847

848848
## Ad Blocking
849-
Segment doesn't endorse bypassing ad blockers for client-side tracking. You have control as to what gets loaded on the page, because you can add a plugin to block third party scripts from loading, which includes Segment. As you can expect some data loss in client-side tracking, there are three routes Segment recommends you to choose from:
849+
Segment doesn't endorse bypassing ad blockers for client-side tracking. Your users have control as to what gets loaded on the page, because they can add a plugin to block third party scripts from loading, which includes Segment. As you can expect some data loss in client-side tracking, there are three routes Segment recommends you to choose from:
850850

851851
1. Honor the decision of the user to implement the ad blocker knowing that unfortunately, some data will be lost.
852852
2. Ask the customer to remove the ad blocker (for example, in the case of large, corporate customers).
853853
3. Move as many events and tracking over to a server-side library as possible, which won't run into the same limitations.
854854

855855
If the above routes don't work, Segment provides these workarounds to help with tracking and to mitigate data loss:
856856

857-
* Utilize the [bundle obfuscation](#bundle-obfuscation) feature. You can add an obfuscate property to the object in the second parameter, which obscures the URL from which your integrations and destination actions are loaded. This helps prevent words that are flagged by ad blockers to not be detected in your URL, enabling the integration to properly load.
857+
* Use the [bundle obfuscation](#bundle-obfuscation) feature. You can add an obfuscate property to the object in the second parameter, which obscures the URL from which your integrations and destination actions are loaded. This helps prevent words that are flagged by ad blockers to not be detected in your URL, enabling the integration to properly load.
858858

859859
* Create a [custom proxy](/docs/connections/sources/catalog/libraries/website/javascript/custom-proxy/). This changes the URL that Segment loads from (cdn.segment.com), as well as the outgoing requests generated when events are triggered (api.segment.io). By setting up proxies for these URLs, some ad blockers won't prevent Segment from loading, which means your events send downstream to your destinations. 
860860

0 commit comments

Comments
 (0)