How do I invalidate or remove an Analytics implementation?
Sometimes an organization would like to remove an implementation due to contract expiration or to reduce the number of server calls.
- Implementations using Adobe Experience Platform Data Collection: Disable or uninstall the applicable Adobe Analytics, Web SDK, or Mobile SDK extension in the Extensions tab, then publish.
- Legacy AppMeasurement implementations: Replace the entire contents of your
s_code.jsfile with the following line of code:
- Change the report suite to an invalid value, as it creates unnecessary load on Adobe’s servers.
- Remove the
s_code.jsfile altogether, unless you also remove all references to the file on each page. - Change the
trackingServervariable to point away from Adobe. AppMeasurement still sends image requests, which return 404 errors.
I ran AppMeasurement through a code analyzer, and it flagged its usage of Math.random() as a potential security risk. Is Math.random() used with any sensitive data?
No. The numbers that use Math.random() are not used to mask, send, or receive any sensitive data. Data sent to Adobe data collection servers rely on the security of the underlying HTTPS connection.
AppMeasurement uses Math.random() in three key areas:
- Sampling: Depending on your implementation, some information could be gathered for only a small percentage of visitors to your site.
Math.random()is used to determine if a given visitor should send data. Most implementations do not use sampling. - Fallback visitor ID: If the visitor ID cannot be retrieved from cookies, a random visitor ID is generated. This part of AppMeasurement uses two calls to
Math.random(). - Cache busting: A random number is added to the end of image request URLs to help prevent browser caching.
More help on this topic
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe CX Analytics Portfolio Roadmap Webinar - Americas & EMEA
Preview the CX Analytics roadmap across CJA, Adobe Analytics, and more. Ask the team.
Adobe CX Analytics Portfolio Roadmap Webinar - Americas & APAC
Preview the CX Analytics roadmap across CJA, Adobe Analytics, and more. Ask the team.