Key Press:Track keyboard clicks | BCS

Key Press:Track keyboard clicks

Adobe Launch BCS 7 months ago (01-20) 133 Views 0 Comments
Trigger the event if a key is pressed.  Suppose you want to click “Contact Me” from your keyboard
Key Press:Track keyboard clicks

Create a Rule

Create a Rule and name it Key Press:
Key Press:Track keyboard clicks

EVENTS

Create an EVENTS, select Key Press for Event Types:

Key Press:Track keyboard clicks

Here you need to do some settings for the event type Key Press, and you need to locate it. Here, use the CSS method to locate it.

Return to the page of the website, move the mouse to the position you want to track, that is, the input box

Key Press:Track keyboard clicks

and then right-click to view Inspect, and the cursor will be positioned at the line of the source code where you are. Then copy it as follows:

Key Press:Track keyboard clicks

Paste into Elements matching the CSS selector:

Key Press:Track keyboard clicks

Order is set to 30, because some keyboard clicks will cause the page to jump, so the priority needs to be higher.

There are other settings here, such as And having certain property values ​​、and is changed to the following value…and Advanced options (Bubbling)

And having certain property values: This is a restriction on Property,  Using this option to target elements will add logic to the JavaScript library that will adversely affect performance. Adobe recommends using the CSS selector option above. and it is generally not checked.

and is changed to the following value …: You can set a default value, compare with this, and trigger only when it is consistent.

Advanced options (Bubbling) generally check the first two by default.  Copying CSS using the method above is already positioned to the lowest level, so there is no relationship of inclusion.

These settings can be selected by default.

ACTIONS

Create the first Action and set event1 to Key Press. The specific settings are as follows:

Key Press:Track keyboard clicks

 

Create a second Action and set it do  not treat is as a page views. The specific settings are as follows:

Key Press:Track keyboard clicks

 

The final complete Rules setup is:

Key Press:Track keyboard clicks

Publish & Test

Publish a version and test it.

 

Key Press:Track keyboard clicks

Simulation operation, you can see that the set event1 has been tracked.

 

 


If you don't understand, You can leave a comment below or email me (haran.huang@ichdata.com).
Like (1)
Post my comment
Cancel comment
Expression Texture Bold Strikethrough Center Italic Sign in

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website