Skip to content

Instantly share code, notes, and snippets.

@robsquires
Last active May 1, 2020 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robsquires/4ae38f6d69dff7071036d55876d71866 to your computer and use it in GitHub Desktop.
Save robsquires/4ae38f6d69dff7071036d55876d71866 to your computer and use it in GitHub Desktop.
Outlines what data is currently used by the bubbles

From Myft API follows data

Returns array of concepts:

[
    {
        conceptId,
        conceptName
    },
    ...
]

conceptId

  • used build the stream page URL here

conceptName

From Personalised Feed data

Returns array of concepts, each containing article/teaser data:

[
    {
        id,
        items: [
            {
                id,
                teaser: {
                    publishedDate,
                    image: { url },
                    metaLink: { id }
                }
            },
            ...
        ]
    },
    ...
]

id Concept ID

  • used build the stream page URL here

items[] List of articles published for a topic

items[].id Article ID

  • [tracking] trigger an event if the stream page is not up to date. About 10% of bubble clicks are to out of date stream pages, however I think the deduping might be affecting this.

items[].teaser.publishedDate Article published date

items[].teaser.image.url Article image

items[].teaser.metaLink.id

  • [tracking] used to track if the bubble being clicked on was a display topic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment