2

I am using this following code to actually log event into flurry but on the first line it is showing me that illegal character in javascript.

var myparameters = {};
myparameters['medium'] = '/appstore';
FlurryAgent.logEvent('_trackPageview', myparameters);

I have double checked my code and i didn't saw any illegal character in it. Can anyone let me know what i am doing wrong in it ?

Any sort of help will be appreciable.

alex
  • 479,566
  • 201
  • 878
  • 984
Hassan ilyas
  • 103
  • 8

1 Answers1

0

Replace the character (0xcd ) chilling before the semi-colon on the first line and it will parse correctly.

alex
  • 479,566
  • 201
  • 878
  • 984
  • 1
    It's a unicode [GREEK QUESTION MARK](http://www.fileformat.info/info/unicode/char/37e/index.htm). – Blender Jul 13 '13 at 09:53
  • I had the same problem after copy/pasting code from the official Flurry documentation. – simon Jun 09 '16 at 11:42