Analytics: download source and context

Hi,
I’m trying to use the following code in a template (documentation reference):

{{episode.file("teaser").publicUrl({source: 'opengraph', context: 'teaser'})}}

But when the file gets accessed what I see in Analytics is Array and Array/Unknown:

Screen Shot 2020-09-27 at 16.01.20

Any clue what’s the error here?

Should be:

{{ episode.file("teaser").publicUrl('opengraph', 'teaser') }}

but I see how the documentation is confusing, I will add an example there.

1 Like