Difference between revisions of "ATC/Current/AdminGuide/Apply"

From Genesys Documentation
Jump to: navigation, search
(Published)
Line 2: Line 2:
 
|Standalone=No
 
|Standalone=No
 
|DisplayName=Apply an action map to specific webpages
 
|DisplayName=Apply an action map to specific webpages
|Platform=PureEngage, PureConnect, PureCloud
 
 
|TocName=Apply to pages
 
|TocName=Apply to pages
 +
|Context=Learn how to specify the webpages where an action map triggers.
 
|ComingSoon=No
 
|ComingSoon=No
|Context=Learn how to specify the webpages where an action map triggers.
+
|Platform=PureEngage, PureConnect, PureCloud
 
|Prereq='''Prerequisites'''
 
|Prereq='''Prerequisites'''
  
Line 15: Line 15:
 
|Section={{Section
 
|Section={{Section
 
|sectionHeading=Apply an action map to webpages
 
|sectionHeading=Apply an action map to webpages
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Horizontal
 
|alignment=Horizontal
 +
|Media=Image
 
|image=PageChecker1.png
 
|image=PageChecker1.png
|Media=Image
 
 
|structuredtext=When you {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps|anchor=Create|display text=create an action map}}, build an expression that determines on which webpages the action map should or should not trigger:
 
|structuredtext=When you {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps|anchor=Create|display text=create an action map}}, build an expression that determines on which webpages the action map should or should not trigger:
  
Line 29: Line 27:
 
#*To add an AND condition, under the boxes, click '''Add'''. For more information, see {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps#ANDConditions|display text=AND conditions}}.<br />
 
#*To add an AND condition, under the boxes, click '''Add'''. For more information, see {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps#ANDConditions|display text=AND conditions}}.<br />
 
#{{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Apply|anchor=CheckTargeting|display text=Verify that the expression is valid}}.
 
#{{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Apply|anchor=CheckTargeting|display text=Verify that the expression is valid}}.
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Operators for URL conditions
 
|sectionHeading=Operators for URL conditions
 
|anchor=URLConditionsOperators
 
|anchor=URLConditionsOperators
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Vertical
 
|alignment=Vertical
 
|structuredtext={{{!}} class="wikitable"
 
|structuredtext={{{!}} class="wikitable"
Line 130: Line 125:
 
{{!}}{{!}}You can have one '''ends with''' operator per condition.
 
{{!}}{{!}}You can have one '''ends with''' operator per condition.
 
{{!}}}
 
{{!}}}
|fullwidth=No
 
 
|Status=No
 
|Status=No
 +
}}{{Section
 +
|sectionHeading=GPE-5839 Updates Operators for URL conditions
 +
|alignment=Vertical
 +
|structuredtext=<br />
 +
{{{!}} class="wikitable"
 +
{{!}}-
 +
{{!}}{{!}}'''Operator'''
 +
{{!}}{{!}}'''Matches'''
 +
{{!}}{{!}}'''The action map triggers when the visitor is on a webpage with a URL that contains...'''
 +
{{!}}{{!}}'''Notes'''
 +
{{!}}-
 +
{{!}}contains all
 +
{{!}}
 +
{{!}}all of the characters you define
 +
{{!}}You must specify the protocol, either http: or https:.
 +
{{!}}-
 +
{{!}}contains any
 +
{{!}}
 +
{{!}}any of the characters you define
 +
{{!}}
 +
{{!}}-
 +
{{!}}does not contain all
 +
{{!}}
 +
{{!}}some, but not all, of the characters you define<br />
 +
{{!}}
 +
{{!}}-
 +
{{!}}does not contain any
 +
{{!}}
 +
{{!}}none of the characters you define
 +
{{!}}
 +
{{!}}-
 +
{{!}}{{!}}equals
 +
{{!}}{{!}}the exact URL you define
 +
{{!}}{{!}}an exact match to the characters you define<br />
 +
{{!}}{{!}}You must specify the protocol, either http: or https:.
 +
If you define an '''equals''' condition you cannot define any other AND conditions.
 +
'''Correct''':
 +
 +
*equals <nowiki>http://abc.com OR http://def.com OR http://xyz.com </nowiki>
 +
 +
'''Incorrect''':
 +
 +
*equals abc.com OR def.com
 +
*equals abc.com AND equals xyz.com
 +
{{!}}-
 +
{{!}}{{!}}not equals
 +
{{!}}{{!}}a full URL only
 +
{{!}}{{!}}The action map triggers only when the visitor is on a website page with a URL that exactly matches all of the characters you define.
 +
{{!}}{{!}}You must specify the protocol, either http: or https:.
 +
If you define a '''not equals''' condition you cannot define any other AND conditions.
 +
'''Correct''':
 +
 +
*not equals <nowiki> http://abc.com OR http://def.com OR http://xyz.com<br /></nowiki>
 +
 +
'''Incorrect:'''
 +
 +
*equals abc.com OR def.com<br />
 +
*equals abc.com AND equals xyz.com
 +
{{!}}-
 +
{{!}}greater than
 +
{{!}}
 +
{{!}}
 +
{{!}}
 +
{{!}}-
 +
{{!}}greater than or equal
 +
{{!}}
 +
{{!}}
 +
{{!}}
 +
{{!}}-
 +
{{!}}less than
 +
{{!}}
 +
{{!}}
 +
{{!}}
 +
{{!}}-
 +
{{!}}less than or equal
 +
{{!}}
 +
{{!}}
 +
{{!}}
 +
{{!}}-
 +
{{!}}{{!}}starts with
 +
{{!}}{{!}}identical characters starting from the beginning of the string up to and including the last character in the string
 +
{{!}}{{!}}Use the '''starts with''' operator when your URLs are generally unvarying but can include query string parameters at the end that you want to exclude.
 +
 +
{{!}}{{!}}You must specify the protocol, either http: or https:.
 +
You can have one '''starts with '''or one '''ends with''' operator per condition.
 +
'''Correct''':
 +
 +
*starts with http://abc.com OR http://xyz.com AND Like keyword1 or keyword2
 +
 +
'''Incorrect''':
 +
 +
*starts with abc.com OR xyz.com AND starts with abc.com OR xyz.com
 +
{{!}}-
 +
{{!}}{{!}}ends with
 +
{{!}}{{!}}identical characters starting from the end of the string up to and including the first character in the string
 +
{{!}}{{!}}Use the '''ends with''' operator when you want to match a specific query string parameters at the end of the URL.
 +
For example, you can match shopping cart pages that use /thankyou.html at the end of their URLs.
 +
{{!}}{{!}}You can have one '''ends with''' operator per condition.
 +
{{!}}}
 +
|Status=Yes
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Condition errors
 
|sectionHeading=Condition errors
 
|anchor=ConditionErrors
 
|anchor=ConditionErrors
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Horizontal
 
|alignment=Horizontal
 +
|Media=Image
 
|image=ErrorCond.png
 
|image=ErrorCond.png
|Media=Image
 
 
|structuredtext=As you build your condition, {{MINTYDOCSPRODUCT}} automatically checks for syntax errors, including a valid protocol, spaces and extra special characters. If there are syntax errors, {{MINTYDOCSPRODUCT}} displays an error message. For more information see the {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Apply|anchor=URLConditionsOperators|display text=notes for the operator you are using}}.
 
|structuredtext=As you build your condition, {{MINTYDOCSPRODUCT}} automatically checks for syntax errors, including a valid protocol, spaces and extra special characters. If there are syntax errors, {{MINTYDOCSPRODUCT}} displays an error message. For more information see the {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Apply|anchor=URLConditionsOperators|display text=notes for the operator you are using}}.
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=OR conditions
 
|sectionHeading=OR conditions
 
|anchor=ORConditions
 
|anchor=ORConditions
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Horizontal
 
|alignment=Horizontal
 +
|Media=Image
 
|image=URLORCondition.png
 
|image=URLORCondition.png
|Media=Image
 
 
|structuredtext=You can add as many OR conditions as you need for each operator. For information on the available operators, see {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps#URLConditionsOperators|display text=Operators for URL conditions.}}
 
|structuredtext=You can add as many OR conditions as you need for each operator. For information on the available operators, see {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps#URLConditionsOperators|display text=Operators for URL conditions.}}
  
 
{{NoteFormat|If you use an "OR" condition, the action map triggers if either of the conditions is true.}}
 
{{NoteFormat|If you use an "OR" condition, the action map triggers if either of the conditions is true.}}
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=AND conditions
 
|sectionHeading=AND conditions
 
|anchor=ANDConditions
 
|anchor=ANDConditions
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Horizontal
 
|alignment=Horizontal
 +
|Media=Image
 
|image=URLAND.png
 
|image=URLAND.png
|Media=Image
 
 
|structuredtext=You can add as many AND conditions as you need for each operator.  For information on the available operators, see {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps#URLConditionsOperators|display text=Operators for URL conditions.}} {{NoteFormat|If you use an "AND" condition, the action map triggers only if both conditions is true.}}
 
|structuredtext=You can add as many AND conditions as you need for each operator.  For information on the available operators, see {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps#URLConditionsOperators|display text=Operators for URL conditions.}} {{NoteFormat|If you use an "AND" condition, the action map triggers only if both conditions is true.}}
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Remove a condition
 
|sectionHeading=Remove a condition
 
|anchor=ConditionRemove
 
|anchor=ConditionRemove
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Horizontal
 
|alignment=Horizontal
 +
|Media=Image
 
|image=CondRemove.png
 
|image=CondRemove.png
|Media=Image
 
 
|structuredtext=To remove a condition, hover over it and click the '''x''' that appears.
 
|structuredtext=To remove a condition, hover over it and click the '''x''' that appears.
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Verify that the expression is valid
 
|sectionHeading=Verify that the expression is valid
 
|anchor=CheckTargeting
 
|anchor=CheckTargeting
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Horizontal
 
|alignment=Horizontal
 +
|Media=Image
 
|image=PageCheckerAI155.png
 
|image=PageCheckerAI155.png
|Media=Image
 
 
|structuredtext=After you define the expression to apply an action map to a webpage, check to be sure that the expression is valid.
 
|structuredtext=After you define the expression to apply an action map to a webpage, check to be sure that the expression is valid.
  
Line 196: Line 276:
 
* If you are using the '''equals''', '''not equals''', or '''starts with''' operators, be sure you have specified the protocol.
 
* If you are using the '''equals''', '''not equals''', or '''starts with''' operators, be sure you have specified the protocol.
 
}}<br />
 
}}<br />
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}
 
}}
 
}}
 
}}

