Skip to content

Commit

Permalink
Merge branch 'master' of github.com:justia/gtm-pii-cleaner-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mayrop committed Oct 10, 2024
2 parents d863471 + c828131 commit 948877a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Google Tag Manager 'PII - URL Cleaner' Variable Template

[![Template Status](https://img.shields.io/badge/Community%20Template%20Gallery%20Status-published-green)](https://tagmanager.google.com/gallery/#/owners/justia/templates/gtm-pii-url-cleaner-variable) ![Repo Size](https://img.shields.io/github/repo-size/justia/gtm-pii-url-cleaner-variable) ![License](https://img.shields.io/github/license/justia/gtm-pii-url-cleaner-variable)

---

## Summary

This repository contains a [Google Tag Manager Variable template](https://developers.google.com/tag-manager/templates) that makes it possible to clean up URLs to remove any personally identifiable information (PII) before sending them to analytics or third-party platforms.
Expand Down Expand Up @@ -44,12 +48,12 @@ Note that `foo` was not matched; therefore, the original value was retained.
**Full Match Keys**: Checked

Redacted URL:
`https://www.jmbm.com/?first_name=[redacted]&cellphone=123-456-7890&&foo=bar`
`https://example.com/?first_name=[redacted]&cellphone=123-456-7890&&foo=bar`

Note that `phone` was not matched since the key is `cellphone`; therefore, the original value was retained.

## Tips
Make sure to default the `false` value to the initial input, in case any error happens during the replacement of the URL.

## Contributing
See our [contributing guidelines](CONTRIBUTING.md).
See our [contributing guidelines](CONTRIBUTING.md).
4 changes: 1 addition & 3 deletions metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ homepage: "https://company.justia.com/"
documentation: "https://github.com/justia/gtm-pii-url-cleaner-variable"
versions:
# Latest version
- sha: f0798f48c8ee049985690501a1d84764cce2af5e
changeNotes: Update Documentation
- sha: 40202c4e83c3adbb0a3ad3288bfae767c756e19e
- sha: 5191ee559766a50faedccbf99d92459097335ca9
changeNotes: Initial Version

0 comments on commit 948877a

Please sign in to comment.