There is a code example on the following URL that lacks a comma:
https://developers.google.com/analytics/devguides/collection/analyticsjs/#sendin
g-hits
This is the erronious code:
ga('send', 'pageview' {
page: '/about',
title: 'About Us'
});
There should be a comma after the second argument. Like so:
ga('send', 'pageview', {
page: '/about',
title: 'About Us'
});
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Core Reporting API
Name of related library and version, if applicable (e.g. Java, Python,
HTTP, Objective-C, etc.):
Issue summary:
Provide a brief summary of the issue you're experiencing.
Steps to reproduce issue:
1.
2.
3.
Expected output:
What do you expect to see after performing the above steps?
Actual results:
What do you actually see after performing the above steps?
Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.
Original issue reported on code.google.com by t...@jimmyroyal.no on 14 Apr 2015 at 7:59
Original issue reported on code.google.com by
t...@jimmyroyal.no
on 14 Apr 2015 at 7:59