Revision as of 19:28, February 19, 2020

Learn how to specify the webpages where an action map triggers.

Prerequisites

Apply an action map to webpages

When you create an action map, build an expression that determines on which webpages the action map should or should not trigger:

  1. Under Apply to selected pages, click Add page.
  2. In the Show this action map if the page URL list, select the appropriate operator.
  3. In the some path or keyword box, type the appropriate value (as needed by the operator you selected).
  4. Do one of the following:
    • To add an OR condition, next to the some path or keyword box, click the +. For more information, see OR conditions.
    • To add an AND condition, under the boxes, click Add. For more information, see AND conditions.
  5. Verify that the expression is valid.

Operators for URL conditions

Operator Matches Description Notes
equals a full URL only The action map triggers only when the visitor is on a website page with a URL that exactly matches all of the characters you define.


Note: You must specify the protocol, either http: or https:.

If you define an equals condition you cannot define any other AND conditions.

Correct:

  • equals http://abc.com OR http://def.com OR http://xyz.com

Incorrect:

  • equals abc.com OR def.com
  • equals abc.com AND equals xyz.com
not equals a full URL only The action map triggers only when the visitor is on a website page with a URL that exactly matches all of the characters you define.


Note: You must specify the protocol, either http: or https:.

If you define a not equals condition you cannot define any other AND conditions.


Correct:

  • not equals http://abc.com OR http://def.com OR http://xyz.com<br />

Incorrect:

  • equals abc.com OR def.com
  • equals abc.com AND equals xyz.com
like a "substring match" The action map triggers only when the visitor is on a website page with a URL that contains some of the characters you define.



This is useful when you want to target a unique query string parameter (a keyword) that appears in multiple URLs.

You can build conditions containing multiple like and not like operators.

Correct:

  • like insurance AND like auto OR home OR health
not like a "substring match" The action map triggers only when the visitor is on a website page with a URL that does not contains any of the characters you define.
starts with identical characters starting from the beginning of the string up to and including the last character in the string Use the starts with operator when your URLs are generally unvarying but can include query string parameters at the end that you want to exclude.


Note: You must specify the protocol, either http: or https:.

You can have one starts with or one ends with operator per condition.


Correct:

Incorrect:

  • starts with abc.com OR xyz.com AND starts with abc.com OR xyz.com
ends with identical characters starting from the end of the string up to and including the first character in the string Use the ends with operator when you want to match a specific query string parameters at the end of the URL.



For example, you can match shopping cart pages that use /thankyou.html at the end of their URLs.

You can have one ends with operator per condition.

GPE-5839 Updates Operators for URL conditions


Operator Matches The action map triggers when the visitor is on a webpage with a URL that contains... Notes
contains all all of the characters you define You must specify the protocol, either http: or https:.
contains any any of the characters you define
does not contain all some, but not all, of the characters you define
does not contain any none of the characters you define
equals the exact URL you define an exact match to the characters you define
You must specify the protocol, either http: or https:.

If you define an equals condition you cannot define any other AND conditions. Correct:

  • equals http://abc.com OR http://def.com OR http://xyz.com

Incorrect:

  • equals abc.com OR def.com
  • equals abc.com AND equals xyz.com
not equals a full URL only The action map triggers only when the visitor is on a website page with a URL that exactly matches all of the characters you define. You must specify the protocol, either http: or https:.

If you define a not equals condition you cannot define any other AND conditions. Correct:

  • not equals http://abc.com OR http://def.com OR http://xyz.com<br />

Incorrect:

  • equals abc.com OR def.com
  • equals abc.com AND equals xyz.com
greater than
greater than or equal
less than
less than or equal
starts with identical characters starting from the beginning of the string up to and including the last character in the string Use the starts with operator when your URLs are generally unvarying but can include query string parameters at the end that you want to exclude. You must specify the protocol, either http: or https:.

You can have one starts with or one ends with operator per condition. Correct:

Incorrect:

  • starts with abc.com OR xyz.com AND starts with abc.com OR xyz.com
ends with identical characters starting from the end of the string up to and including the first character in the string Use the ends with operator when you want to match a specific query string parameters at the end of the URL.

For example, you can match shopping cart pages that use /thankyou.html at the end of their URLs.

You can have one ends with operator per condition.

Condition errors

As you build your condition, Genesys Predictive Engagement automatically checks for syntax errors, including a valid protocol, spaces and extra special characters. If there are syntax errors, Genesys Predictive Engagement displays an error message. For more information see the notes for the operator you are using.

OR conditions

You can add as many OR conditions as you need for each operator. For information on the available operators, see Operators for URL conditions.

Important
If you use an "OR" condition, the action map triggers if either of the conditions is true.

AND conditions

You can add as many AND conditions as you need for each operator. For information on the available operators, see Operators for URL conditions.
Important
If you use an "AND" condition, the action map triggers only if both conditions is true.

Remove a condition

To remove a condition, hover over it and click the x that appears.

Verify that the expression is valid

After you define the expression to apply an action map to a webpage, check to be sure that the expression is valid.

  1. Under Check if the action map targets the web page(s), type the first URL to check in the box.
  2. To check another URL, click + and type the next URL.
  3. When you have specified all of the pages to check, click Check.
  4. Review the results.

Important
If you see, "No" when you check a webpage, it means that the URL doesn't match the specified conditions. Check your expression:
  • If you are using the equals, or not equals operators, be sure you have specified a full URL.
  • If you are using the equals, not equals, or starts with operators, be sure you have specified the protocol.

Retrieved from "https://all.docs.genesys.com/ATC/Current/AdminGuide/Apply (2024-11-09 14:46:12)"
Comments or questions about this documentation? Contact us for support!