Installed: Error when Running one of the sampel scripts

29 views
Skip to first unread message

Ahmed

unread,
May 16, 2011, 10:58:14 AM5/16/11
to Force.com Toolkit For Google Analytics
Hi,

Total n00b with your toolkit. I installed your toolkit and am unclear
about a few things, but let's start with the obvious. After following
your instructions, you indicate to run a sample apex code to test the
installation.

This is the script we used:
ImportGoogleAnalytics.importSingleMetric(pawngo);

pawngo is the same name we gave under the site metric settings for our
account.

We got the following error: "line 1, column 42: Variable does not
exist: name"


Thanks!

Matthew Botos

unread,
May 16, 2011, 11:21:05 AM5/16/11
to forcecom-toolkit-f...@googlegroups.com
Hi Ahmed,
It looks like you just need to put the Name of your Site Metric Settings in a string:

ImportGoogleAnalytics.importSingleMetric('pawngo');

Matthew

Reply all
Reply to author
Forward
0 new messages