New Landing How can we help? Themeforest Theme Support Dante Event tracking on buttons

Viewing 11 posts - 16 through 26 (of 26 total)
  • Posted in: Dante
  • #82095
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome . I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #90289
    redehost-mkt
    Member
    Post count: 10
    This reply has been marked as private.
    #90610
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @redehost-mkt

    First remove functions.php code, You need to use button code like with extra class code eventTrack:

    [sf_button colour="accent" type="sf-icon-reveal" size="large" link="http://route.to" target="_self" icon="fa-check" dropshadow="no" extraclass="eventTrack"]try 14 days free[/sf_button]
    

    Insert this code at Admin -> Theme Options -> Custom JS ->

    <script>
    jQuery(document).ready(function($){
      $("a.eventTrack").click(function(e){ 
       //e.preventDefault();
      dataLayer.push({'event': 'ga-pricing-click-try-14-days-free'});
     });
    });
    
    </script>

    Thanks

    #90801
    redehost-mkt
    Member
    Post count: 10
    This reply has been marked as private.
    #90836
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You added extra css class eventTrack to all buttons so that will need this javascript code one time only.
    Thanks

    #90853
    redehost-mkt
    Member
    Post count: 10
    This reply has been marked as private.
    #90858
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    How many different actions for each button ?
    Thanks

    #90870
    redehost-mkt
    Member
    Post count: 10
    This reply has been marked as private.
    #91092
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    @redehost-mkt – please provide me wordpress admin login detail after installing WPIDE plugin.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #91258
    redehost-mkt
    Member
    Post count: 10
    This reply has been marked as private.
    #91360
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please create a new topic so there you can provide login detail privately.
    Thanks

Viewing 11 posts - 16 through 26 (of 26 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register