Giter Club home page Giter Club logo

Comments (5)

rpowis avatar rpowis commented on June 28, 2024

Ah! This is why we were using our version which has that fix. Looks like we opted for the GOV.UK version when upgrading because the upstream of that fork has been archived.

IMO it would be better to get this added to the upstream version which has moved to GOV.UK frontend toolkit and bump our dependencies, rather than duplicate code again.

However, if this is blocking you @markhunter27 are you able to test moving back to our fork and raising an issue over on the upstream repo?

from assets-frontend.

rpowis avatar rpowis commented on June 28, 2024

Actually, digging a bit further into this it looks like the analytics helpers have been expanded quite a bit since we forked alphagov/stageprompt.

The best thing to do would be to try to follow the govuk-frontend-toolkit analytics guidance (which includes universal analytics) and see if we need to add anything to AF as a result.

from assets-frontend.

markhunter27 avatar markhunter27 commented on June 28, 2024

Cheers for the replies.
I think at the moment the most immediate solution for us is to use the local patch I mentioned above - that replicates the change that was made on the forked copy of stageprompt, and seems to do the job.

We can request a change to the GOV UK toolkit, but because we're one of several services using the 'Template as a service' approach, there's some time & impact we need to consider when stepping up the shared AF dependency version.

The later analytics docs you've shared look interesting & worth a look. But at the moment our service is using stageprompt attributes in a lot of places, so it won't be so quick to revise our approach.

from assets-frontend.

rpowis avatar rpowis commented on June 28, 2024

Apologies @markhunter27, I didn't spot this yesterday but there's actually already an open PR for this change in govuk_frontend_template.

I'll revert back to our fork in the interim and will keep an eye on that.

from assets-frontend.

markhunter27 avatar markhunter27 commented on June 28, 2024

No prob cheers. Caught up with @Fenwick17 this morning - will try to get a test of your latest AF happening in our service this afternoon.

from assets-frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.