Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13974

Possible to getCountry but get the count of a specific action?

$
0
0

@PixelPaul wrote:

hi there,
i have users who are entering on one page url, exiting on another.
Each page has it's own action_name

now is it possible to get the count of the visits/actions on just one of those pages? but per country.
Every time i use getCountry it counts the users actions on both the entry and exit page. so i always get double the value.
But sometimes the user might not exit on my exit page, or they may visit more then once.

my url to get the data is:
http://website.com/piwik/?module=API&method=UserCountry.getCountry&token_auth=tokenhere&idSite=1&period=day&date=today&format=xml&language=en&segment=eventAction==delivered;userId==106

but that is always giving me the nb_actions as 10 for the one country coming up, when i just want the entry page action which is 6 ( because one person didn't do an exit page action )

i have started to set the e_c and e_a values too, but can't seem to limit to only the one (entry of exit ) with these too.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13974

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>