Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rj-10x

    (@rj-10x)

    https://clip2net.com/s/3BDEPV1 and custom variables not fill in…

    Thread Starter rj-10x

    (@rj-10x)

    Oh, the problem appears only when activate google analytics through GTM TAG

    Plugin Author micropat

    (@micropat)

    What is the site’s URL?

    Did you do the “Google Tag Manager Setup” section? It’s a long setup (unfortunately).

    For the last part of the setup, place the following code in your “Additional JavaScript” box in AddToAny Settings:

    a2a_config.callbacks.push({
        share: function(data) {
            // Track shares in Google Analytics with Google Tag Manager
            dataLayer.push({
                'event': 'AddToAnyShare',
                'socialNetwork': 'AddToAny',
                'socialAction': data.service,
                'socialTarget': data.url
            });
        }
    });

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google analytics integration does not work’ is closed to new replies.