Copying Variables Between Rules

Replicate variable settings from one rule to another

Use an existing rule as a template to ensure consistent variable settings across multiple rules.

Scenario

You have a rule that sets standard variables (eVars, props, events) and need to create new rules with the same variable configuration. Instead of manually recreating each setting, use the original rule as context.

Steps

1. Add the Source Rule as Context

  1. Open Adobe Tags

  2. Navigate to the rule with the variables you want to copy

  3. Click the + button in the Workspace header

The rule's full configuration is now available as reference in the "From Adobe Tags" section.

2. Create the New Rule

Click Create and enter:

Create a click tracking rule for the newsletter signup button.
Use the same variable settings (eVars, props, events) as the context rule,
but change the click selector to #newsletter-signup.

3. Review and Adjust

Ivory generates the new rule with:

  • New event targeting your specified element

  • Same variable assignments from the source rule

  • Same beacon configuration

Review each component. Modify any values that should differ.

Variations

Same variables, different trigger:

Same variables, add a condition:

Multiple rules at once:

When to Use This

  • Standardizing tracking across similar interactions

  • Creating campaign-specific rules with consistent data

  • Rolling out tracking to new pages/features

  • Ensuring variable alignment across a site section

Tips

  • Add context before starting your prompt

  • Be explicit about what should stay the same vs. change

  • Review variable values—some may need updating for the new context

  • Use this for any rule component, not just variables (events, conditions, etc.)

Last updated