Create Events

Get started

After you create and install a pixel, click Next to reach the Create Events page. From here, you can create events using either tracking methods: URL keywords or web elements.


Tracking methods help you set up and assign rules to events that you want to track, like 'add to card' or 'purchase.' For each event, there are 2 types of tracking methods to choose from:

  • Click Events: Count every time someone clicks on a specific element on your website as an event. This could be adding something to a cart, submitting a form, or downloading an app. Click events use web elements of the buttons or links you want to track.

  • URL Events: Count user visits to specific pages on your website as events. This could include the confirmation page after a purchase or a thank you page. URL events use keywords contained in the URL of the page you want to track.

https://lf16-cognition-tos.ibytedtos.com/obj/cognition-sg-public/attachment_84684221ae0b4019bbe0d651ac141a83.png

Watch our tutorial video before getting started:

Create URL Events

  1. ​From the Create Events page, click '+ Enter URL Keywords' to get started

  2. ​Select the appropriate Event Type for this URL event

    • ​Under Advanced settings, you have the option to name this event and input a value/currency to measure ROAS (Return on ad spend).

  3. ​Fill in the keywords from the URL of the page you want to track.

    • ​For example, if you want to track:

    • https://www.sample.com/id123456/thankyou

    • Enter 'thankyou'

    • ​To add additional keywords to this event, click the (+) symbol to the right and input 1 keyword at a time.

  4. ​Create more events by clicking '+ Enter URL Keywords' or '+ Add Web Elements'

  5. ​When you’re done, review all your events and details under Events summary. Click 'Complete Setup' to finish.

https://lf16-cognition-tos.ibytedtos.com/obj/cognition-sg-public/thumbnail_0db45010ef1444869ea94fb316f25835_jpg.jpg

Create Click Events

  1. ​Input your website’s URL in the preview on the left side of the screen to sync your website with the event setup which mimics how your website will show up in the TikTok app

    1. ​Once connected, use the ‘selector’ mode to add web elements or the 'navigation' mode to move around your website

  2. ​Once your website is synced in the preview and in your mobile device, click on '+ Add Web Elements' to get started

  3. ​Selectable web elements are highlighted in blue. Click to record an element as CSS selector code under ‘Select clicked element’

  4. ​Select the appropriate Event Type for this click event

    1. ​Under Advanced settings, you have the option to name this event and input a value/currency to measure ROAS (Return on ad spend).

  5. ​Create more events by clicking '+ Enter URL Keywords' or '+ Add Web Elements'

  6. ​When you’re done, review all your events and details under Events summary. Click 'Complete Setup' to finish.

https://lf16-cognition-tos.ibytedtos.com/obj/cognition-sg-public/thumbnail_9c51eca5e8dc451fbadfb45abf7f7d22_jpg.jpg

About Statistics Type

In situations where you want to know if one visitor completes an event multiple times, choose Every Time as your Statistical Method. In situations where you want only one event to be recorded per visitor, choose Once as the Statistical Method.

For example, if your optimization goal is to receive more orders, it is recommended to choose 'Every Time' since you value multiple purchases from each visitor. If your optimization goal is to receive more form submissions, it is recommended to choose 'Once' because only one form submission per visitor is valuable to your business.


Make changes

Even after you've set up your Pixel, you can still make changes such as adding new events or editing existing events by clicking 'Add Events' or 'Edit' in the pixel details page within Events Manager.

https://lf16-cognition-tos.ibytedtos.com/obj/cognition-sg-public/thumbnail_358781970986475ab33eebd7ea2ab7e8_jpg.jpg

Add Events

  1. ​To add events to an existing Pixel, select a Pixel to reach the details page

  2. ​Click '+ Add events' which will direct you to Pixel installation instructions

  3. ​Skip to step 3 and input your website URL into the Pixel Checker to check if the pixel code was installed correctly before proceeding with creating new events

  4. ​Create events by clicking '+ Enter URL Keywords' or '+ Add Web Elements'

  5. ​When you’re done, review all your events and details under Events summary. Click 'Complete Setup' to finish.

Edit Events

  1. ​To edit events to an existing Pixel, select a Pixel to reach the details page

  2. ​Using your cursor, hover over an event you'd like to edit and click 'Edit'

  3. ​For URL events, you can edit Event Type, URL keywords, and parameters under Advanced Settings.

  4. ​For click events, elements cannot be edited once it's connected to an event. To edit click events, delete the existing event and create a new one.

  5. ​When you’re done, review all your events and details under Events summary. Click 'Complete Setup' to finish.


Finish

After you've installed a Pixel and set up events, you're all set! If you encounter issues, we recommend referring to Pixel Diagnostics or Pixel Helper for troubleshooting support.


Content