Add Google Analytics for click event on the Get App button

Support Forums for LiveMesh Themes & Plugins Forums Appdev Theme Support Add Google Analytics for click event on the Get App button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4088
    evoigtlander
    Member

    Hi,
    I would like to add a Google Analytics event trigger to the ‘Get the App’ button in the header on my site.

    Is this possible? If so, could you please let me know where I can place the on click tags.

    Thank you
    Emily

    #4109
    Nexus
    Moderator

    Sorry, I have no experience with this. Here is an article which explains how to do it –

    http://www.seerinteractive.com/blog/event-tracking-explained

    You can place the JS code in the file {theme folder}/js/main.js file. Hope this helps.

    #4167
    evoigtlander
    Member

    Thanks, I’ve got that setup. Let me rephrase my question. Where is the code for the “Get this App” button in the header located? I need to add the GA tracking into the a href=”” for this button. I see in the theme options were you can put the URL, but I need access to the full code to add the tracking.

    Thank you! 🙂

    #4193
    Raghavendra
    Moderator

    The complete code is in framework/functions/utility-functions.php file under the function – mo_display_app_button_or_socials() and specifically have a look at the line number 657.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Appdev Theme Support’ is closed to new topics and replies.