Common use cases
Pixel Tracking
5 min
enhance your data sets, enrich your campaigns across tools, and make clearer business decisions to track events via your website, you will need to place a javascript pixel on the pages you wish to track interactions our privacy policy and applicable terms requires you to refrain from sending us sensitive personal information about your users, including but not limited to social security numbers and credit card details how to add the pixel to your website navigate to settings > api & tracking and locate the tracking pixel code copy the entire code snippet place the code into your website header placing pixel tracking code on your website depends on the platform you're using here's some common ones wordpress go to appearance > theme editor, locate the header php file of your active theme and paste the pixel code just before the closing \<head> tag webflow go to project settings > custom code under the head code section, paste the pixel code wix navigate to settings > custom code click + add custom code paste the pixel code choose header under the placement settings set it to load on all pages (or specific ones as needed) publish your site at this point your pixel will be tracking users page views and aiq will attempt to resolve identities in your data infrastructure how to track events via the pixel to enable more complex and insightful use cases, we track events as they happen for example, you can notify aiq when a user adds to their cart, watches a product video, or starts a live chat track almost any event and segment on it later using the schema below note the following is not needed if you are only using the pixel for the popup version of the signup form navigate to settings > integrations > website js and click connect save the integration to track a custom event you can call “aiq” after the required code above anywhere on the page the example below illustrates creating and updating a customers info \<script>aiq('customeventname', 'customeventvalue');\</script> custom events event names will be available for use in your accounts audience builder after we have seen at least 1 in production commonly recognized events the following events are commonly used and therefore documented for your internal setup please note that we always track pages viewed so it is easy to segment audiences by page categories, brands viewed, products viewed, etc true 220,220,221 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type true 220,220,221 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type