hotspot js() and google analytics

  • Hey,

    When I'm pasting this google analytics code into a layer, everything works fine:

    Code
    <layer name ="123" onclick="js(ga('send', 'event', 'DEMO', 'clique', 'pano', 36););"/>


    I receive the datas into google analytics.

    But when I past the very same code in a hotspot:

    Code
    <hotspot name="spot1" onclick="js(ga('send', 'event', 'DEMO 2', 'clique', 'pano', 36););" />


    I don't receive any datas in google analytics.

    Any idea why ?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!