Setting Up Custom HTML Tags in Popups

Sometimes, you may not want all clicks on a popup to be tracked by Personyze as clicks. If you want to set up a popup so that only clicks on a certain area are considered clicks for analytics purposes, use the following code.

Note: this is valid for popup actions (not containers) – if some element in the HTML has class “pe-cl-ta”, only clicks on this element will be counted as “clicks”

Example:

<a>X</a>

<div class=”pe-cl-ta”></div>

Close popup/html action:

onclick=”_S_T.dismiss_action(${action_id});”

 

Leave A Comment?

You must be logged in to post a comment.