Support » Plugin: Gravitate Event Tracking » No longer working?

  • FreshySites

    (@freshysites)


    I’m not sure why, but the custom events I created (e.g., based on element IDs and classes) don’t work anymore. They are added to the footer via your plugin:

    <script type="text/javascript">
    	var GETGA_settings = {"include_ga_code":"0","ga_property_id":"","include_gtm_code":"0","gtm_property_id":"","first_delay":"2","second_delay":"3","debug":"none"};
    	var GETGA_events = [{"selector":".mk-header #mc-embedded-subscribe","description":"Subscribe Header","category":"Subscribe","action_type":"click","action_label":"Click","label":"Header","status":"active"},{"selector":"#mk-sidebar #mc-embedded-subscribe","description":"Subscribe Sidebar","category":"Subscribe","action_type":"click","action_label":"Click","label":"Sidebar","status":"active"},{"selector":".et_bloom_popup .et_bloom_submit_subscription","description":"Subscribe Popup","category":"Subscribe","action_type":"click","action_label":"Click","label":"Popup","status":"active"},{"selector":".et_bloom_below_post .et_bloom_submit_subscription","description":"Subscribe Posts Bottom","category":"Subscribe","action_type":"click","action_label":"Click","label":"Posts Bottom","status":"active"}];
    	</script>

    But aren’t being triggered. Do these need to come after jQuery file?

Viewing 1 replies (of 1 total)
  • Plugin Author Gravitate

    (@gravitate)

    Yes, the plugin requires jQuery.
    WordPress by default load jQuery before the Plugin, but if your loading a custom jQuery after the Plugin then it will not work.

    You can turn on Debug in the Advanced Page of the Plugin Settings. Make sure to use Console Logs. Then view the console logs and let me know what happens when clicking on items that should send an event.

    If jQuery is not loaded then you will see that as an ERROR.

Viewing 1 replies (of 1 total)
  • The topic ‘No longer working?’ is closed to new replies.