Wiki

Personyze allows you to log Interaction Events from your JavaScript.

These commands will work on pages where Personyze Tracker Code is installed. It's possible to call the commands before the Tracking Code, and they will be executed later by Personyze.

In the code below substitute ARTICLE_ID with value that appears in Articles Catalog in the "Internal ID" column.

You can try these commands in a browser console. In this case, Personyze testing mode will be useful. Please, consult this page for description.

Example

var articles_viewed = ['ABOUT_PIZZA_3', 'ABOUT_SPAGHETTI_15'];
for (var i=0; i<products_viewed.length; i++)
{   (self.personyze=self.personyze||[]).push(["Article Viewed", articles_viewed[i]]);
}

Available API commands

  1. Viewed event.

    (self.personyze=self.personyze||[]).push(["Article Viewed", ARTICLE_ID]);
  2. Liked event.

    (self.personyze=self.personyze||[]).push(["Article Liked", ARTICLE_ID]);
  3. Unliked ("Not liking anymore") event.

    (self.personyze=self.personyze||[]).push(["Article Unliked", ARTICLE_ID]);
  4. Commented event.

    (self.personyze=self.personyze||[]).push(["Article Commented", ARTICLE_ID]);
  5. Article Reached it's goal (conversion) event.

    (self.personyze=self.personyze||[]).push(["Article Goal", ARTICLE_ID]);
©2008-2023 All rights reserved. Personyze® is a registered trademark. Privacy Policy. Terms of Use.