• Resolved gaspar

    (@gaspar)


    Added several advanced click events to plugin.

    .button.join-newsletter
    .button.contact
    a[href^="mailto:"]

    Elements are:

    <button class="button join-newsletter" type="button" title="Join newsletter">Join newsletter</button>
    <button class="button contact" type="button" title="Contact us">Contact us</button>
    <a href="mailto:[email protected]">[email protected]</a>

    1) But none of them is working!

    It generates code in footer:

        <!-- BEGIN: wpflow ga events array -->
        <script>
    
                    jQuery(document).ready(function() {
                        scroll_events.bind_events( {
                            universal: 1,
                            gtm:0,
                            gst:0,
    
                            scroll_elements: [],
                            click_elements: [{'select':'.button.join-newsletter','category':'button.join-newsletter','action':'click','label':'.button.join-newsletter','bounce':'false','evalue':''},{'select':'.button.contact','category':'button.contact','action':'click','label':'button.contact','bounce':'false','evalue':''},{'select':'a[href^=&quot;mailto:&quot;]','category':'mailto','action':'click','label':'mailto','bounce':'false','evalue':''}],
                        });
                    });
        </script>
        <!-- END: wpflow ga events array -->

    2) How can i get mailto href value automatically as Event label?

    I also use Woocommerce events plugin and Contact Form 7 events. And they are working great. What can be wrong with your plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author yuvalo

    (@yuvalo)

    Hi @gaspar

    Can you please add a link to a page where this is set up? I may be able to see where the problem is.
    Regarding your second question, the Pro version of the plugin has a feature called Placeholders in which you can use information such as the href attribute (along with things like page name, logged in user and more).

    Thread Starter gaspar

    (@gaspar)

    Let’s contact privately.

    Thread Starter gaspar

    (@gaspar)

    The problem resolved automatically – it takes some 24hrs for GA to catch up.

    Thank you for your support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Click event tracking is not working’ is closed to new replies.