ASP.NET Quick-Start Guide

Start using Confection with ASP.NET in a few simple steps.

Issues? Questions? Feedback? Leave a comment. Already have a Confection account? Skip to step three. New to Confection? Learn more here.

Get Started

Step One

If you haven’t already, create a Confection account. If you already have a Confection account, log in.

Continue to Step 2

Step Two

Click “My Account” (or “Set Up My Account” if you’re accessing your account for the first time). Enter your contact information, the domain(s) on which you want to use Confection, and select one of our two data storage options. Then, click “Save Changes.”

Continue to Step 3

Step Three

Click "Install Confection" (If you're accessing your account for the first time, this will be the default screen.) Next, select "ASP.NET" to download the relevant scripts.

Continue to Step 4

Step Four

Click "Downloads" to save the necessary ASP files to your desktop. Unzip them, and upload the files to your project.

Next, copy the ConfectionCableHelpers directory to the root. This includes one file: CableHelpers.cs.

Copy ConfectionCableController.cs to /Controllers. If you need to modify the Route annotation, you can do so as follows:

namespace ConfectionCable.Controllers {
public class ConfectCableController : Controller

Configure the route in /Startup.cs in Configure():

Next, use our code-builder tool to set your privacy options, choose your banner position, and even upload your own logo. Click the button below to get started.

Get Your Custom Code

If your site's domain is and you upload the ASP files to a directory titled scripts, cable.asp would be accessible at Add that URL -- https:// included -- to the "Cable URL" field. To avoid mixed content errors, make sure you load cable.asp over https:// vs. http://

Once that's done, paste the code above your site's </head> tag.

That's it. You're done.

“I have some questions.”

Step Five: Send Confection Data Anywhere

After installing Confection, start sending data to any number of different endpoints.

"I'd like some help with this."

Next Steps

Install & Integrate Elsewhere

Find Other Quick-Start Guides

"I have some questions."

Contact Us

"I want to see this."

Share It


Questions or comments about using Confection with ASP.NET? Leave them below.

"Please contact me. I have some questions."

You can also use the chat app in the lower right corner.