- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Click Goal of moved element in Variation not being tracked
Click Goal of moved element in Variation not being tracked
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I am not getting click data for elements that have been moved on the page for the variation. Those elements are being tracked correctly for the control, but not in the variation. Is this because they have been moved for the variation?
@kenbrian
Re: Click Goal of moved element in Variation not being tracked
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi kenbrian,
When creating a click goal, Optimizely binds click events to the elements. It uses the best selector it can find to bind the click event to. If an element has an ID-selector, and when moving it this element retains that ID-selector, then Optimizely should keep binding the click event correctly.
If Optimizely can't find an ID-selector, it will have to use another selector that likely selects the element based on its location on the page. When you then move the element, its selector changes. Optimizely won't be able to track it anymore unless you let Optimizely know about the new selector.
Are you able to add the new selector for your variation to the click goal? Are you using Optimizely Classic or Optimizely X Web?
Best,
Nils
Re: Click Goal of moved element in Variation not being tracked
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
@kenbrian
Re: Click Goal of moved element in Variation not being tracked
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
