eosnetworkfoundation / docsgen

Scripts for creating docs.eosnetwork.com pulls from various eos nf repos and builds static HTML to power website
Other
3 stars 0 forks source link

Tracking & Privacy Requirments #32

Open ericpassmore opened 2 years ago

ericpassmore commented 2 years ago

Starting an issue so we don't forget this work item. Need to know how to implement tracking, marketing tags, and any special features to support EU/CA privacy requirements.

ericpassmore commented 1 year ago

Adding Google Tag caused an error

        googleTagManager: {
          containerId: 'GTM-T4SWD2V'
        },
[Error [ValidationError]: "trackingID" is required] {
  _original: { containerId: 'GTM-T4SWD2V' },
  details: [
    {
      message: '"trackingID" is required',
      path: [ 'trackingID' ],
      type: 'any.required',
      context: { label: 'trackingID', key: 'trackingID' }
    }
  ]
}
ericpassmore commented 1 year ago

Is this a new Google G4 tag ? The old tags will be deprecated in July 2023. https://support.google.com/tagmanager/answer/9442095?hl=en https://deploy-preview-8620--docusaurus-2.netlify.app/docs/api/plugins/@docusaurus/plugin-google-gtag/

ericpassmore commented 1 year ago

Running staging build now with old doc6s plugin npm install --save @docusaurus/plugin-google-tag-manager

ericpassmore commented 1 year ago

Will need to coordinate switchover to new GTag. Requires new google tag and switch to new doc6s plugin. Must be done by July 2023

ericpassmore commented 1 year ago

Article on moving from UA to GA4 tags https://support.google.com/analytics/answer/10270783?hl=en