1. Help Center
  2. How do I set up my integrations?

How do I track purchase conversions from offers I put in my eWebinars?

What is the sales tracking pixel and how to use it

With eWebinar you can create offer interaction cards that promote the product you're selling at key points across your webinar. These cards provide a call to action button you configure which ultimately leads the attendee to the purchase confirmation page of your payment processing platform. Given this platform is outside eWebinar, the sales tracking pixel provides a way to track those conversions back into eWebinar so you can see how effective your webinar is working.

Setting up and finding the conversion tracking code

Getting and configuring the sales tracking pixel code is fairly straight forward. Here are the steps:

  1. At key points in your presentation create an offer interaction card. You can create either a Special Offer card or if you are using this against the Thinkific platform, a Thinkific Offer card.
  2. Customize the card until you're happy with it. You'll see at the bottom of the card a tab called Sales tracking
  3. Click the Sales tracking tab. You'll see the code for the tracking pixel waiting for you. Note: You may need to Save the card at this point and re-open - follow the instructions on screen.
  4. Click the Copy button to copy the code.

Embedding the sales tracking pixel code

Alright, so now that you have the sales tracking code, we have to install it.

The code is meant to be embedded directly in your checkout flow’s Thank You page after a successful payment is complete. On your payment platform you'll have to find the setting that allows you to add custom HTML inside the <BODY> of your Purchase Complete page.

Tweaking the sales tracking code

Once you paste the code you'll notice that there are placeholders in the code you should replace such as __AMOUNT__ with either the actual value or, if your payment platform supports it, a dynamic field that it uses to place the price into. For the Thinkific platform, we automatically replace __AMOUNT__ with {{total_price}} for example. If your platform doesn't support fields, you should replace __AMOUNT__ with the price of your product - such as 49.99

Every time a customer visits your purchase complete page, the tracking code will be triggered and the webinar analytics will register the sale. Note that if the page is refreshed the code will run again. This won't cause an issue - the conversion will still be tracked and the amount replaced with the amount of the most recent call.

However, if you're selling more than 1 product and want to track total amount purchased from several purchases for an attendee, then you must include an __ORDER-ID__.  eWebinar will use the order ID and add purchase amounts for different orders to the total purchased by the attendee. When we confirm a new order has happened because we haven't seen this order ID before, we will add the sales __AMOUNT__ to the total revenue associated with the offer interaction card and the attendee.

Note that eWebinar will only track the sales initiated from within your eWebinar. It recognizes users that came from an eWebinar session via their browser cookies.

For your Thinkific purchase confirmation page the HTML would look like:

<img src="http://api.ewebinar.com/v1/pixel/purchase/001/ZZliS3onum3?amount=&currency=USD&orderId=&productId=&productName=" width="1" height="1" alt="" />

Using the tracking pixel with recurring subscriptions

There are some cases, for example when selling a subscription, where the amount of conversion isn't known until a later date.  In subscription cases this typically happens when a trial is complete and either the customer churns or converts.  eWebinar makes it possible to update the amount attributed to a conversion from your system once you know this amount.  You can call the purchase tracking pixel URL using a GET and add to it the email of the attendee you're wanting to update.  Make sure to include the ORDER-ID of the order who's amount you're updating.  Example:

https://api.ewebinar.com/v1/pixel/purchase/000/ZZXMExVH7U1?email=my@customer.com&orderId=0001&amount=49.99&currency=USD

Seeing the results

You can see the total number of sales and the total revenue per card and per webinar from within your eWebinar Dashboard by looking at the Interaction cards or exporting the registrants CSV file. You can also have these values passed onto you per registrant via integrations. You'll find the purchase information in the client summary field or as its own set of fields via Zapier.