Sorry, we don't support your browser.  Install a modern browser

Custom props should support arrays of values to send multiple of same property

Hello,

we’re having troubles measuring articles that have multiple authors as there’s no option to send something like

("pageview",{props: {author : ["name1", "name2"]}}) 

We can now send multiple custom events, but that breaks bounce rate and multiple pageviews aren’t possible for obvious reasons. Same goes with tags, etc.

Thank you for considering.

3 years ago
S

Super-upvote for news publishers!

3 years ago
1

Thanks..

nested objects would be absolute perfection <3, but I understand the difficulties.

// pageview ...

{
  authors: [
    {
      id: 456,
      name: "a",
      primary: true
    },
    ...
  ];
}
3 years ago
S

I’ve suggested that in the meantime being able to filter custom data using “contains” would allow a workaround where you could use a delimitered list so maybe |author1|author2| etc. Adding the delimeter as a prefix and suffix when submitting at least means we can get an exact match if there are two authors/tags etc where one is contained in the other. Obviously even a simple array would be better but being able to pull analytics data for authors, tags, categories easily via the API etc is a huge reason to use Plausible.

3 years ago
1

Hello, is there any progress with this?

2 years ago