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

Error setTrackerURL is registered more than once

$
0
0

@nidhi wrote:

Hi,
My angular 8 SPA is branded for 2 programs i want to enable tracking on. I am getting error “The method setTrackerUrl is registered more than once in ‘_paq’ variable”. Here is the code in my app to enable matomo tracking :

//branding can be brand1 or brand2
int matomoSiteId = getSiteId(<“branding”>);
if(matomoSiteId > 0)
{
this.matomoInjector.init(environment.matomoUrl, matomoSiteId);
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles