Tag Shopify products automatically
Create tag rules so products that match your conditions get extra tags when Uphance sends them to Shopify.
In Uphance, you create tag rules so products that match your conditions get extra tags when Uphance sends them to Shopify. Matching rule tags are added to the product's own tags at push time, so a push picks up a new rule without you re-saving the product.
Before you tag Shopify products automatically
- Both the Shopify integration setting and the Tag Rules setting need to be on for your organization, because the Tag Rules tab only appears in your Shopify settings when both are on.
- Your organization needs a Shopify store, because the Shopify settings tabs, Tag Rules included, only appear once you have one.
- Creating, changing and deleting tag rules requires the account owner, with access to your Shopify settings.
- Uphance turns this on for your organization when you ask, so contact Uphance support to ask for it.
Tag Shopify products automatically
Create a tag rule
Each rule names the tag to add, a scope, and the conditions a product must meet to get that tag. You build it all in the Create Tag Rule form on the Tag Rules tab.
- Go to Apps > My apps. Open your Shopify settings and click the Tag Rules tab.

- In the Create Tag Rule form, enter the name of the tag the rule should add.
- Choose a scope of Product, Color or SKU; Product is chosen unless you change it.
- Type your conditions as a JSON list of objects, each with a field, an operator and a value (for example product_category_name eq Tops), or leave them blank so the rule always applies.
- Click the Create Tag Rule button in the panel to save the rule, because the page's Save button only appears on the General tab.
Your rule now appears in the Tag Rules panel, with its conditions shown as field, operator and value joined by AND, or as Always when it has no conditions. From then on, creating or updating a product outside an import queues a tag rule check for it once the save is done. When a product is sent to Shopify, its tags start from its own tag list and the tags from matching rules are added, so a push picks up a new rule without you re-saving the product.
Delete a tag rule
When a rule no longer fits, you can remove it right from the Tag Rules panel, where each rule has its own Delete button.
- Click the rule's Delete button, then confirm when you're asked.
Good to know
- Leave the conditions blank only when you want the tag on every product, because a rule with no conditions matches every product.
- Remove unwanted tags yourself when a product changes, because tag rules only add tags and nothing removes a tag once the product stops matching a rule.
- Stick to the supported operators: eq, neq, contains, starts_with, ends_with, present and blank. A condition with any other operator never matches.
- Use a field your products actually have, such as product_category_name, name, description, product_identifier or another product attribute, because a field the product doesn't have is treated as an empty value.
- Don't worry about capital letters in your values: values are compared as text, and every comparison ignores letter case.
If something goes wrong
- If the Tag Rules tab is missing from your Shopify settings, the Shopify integration setting or the Tag Rules setting is off, or your organization doesn't have a Shopify store yet. The Tag Rules setting starts off, and Uphance turns it on when you ask, so contact Uphance support to ask for it.
- If the Tag Rules panel warns that tag rules will not run during push, the Tag Rules setting is off for your organization. Uphance turns it on when you ask, so contact Uphance support to ask for it.
- If a rule's tags aren't reaching Shopify, the rule may be inactive: inactive rules stay listed in the panel but never add a tag. Rule tags are also only added when both the Shopify integration setting and the Tag Rules setting are on.
- If imported products didn't get their rule tags, an import only queues the tag rule check when both the Shopify integration setting and the Tag Rules setting are on, and skips it entirely when automation owns those products' tags.
- If a rule is tagging every product and shows Always in the Tag Rules panel, it has no conditions, and a rule with no conditions matches every product.
- If you don't see My apps, it may not be turned on for you yet. Uphance turns this on for your organization when you ask, so contact Uphance support to ask for it.
Related articles
- Connect Shopify
- Send products to Shopify
- Push product changes to Shopify automatically
- Add custom fields and tags
Common questions
Why does a tag stay on my product after it stops matching a rule?
Tag rules only add tags to a product. Nothing removes a tag when the product stops matching a rule.
Why is my tag rule adding its tag to every product?
A tag rule with no conditions matches every product, and the Tag Rules panel shows such a rule as Always.
Why isn't my contains or starts with condition matching my products?
Tag rule condition values are compared as text, every comparison ignores letter case, and a field the product doesn't have counts as an empty value. A condition with an operator other than eq, neq, contains, starts_with, ends_with, present or blank never matches.
Why didn't my imported products get their rule tags?
A product import only queues the tag rule check when both the Shopify integration setting and the Tag Rules setting are on for your organization. It skips the check entirely when automation owns the tags of those products.
Why is the Tag Rules tab missing from my Shopify settings?
The Tag Rules tab appears in your Shopify settings only when both the Shopify integration setting and the Tag Rules setting are on, and only once your organization has a Shopify store.