Table of Contents

Client Articles

e-Marketer allows you to log Interaction Events from your JavaScript.

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

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

1. Viewed event.

(self.emarketer=self.emarketer||[]).push(["Article Viewed", ARTICLE_ID]);
  

2. Liked event.

(self.emarketer=self.emarketer||[]).push(["Article Liked", ARTICLE_ID]);

3. Unliked (“Not liking anymore”) event.

(self.emarketer=self.emarketer||[]).push(["Article Unliked", ARTICLE_ID]);

4. Commented event.

(self.emarketer=self.emarketer||[]).push(["Article Commented", ARTICLE_ID]);

5. Article Reached it’s goal (conversion) event.

(self.emarketer=self.emarketer||[]).push(["Article Goal", ARTICLE_ID]);