Manual installation

In order to correctly build a sales funnel and show analytics for the actions of visitors, Convead uses the events viewing goods, filling carts, and buying.

If your store is running on a CMS which is integrated with Convead, events are set up automatically when the plugin is installed. For stores running on other CMSs, you can set up events manually. You can find the setup instructions in your Convead account. To do this, go to “My account” > “Settings” and select “Other CMS”.

There you will see instructions to manually configure each event.

Main code

Parameter: visitor_info (it makes sense to specify, if you have something to add, some data that would be interesting to use in Convead for marketing purposes).

If you have all the user data, you must specify it in the following format:

<code>ConveadSettings = {visitor_uid: ‘123’, visitor_info: {email: ‘vova@convead.com’}}If the user is unknown, specify the following:window.ConveadSettings = {visitor_info: {},app_key: «xxxxxxxxxxxxxxxxxxxxxxxxxxx»};

Product viewing event

To view the products and categories that visitors are interested in, Convead uses the “View product” event.

Copy the code from the “Set up product viewing events” field and set it to the source code of the product pages of the site, after Convead’s code.

Replace the following variables with your values:

  • PRODUCT_ID – the ID of the currently viewed product
  • PRODUCT_NAME – the product name (optional)
  • PRODUCT_URL – the main (canonical) URL of the product page (optional)

Important! To see the full analytics for the viewed products and product categories, you will need to specify a link to the XML file with the products.

After that, in the “Contacts” section, you can view analytics on frequently viewed and purchased product categories.

And in the visitor card in the timeline you can see which products were viewed.

Cart update event

The cart update event is triggered when a visitor adds an item to their cart. Having received this information, Convead will show which of the visitors formed the cart, how many goods are in it, and for what amount. If the visitor leaves the site without a purchase, you can send them an automated email about the abandoned cart and prompt them to return to it.

For the transmission of cart update events, copy the code from the “Configure event of filling the cart” and install it. The update code of the shopping cart should be installed on the corresponding buttons of your website (buy, add to cart, +, etc.).

Replace the following variables with your values:

  • PRODUCT_ID – the product ID in the cart
  • PRODUCT_QNT – the number of items in the cart
  • PRODUCT_PRICE – the cost of 1 item in the cart

Important point! Make sure that you pass the complete cart in the “items” array each time!

Purchase event

The purchase event is transferred on completion of the order. This event is used to build the last stage of the sales funnel.

In addition, Convead is able to build a report on frequently purchased goods, count the average check, and segment customers by the number of orders and the amount of money spent, as well as send automated mailings on the event “Made a purchase”.
To submit a purchase event, copy the code from the “Set up a purchase event” field and install it on the “Thank you for your order” page or on a similar order confirmation page in your store.

Replace the following variables in your code with your values:

  • ORDER_ID – unique order ID (ID or number)
  • ORDER_TOTAL – the amount of goods in the order, including discounts (but without delivery)
  • PRODUCT_ID – ID of the purchased item
  • PRODUCT_QNT – number of units of purchased goods

PRODUCT_PRICE – the cost of 1 unit of purchased goods. When the installation is complete, be sure to click “Save”. Ready!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us