Get Graph on Unique Visitors


#1

Hi

Using static embedded graphs for my site. Working fine so far. Got a bunch of pretty charts but my boss asked me for “unique visitors” evolution graph

I’m stuck. I can’t get such a graph. The following code worked fine:


module=API&method=ImageGraph.get&idSite=3&apiModule=VisitsSummary&apiAction=get&graphType=evolution&period=day&date=previous30&width=500&height=250

But when I try to get getUniqueVisitors I get:

Invalid API module and/or Action

This is my URL


module=API&method=ImageGraph.get&idSite=3&apiModule=VisitsSummary&apiAction=getUniqueVisitors&graphType=evolution&period=day&date=previous30&width=500&height=250

Any help would be much appreciated.

Thanks


(Matthieu Aubry) #2

You were almost there, the correct parameter is: &columns=


?module=API&method=ImageGraph.get&idSite=3&apiModule=VisitsSummary&apiAction=get&graphType=evolution&period=day&date=previous30&width=500&height=250&columns=nb_uniq_visitors


#3

Awesome!!!

Thanks for your help Matt