• Resolved zoostudio

    (@zoostudio)


    Hi,

    I noticed that the new Analytics tracking code (in beta) causes an error. The error in the debugger shows this message: Command ignored. Unknown target: undefined

    The cause is the new create function that includes a name, for example ga(‘create’, ‘UA-XXXX-Y’, {‘name’: ‘myName’});
    If this name exists, the subsequent trackers need to include the name, for example ga(‘myName.send’, ‘pageview’);

    I turned back with the old Analytics code, but it will be fine i you could do this changes to the plugin. I suppose the new tracking code will be very popular soon.

    For the rest, awesome plugin! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New Analytics tracking code (Global Site Tag) causes an error’ is closed to new replies.