iFrame click tracking widget

The iFrame click tracking widget enables you to record clicks on an iFrame, which is an HTML tag that lets you display content on your website even though it is hosted on a different website. When a visitor clicks on an iFrame (such as a social media sharing button, a YouTube or Vimeo video, an advert, etc.), they are redirected to another page or another application.

Accessing the widget

Open the variation editor on the desired website,

Click Widgets in the toolbar on the right-hand side,

Browse to the Event tracking section or filter on the widget’s name,

Click the widget’s card, The configuration form is displayed.

Configuring the widget

During this configuration step, changes are displayed in real-time.

Once your changes have been applied:

Click Save to save your changes,

If necessary, you can click Action Tracking in the toolbar to edit and make changes to your configuration.

Conditions tab

In the Click tracking name field, change the click tracking label if necessary,

Click Select element,

In the web page, select the iFrame for which you want to measure clicks, A contextual menu is displayed.

Click Select this element, (if necessary, use the Select parent or Select children option to select the right element),The code that matches the selected element is displayed in the configuration form.

Click Save to save your changes,

If necessary, you can click Action Tracking in the toolbar to edit and make changes to your configuration.

Widget tracking

An “action tracking” type goal is created automatically in the report of the test or personalization to count the clicks on the iFrame.