Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter to customize config #12

Closed
ocean90 opened this issue Mar 21, 2020 · 0 comments · Fixed by #13
Closed

Add filter to customize config #12

ocean90 opened this issue Mar 21, 2020 · 0 comments · Fixed by #13
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ocean90
Copy link
Member

ocean90 commented Mar 21, 2020

The default config is hardcoded in

gtag( 'config', '__PROPERTY_ID__', { anonymize_ip: true, forceSSL: true } );

There should be a filter to allow extending the config, for example to add custom dimensions and metrics.

@ocean90 ocean90 added the enhancement New feature or request label Mar 21, 2020
@ocean90 ocean90 added this to the 1.3.0 milestone Mar 21, 2020
@ocean90 ocean90 self-assigned this Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant