nationalarchives / legacy-tna-google-tag-manager-scripts

All scripts to be added into google tag manager can be found here.
MIT License
4 stars 1 forks source link

Collecting meta tag values for other archives data #73

Closed hoake closed 5 years ago

hoake commented 5 years ago

Script development for

Dependencies

Tasks that look for meta tags and send to the dataLayer

Custom dimension tracking

Meta tag name Example Meta tag values DataLayer parameter DataLayer examples
DCSext.colltype A2A customDimension5 customDimension5: "A2A"
DCSext.dsource Manor customDimension5 customDimension5: "Manor"
DCSext.place National Library of Wales customDimension6 customDimension6: "National Library of Wales"
DCSext.repository Dudley Archives and Local History Service customDimension6 customDimension6: "Dudley Archives and Local History Service"
DCSext.rdata GB/NNAF/M272225 customDimension7 customDimension7: "GB/NNAF/M272225"
DCSext.reposlocate British repository customDimension8 customDimension8: "British repository"
Meta tag not available empty Do not send to the dataLayer empty

Acceptance/test criteria