Git Product home page Git Product logo

immakdas / shopify-core-web-vitals Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igrigorik/shopify-core-web-vitals

0.0 0.0 0.0 2.49 MB

This embedded app provides a report on how real-world Google Chrome users experience the Shopify-powered storefront, as captured by the Chrome UX Report, and enables the site owner to benchmark their site against a custom list of competitors.

License: MIT License

Ruby 54.04% JavaScript 30.65% CSS 3.07% HTML 12.24%

shopify-core-web-vitals's Introduction

Core Web Vitals (app) for Shopify

Optimizing quality of user experience is critical to the success of every storefront. Core Web Vitals are a set of metrics and thresholds that capture the core user experience needs of fast loading experience, interactivity, and visual stability. Core Web Vitals are part of the upcoming page experience signal for Google Search, are widely available across popular Google web developer tools, and can be tracked by every site owner both in development and in production.

This embedded app provides a report on how real-world Google Chrome users experience the Shopify-powered storefront, as captured by the Chrome UX Report, and enables the site owner to benchmark their site against a custom list of competitors.

CWV for Shopify preview

Take it for a spin on your own development store: https://core-web-vitals-dashboard.herokuapp.com/login

Development

  1. Install Shopify CLI

  2. Install PostgreSQL

  3. Bootstrap Rails environment:

    • ruby-2.6.6 and bundler gem
    • nodejs and webpacker gem
    • bundle install
    • rails db:prepare
  4. Launch the Rails app via shopify serve, optionally pass ENV variable to override the store origin for testing & development, e.g... SHOPORIGIN='https://www.allbirds.com' shopify serve

  5. Navigate to the tunnel URL and install the dev app on your Shopify store

Updating GraphQL API version

  1. Get token from @current_shopify_session.domain
  2. Run the update via rake shopify_api:graphql:dump API_VERSION=XXXX-XX SHOP_DOMAIN=<DOMAIN> ACCESS_TOKEN=<TOKEN>

Contributing

Have suggestions on how to improve the report, or a feature you'd like to nominate? Head to Issues and start the conversation.

shopify-core-web-vitals's People

Contributors

igrigorik avatar jayphelps avatar

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.