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

Embedding Dashboard Widget: Auth Token

$
0
0

@Squidster wrote:

Danger: Newbie here :slightly_smiling_face:

I’m trying to embed a Matomo dashboard into my app server page.

I have this user with an API auth token, which I have included in the URL:

http://abc.def.com/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=3&period=week&date=yesterday&token_auth=xxxxxxxxxxxx"

However, when I load the page I get this error:
Error: You can’t access this resource as it requires ‘view’ access for the website id = 3.

It seems that the user which I had created is not being used. It keeps complaining that my user cannot access website id=3, but matomo_site has only ONE record (idsite=1)!! I have no idea where the website id=3 is coming from!!

/squidster
a confused newbie

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles