Open simivar opened 6 years ago
Hi @simivar the feature is available via this plugin: https://plugins.matomo.org/MarketingCampaignsReporting in core otherwise you have to combine two other segments (referrer type is campaign and referrer name is X)
@mattab Thank you for such fast reply.
Edit; maybe we should mark segments that are provided by an optional plugin more clearly on the Segmentation Reference page?
It would be highly appreciated. In the future there would be no such questions as this one and it can save time of other developers using Matomo.
I need to get from Matomo through API all data corresponding to sent e-mail marketing to check which messages has been opened. I wanted to use
campaignName
segment which is listed here under "Campaign" but I get response with an error:{"result":"error","message":"Segment 'campaignName' is not a supported segment."}
URL to which I send my request: http://domain.com/analysis/index.php?module=API&method=Live.getLastVisitsDetails&idSite=3&period=day&date=2018-03-26&format=JSON&token_auth=token_auth&segment=visitorId==cdf756b32c95a41f;campaignName==email-nov2011
Any suggestions? Why I get that the segment is not supported when API says it is?