Nudge Example code for adding on page Interactions

Created by Izac Hancock last modified
<!-- Nudge tracking Code 

<script src="" async></script> 

Make sure you change the Nudge Tracking Script to your own. If you are unsure how to get this, contact or using the helper button on -->

<!-- Interaction Examples -->

<!--Track a button click as an interaction -->
<button onclick="ndg('Button Click');">Button Click</button>

<!-- Track a link click as an interaction -->
<a href="#" onclick="ndg('Link Click');">Click Here</a>

<!-- Track Mouse Over & Mouse Out interactions -->
<img onmouseover="ndg('Img Mouse Over')" onmouseout="ndg('Img Mouse Out')" border="0" src="">

Comments (0)


You can clone a snippet to your computer for local editing. Learn more.