You may want to track interactions within your app content such as video plays or taps on specific links. In order to do this additional tracking needs to be added to your template's HTML so these interactions can be tracked to our Google Analytics CustomHTMLInteraction event.
This page contains example of the code you will need to add to your HTML page to fire this event: Custom links example page
This page contains two examples that will both map to the CustomHTMLInteraction event action in your Pugpig Publish Google Analytics. Please view the page source to see the script used to trigger this event. Whatever parameter set after 'trackAnalyticsEvent' will become the Event Label in Google Analytics for this interaction. For example the first link in the example page has "trackAnalyticsEvent?testClicked" which means the Event Label tracked to Google Analytics for these interactions is "testClicked".
If you have multiple interactions you want to track to this event, such as multiple button 'clicks', make sure you set different values for the Event Label in your code so you can distinguish between these interactions in your reporting!
Note this post is applicable to Pugpig Publish apps. Any questions, please contact support@pugpig.com.
Comments
0 comments
Please sign in to leave a comment.