What are the supported APIs in ZEPIC?

Created by Mahaboob Zulfa, Modified on Mon, 22 Jul at 8:36 AM by Mahaboob Zulfa


Upon integration of Web SDK on your website, ZEPIC provides robust APIs for capturing and managing events and user identities -

  • Default Event Capture: ZEPIC automatically captures default events like page visits and form submissions with email addresses.

  • Custom Event Tracking: ZEPIC provides APIs for tracking custom events, allowing you to monitor specific actions such as 'add_to_cart'.

    zepic.track('add_to_cart', { items: 10, value: '1998$' });

    In this example, zepic.track() is used to track the custom event 'add_to_cart' along with specific data related to the event, such as the number of items and their value.

  • Identity APIs: Utilize ZEPIC's identity APIs to associate user identifiers (e.g., email addresses) with additional user attributes

    zepic.identify('email', 'johndoe@zepic.com', { name: 'John Doe', company: 'Zepic' });

    In the identification API code snippet, zepic.identify() is used to associate a user with their email ('johndoe@zepic.com') and include additional attributes such as the user's name ('John Doe') and company affiliation ('Zepic').

These points will enable efficient data capture and empower personalized customer engagement strategies.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article