Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Ecommerce argument in creating site

$
0
0

@11123 wrote:

When I tried to create website with matomo sites manger API, and transfer parameter ecommerce=1 (or =true, or =“true”) it doesn’t work.

This is link:
https://site.com?module=API&method=SitesManager.addSite&siteName=site_name&urls=dwadawawdawdawdawd&ecommerce=true&format=php&token_auth=blabla

Response come :
Array ( [result] => error [message] => Ecommerce: The value for field “Ecommerce” in plugin “WebsiteMeasurable” is not allowed )

Api description:
SitesManager.addSite (siteName, urls = ‘’, ecommerce = ‘’, siteSearch = ‘’, searchKeywordParameters = ‘’, searchCategoryParameters = ‘’, excludedIps = ‘’, excludedQueryParameters = ‘’, timezone = ‘’, currency = ‘’, group = ‘’, startDate = ‘’, excludedUserAgents = ‘’, keepURLFragments = ‘’, type = ‘’, settingValues = ‘’, excludeUnknownUrls = ‘’)

Why it doesn’t work?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles