Stape
Search
Try for free
Free

Anonymizer

Anonymizer power-up is available for all Stape users. Its main goal is removing or anonymizing user data from Google Analytics 4.

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com

To enable Anonymizer, log in to your stape.io account, open the sGTM container and click Power-Ups. When you open the configuration setting of Anonymizer, there will be a list of Google Analytics parameters that Anonymizer can remove or anonymize. Select if you want to leave the parameter as is, remove or anonymize it.

anonymize your user data in Google Analytics
anonymize your user data in Google Analytics

After Anonymizer is configured, you should update tagging server URL for your Google Analytics to the one that ends with /anonymize. For example, if the default tagging server URL is sgtm.site.com, then URL with Anonimizer will look like sgtm.site.com/anonymize

When GA requests go through the tagging server URL that includes /anonymize, we automatically remove or anonymize selected parameters. 

anonymize ga user data

Parameters that Anonymizer processes:

You will have two options for most parameters: leave as is or remove. For two parameters (IP and Client ID), you will see options to Anonymize and Anonymize Strictly. 

IP

Anonymize - removes the last octet.

Anonymize Strictly - removes the last two octets

Client IDWorks only if you use JavaScript Managed client identification.

Anonymize - use a hash of IP+UserAgent and add year+month.

Anonymize Strictly - use a hash of IP+UserAgent and add a timestamp, crc32_hash(IP+UA).timestamp

Parameter name DescriptionGA4 ParameterAnonymize
IPUser IPIP AddressAnonymize - removes the last octet. Anonymize Strictly - removes the last two octets
Client IDGoogle Analytics Client ID, _ga, _ga_*, FPLC, FPID cookiescid, _ga, _ga_*, FPLC, FPID Anonymize - use a hash of IP+UserAgent and add year+month. Anonymize Strictly - use a hash of IP+UserAgent and add a timestamp, crc32_hash(IP+UA).timestamp
User IDUser ID, Google Developer ID, Firebase IDuid, gdid, _fid-
Session IDSession ID, New Session IDsid, _nsi-
Query parametersRemove query paramaters from Document Locationdl-
RefererDocument Referrer Header, Document Referrer Parameterreferer header, dr-

System info

User AgentDocument User-Agent header, Sec-Ch-Ua header, Sec-Sh-Ua-Platform header, Sec-Ch-Ua-Mobile header, User-Agent Parameteruser-agent header, sec-ch-ua header, sec-ch-ua-platform header, sec-ch-ua-mobile header, ua-
User CountryGeographical ID, Current country for the usergeoid, _uc-
Browser pluginsJava Enabled, Flash Versionje, fl-
Screen InfoBrowser screen resolution, Viewport sizesr, vp-
Screen ColorsSpecifies the screen color depthsd-
User LanguageBrowser active localeul-

User Agent Parsed

User Agent Architectureuaa-
User Agent Bitnessuab-
User Agent Full Version Listuafvl-
User Agent Mobileuamb-
User Agent Modeluam-
User Agent Platformuap-
User Agent Platform Versionuapv-
User Agent WOW64uaw-

Ads Campaign Attribution

Campaign Mediumcm-
Campaign Sourcecs-
Campaign Namecn-
Campaign Contentcc-
Campaign IDci-
Campaign Termck-
Campaign Creative Formatccf-
Campaign Marketing Tacticcmt-
Google Ads IDgclid-
Google Display Ads IDdclid-

Use cases of the power-up

We have more than 100 000 happy clients

Host your GTM server at Staperight now!