logo

Add extra JS to augment Connecto notifications

What is does

Lets you enhance notifications by putting JS in templates. Theme elements can be made to interact and adapt to your site and much more.

How to set up

  1. Create a notification by selecting a fitting template, configure position, height/width, message, form fields etc.
  2. In Visuals itself, go to Advanced Options -> Other options, Find the ‘Extra JS’ field and add your JS.
  3. Set up any other targeting and save.

Example

Let’s say you want to trigger a particular Google Analytics Event on every notification view. To do this you could simply add GA’s default event tracking JS in the corresponding notification e.g. parent._ga.track(..event..) etc.

3 found this helpful