Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13974

Javascript client not showing Events or Variables

$
0
0

@Michael_Joyner wrote:

Hi everyone. I am testing the Javascript client and I have it communicating with Piwik. This event will show in the Dashboard Tile, but not in Actions/Events. For some reason it is not registering.

The Events showed up and then they disappeared.

var p = Piwik.getAsyncTracker("https://piwik.MYWEBSITEHERE.com/piwik.php", 17);
p.setCustomUrl( "http://crm.totalgym.com");
p.setUserId( "sraji@totalgym.com" );
p.setCustomUrl( "http://crm.totalgym.com");
p.setDocumentTitle( "1111112222222222333333333" );
p.setUserId( "sraji@totalgym.com" );

// Not showing up in custom variables
p.setCustomVariable ("1", "Action", "Create", "Page");
p.setCustomVariable ("2", "Target", "/Accounting/Sales", "Page");
p.trackPageView();

// Not working
p.trackEvent("/Accounting/Accounts/Contracts", "create", "temp.doc")

`

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13974

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>