Giter Site home page Giter Site logo

Comments (4)

leandrocp avatar leandrocp commented on May 20, 2024 1

Data Structure

As https://developers.google.com/search/docs/crawling-indexing/website-testing says:

Once you've concluded the test, update your site with the desired content variation(s) and remove all elements of the test as soon as possible, such as alternate URLs or testing scripts and markup. If we discover a site running an experiment for an unnecessarily long time, we may interpret this as an attempt to deceive search engines and take action accordingly.

We understand that variants are a way to temporally overwrite pieces of a page, most likely the template, so our intention is to add this field to the Page schema:

    embeds_many :variants, Variant do
      field :name, :string
      field :weight, :integer
      field :template, :string
    end

New fields may be added in the future but the first version will allow overwriting only templates.

On /admin we'll present each variant under a tab so users can create and delete as they need, but eventually they should apply the changes from a variant back to the main record. This design matches with page snapshots mechanism where we store the page content when it's published, including the variants, also it avoids data migration.

Analytics with Plausible

Plausible does recommend using https://plausible.io/docs/custom-pageview-props for tracking variants which will require
POSTing custom pageview properties from within Beacon, see BeaconCMS/beacon#291 for more info.
Note that Plausible is not required for A/B testing, the design will allow using other providers but Plausible will be the first implementation and should be supported by Beacon.

from beacon_live_admin.

leandrocp avatar leandrocp commented on May 20, 2024

Internal discussion https://dockyard.slack.com/archives/C02NCP1799C/p1689867735078919

from beacon_live_admin.

bcardarella avatar bcardarella commented on May 20, 2024

with Beacon being OSS I'd prefer if we didn't link into private slack chats. Can we at least copy that discussion here?

from beacon_live_admin.

leandrocp avatar leandrocp commented on May 20, 2024

with Beacon being OSS I'd prefer if we didn't link into private slack chats. Can we at least copy that discussion here?

Sure!

from beacon_live_admin.

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.