How to extract data?

Not applicable

Hello everyone,

I have a backend with an uri like this :

https://***/***/{countryCode}/{locale}/{resource}

locale = fr or en etc .. (language)

countryCode = fr or ma etc..

resource = /design etc...

I want to know what is the most used resources by country by developer.

How can I do this?

Thank you so much.

0 3 137
3 REPLIES 3

adas
New Member

@Rayan Dinar You can use an extract variable policy to extract the locale and other variables that you need. Then you can attach a stats collector policy where you need to publish these variables. This would ensure these additional variables are being captured in analytics and you can now go and create an analytics custom report where you can choose these variables as dimensions.

I hope this answers your question. Let me know if you need a working example to look at.

It's not by developer so?

Hi @Rayan Dinar You could use the Extract Variables policy. Based on the URI pattern, you can extract the Country and Resource attributes. Once you extract them use the Statistics Collector policy. This policy will let you create custom dimensions (as well as metrics). You could then create a Custom Report with top level metric as Traffic and dimensions as country & region. Hope this helps!