Skip to main content
Las herramientas de reglas de targeting controlan qué visitantes ven un experimento y cuándo se activa. Cada experimento tiene una regla de targeting que combina un segmento y un trigger, y estas herramientas cambian ambos.

Herramientas

Parámetros

Use los nombres exactos de parámetro que devuelve tools/list. Para vincular un trigger guardado a un experimento, llame a targeting_rule_update con triggerConfiguration establecido en SAVED_TEMPLATE y targetingConfigurationParam establecido en el ID del trigger. Para vincular un segmento a un experimento, llame a targeting_rule_update con segmentId y con segmentConfiguration establecido en SAVED_TEMPLATE. Envíe segmentId y segmentConfiguration juntos. Valores aceptados: segmentConfiguration es ALL_VISITORS, AUTOPROMO_AUTODEFINED, GRAPHICAL_PAGES, HEAT_SLICE, PAGE, SAVED_TEMPLATE, SITE o URL, y triggerConfiguration admite los mismos valores excepto ALL_VISITORS. El parámetro targetingConfigurationParam es un ID de trigger guardado para SAVED_TEMPLATE, un ID de segmento para HEAT_SLICE, una URL completa para PAGE o un fragmento de URL para URL.