Inserting Google Analytics Content Experiments using the Node.JS Client Library
I'm trying to configure a content experiment using the Node.js Client Library, and have not been able to work out the syntax. Where do I put the body (an Experiment resource) as described here? https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtExperimentsGuide#insert This code, for listing existing experiments, works as expected: var listExperiments = function(){ googleapis .discover('analytics', 'v3') .execute(function(err, client) { var request = client .analytics.management.experiments.list({ accountId : accountId, webPropertyId : webPropertyId, profileId : profileId })