• Resolved rafaelcardero

    (@rafaelcardero)


    Hello! Thank you for your great plugin.

    I need to remove the Analytics integration because currently I have another method to track clicks on share buttons and I am using a user-defined Category/Action/Label.

    How can I do this? I wonder if there is a filter to achieve this purpose.

    Rafael

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author micropat

    (@micropat)

    Hello Rafael,

    Right now the best way is to overwrite a2a.GA.track on the AddToAny ready event.

    a2a_config.callbacks.push({
        ready: function() {
            if (a2a.GA && a2a.GA.track) {
                // Disable AddToAny's automatic Google Analytics integration.
                a2a.GA.track = function(){};
            }
        }
    });
    Thread Starter rafaelcardero

    (@rafaelcardero)

    Great. Thank you!
    Tip: Consider adding this option to the plugin settings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Analytics Integration’ is closed to new replies.