Skip to content

Commit

Permalink
Suppression d'anciennes mentions à Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemilink committed Feb 27, 2024
1 parent 8694686 commit afa08c7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions roles/app/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
apprepo: "https://github.com/zestedesavoir/zds-site.git"
env: dev
secrets: []
google_analytics_api:
type: "service_account"
auth_uri: "https://accounts.google.com/o/oauth2/auth"
token_uri: "https://accounts.google.com/o/oauth2/token"
auth_provider_x509_cert_url: "https://www.googleapis.com/oauth2/v1/certs"
zmarkdown_sentry_dsn: ""
load_fixtures: false
12 changes: 0 additions & 12 deletions roles/app/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,6 @@
- bootstrap
- upgrade

- name: create Google Analytics API secrets file
ansible.builtin.copy:
content: "{{ google_analytics_api | combine(secrets.google_analytics_api) | to_nice_json }}"
dest: "{{ appdir }}/api_analytics_secrets.json"
owner: "{{ appuser }}"
group: "{{ appuser }}"
mode: u=rw,g=r,o=r
when: secrets.google_analytics_api is defined
tags:
- bootstrap
- upgrade

- name: create webroot
ansible.builtin.file:
path: "{{ webroot }}"
Expand Down
3 changes: 0 additions & 3 deletions roles/app/templates/config.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ google_oauth2_secret = "{{ secrets.google.secret }}"
{% endif %}

[zds]
google_analytics_id = "UA-27730868-1"
google_tag_manager_id = "GTM-WH7642"

votes_id_limit = 131319
VOTES_ID_LIMIT = 131319 # Temporary fix

Expand Down

0 comments on commit afa08c7

Please sign in to comment.