Difference between revisions of "ATC/Current/AdminGuide/Apply"
DannaShirley (talk | contribs) (Published) |
m (Text replacement - "Genesys Cloud" to "Genesys Cloud CX") |
||
(22 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
|Standalone=No | |Standalone=No | ||
|DisplayName=Apply an action map to specific webpages | |DisplayName=Apply an action map to specific webpages | ||
− | |TocName= | + | |TocName=Specify webpages to trigger on |
|Context=Learn how to specify the webpages where an action map triggers. | |Context=Learn how to specify the webpages where an action map triggers. | ||
|ComingSoon=No | |ComingSoon=No | ||
− | |Platform= | + | |Platform=PureConnect, GenesysCloud, GenesysEngage-cloud |
|Prereq='''Prerequisites''' | |Prereq='''Prerequisites''' | ||
− | *[https://help.mypurecloud.com/articles/ | + | *[https://help.mypurecloud.com/articles/?p=195191 Configure the following permissions in Genesys Cloud CX:] |
− | **'''Journey '''>''' Action Map '''>''' Add''', '''Delete''', '''Edit''', and '''View''' | + | **'''Journey '''>''' Action Map '''>''' Add''', '''Delete''', '''Edit''', and '''View''' (to create action maps) |
− | **'''Journey '''>''' Action Target '''> '''View''' | + | **'''Journey '''>''' Action Target '''> '''View''' (to select a team to handle interactions from the action map) |
− | *{{ | + | *{{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Manage_segments|display text=Create segments}}. |
− | *{{ | + | *{{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Manage_outcomes|display text=Create outcomes}}. |
|Section={{Section | |Section={{Section | ||
|sectionHeading=Apply an action map to webpages | |sectionHeading=Apply an action map to webpages | ||
|alignment=Horizontal | |alignment=Horizontal | ||
|Media=Image | |Media=Image | ||
− | |image= | + | |image=ApplyToWebpages.png |
− | |structuredtext=When you {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps | + | |structuredtext=When you {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Action_maps|display text=create an action map}} that uses a web action, you can define an expression that determines on which webpages the action map should or should not trigger. The expression includes one or more {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Apply|anchor=URLConditionsOperators|display text=operators}}, a corresponding operand, and one or more {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Apply|anchor=Conditions|display text=conditions}}. After you define the expression, {{Link-SomewhereInThisVersion|manual=AdminGuide|topic=Apply|anchor=CheckTargeting|display text=verify that the expression is valid}}. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
− | |sectionHeading= | + | |sectionHeading=About conditions |
− | |anchor= | + | |anchor=Conditions |
|alignment=Vertical | |alignment=Vertical | ||
− | |structuredtext= | + | |structuredtext=You can add as many conditions as you need. For OR conditions, the action map triggers when either condition is true. For AND conditions, the action map triggers when both conditions are true. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | As you define conditions, {{MINTYDOCSPRODUCT}} 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 that you are using}}.{{NoteFormat|If the action map isn't working as expected, check your URL conditions.|}}{{NoteFormat|To remove a condition, rest your mouse on it and then click the '''x''' that appears.|2}} | |
− | + | <br /> | |
− | + | |Status=No | |
− | {{ | + | }}{{Section |
− | + | |sectionHeading=Verify that the expression is valid | |
− | + | |anchor=CheckTargeting | |
− | + | |alignment=Horizontal | |
− | + | |Media=Image | |
− | + | |image=Verify_conditions.png | |
− | + | |structuredtext=After you define an expression, ensure that the expression is valid for all the webpages that you specified. Expressions are not case-sensitive. {{NoteFormat|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, ensure that you specified a full URL. | |
− | + | * If you are using the '''equals''', '''not equals''', or '''starts with''' operators, ensure that you specified the protocol. | |
− | {{ | + | |}}<br /> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
− | |sectionHeading= | + | |sectionHeading=Operators for URL conditions |
+ | |anchor=URLConditionsOperators | ||
|alignment=Vertical | |alignment=Vertical | ||
− | |structuredtext=<br /> | + | |structuredtext=<br />{{NoteFormat| |
+ | * Separate a list of values with commas | ||
+ | * Available operators depend on the object type that you are configuring. |2}} | ||
{{{!}} class="wikitable" | {{{!}} class="wikitable" | ||
{{!}}- | {{!}}- | ||
{{!}}{{!}}'''Operator''' | {{!}}{{!}}'''Operator''' | ||
− | {{!}}{{!}}''' | + | {{!}}{{!}}'''Action map triggers when the page URL...''' |
− | + | {{!}}{{!}}'''Comments''' | |
− | {{!}}{{!}}''' | ||
{{!}}- | {{!}}- | ||
{{!}}contains all | {{!}}contains all | ||
+ | {{!}}contains all the characters that you specify | ||
{{!}} | {{!}} | ||
− | |||
− | |||
{{!}}- | {{!}}- | ||
{{!}}contains any | {{!}}contains any | ||
− | {{!}} | + | {{!}}contains one or more characters that you specify |
− | |||
{{!}} | {{!}} | ||
{{!}}- | {{!}}- | ||
{{!}}does not contain all | {{!}}does not contain all | ||
− | {{!}} | + | {{!}}does not contain all the characters that you specify |
− | |||
{{!}} | {{!}} | ||
{{!}}- | {{!}}- | ||
{{!}}does not contain any | {{!}}does not contain any | ||
− | {{!}} | + | {{!}}does not contain any of the characters that you specify |
− | |||
{{!}} | {{!}} | ||
{{!}}- | {{!}}- | ||
{{!}}{{!}}equals | {{!}}{{!}}equals | ||
− | {{!}}{{!}}the | + | {{!}}{{!}}matches the full URL that you specify exactly, including case |
− | {{!}}{{!}} | + | {{!}}{{!}}Specify the full URL, including the protocol; either "http:" or "https:". |
− | + | ||
− | If you define an '''equals''' condition you cannot define | + | If you define an '''equals''' condition, you cannot define an AND condition. |
+ | |||
'''Correct''': | '''Correct''': | ||
− | *equals <nowiki>http://abc.com OR http://def.com OR | + | *equals <nowiki>http://abc.com</nowiki> OR <nowiki>http://def.com</nowiki> OR <nowiki>https://xyz.com</nowiki> |
'''Incorrect''': | '''Incorrect''': | ||
Line 172: | Line 85: | ||
{{!}}- | {{!}}- | ||
{{!}}{{!}}not equals | {{!}}{{!}}not equals | ||
− | {{!}}{{!}} | + | {{!}}{{!}}does not match the full URL exactly as you specify, including case |
− | {{!}}{{!}} | + | {{!}}{{!}}Specify the full URL, including the protocol; either "http:" or "https:". |
− | + | If you define a '''not equals''' condition, you cannot define an AND condition. | |
− | If you define a '''not equals''' condition you cannot define | + | |
'''Correct''': | '''Correct''': | ||
− | *not equals <nowiki> http://abc.com OR http://def.com OR | + | *not equals <nowiki>http://abc.com</nowiki> OR <nowiki>http://def.com</nowiki> OR <nowiki>https://xyz.com</nowiki><nowiki><br /></nowiki> |
'''Incorrect:''' | '''Incorrect:''' | ||
− | *equals abc.com OR def.com | + | *equals abc.com OR def.com |
*equals abc.com AND equals xyz.com | *equals abc.com AND equals xyz.com | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}{{!}}like |
− | {{!}} | + | {{!}}{{!}}matches some of the characters that you specify |
− | {{!}} | + | {{!}}{{!}}This operator is useful when you want to target a unique query string parameter (a keyword) that appears in multiple URLs. |
− | {{!}} | + | You can define conditions containing multiple '''like''' and '''not like''' operators. |
+ | |||
+ | '''Correct''': | ||
+ | |||
+ | *like insurance AND like auto OR home OR health | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}{{!}}not like |
− | + | {{!}}{{!}}does not match any of the characters that you specify | |
− | + | {{!}}{{!}} | |
− | + | ||
− | |||
− | {{!}} | ||
− | {{!}} | ||
− | {{!}} | ||
− | {{!}} | ||
− | {{!}} | ||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
{{!}}{{!}}starts with | {{!}}{{!}}starts with | ||
− | {{!}}{{!}} | + | {{!}}{{!}}matches the characters that you specify, starting from the beginning of the string, up to and including the last character in the string |
− | {{!}}{{!}}Use | + | {{!}}{{!}}Use this operator when your URLs are generally unvarying but can include query string parameters at the end that you want to exclude. |
+ | Specify the protocol; either "http:" or "https:". You can have one '''starts with '''or one '''ends with''' operator per condition. | ||
− | + | '''Correct''': | |
− | |||
− | '''Correct''': | ||
*starts with http://abc.com OR http://xyz.com AND Like keyword1 or keyword2 | *starts with http://abc.com OR http://xyz.com AND Like keyword1 or keyword2 | ||
− | '''Incorrect''': | + | '''Incorrect''': |
*starts with abc.com OR xyz.com AND starts with abc.com OR xyz.com | *starts with abc.com OR xyz.com AND starts with abc.com OR xyz.com | ||
+ | |||
{{!}}- | {{!}}- | ||
{{!}}{{!}}ends with | {{!}}{{!}}ends with | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | + | {{!}}{{!}}matches the characters that you specify, starting from the end of the string, up to and including the first character in the string |
− | + | {{!}}{{!}}Use this operator when you want to match a specific query string parameter at the end of the URL. | |
− | }} | + | For example, you can match shopping cart pages with URLs that end with "/thankyou.html". |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | You can have one '''ends with''' operator per condition. | |
− | + | {{!}}} | |
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | }} | ||
|Status=No | |Status=No | ||
}} | }} | ||
}} | }} |
Latest revision as of 21:28, November 9, 2021
Contents
Learn how to specify the webpages where an action map triggers.
Prerequisites
- Configure the following permissions in Genesys Cloud CX:
- Journey > Action Map > Add, Delete, Edit, and View (to create action maps)
- Journey > Action Target > View (to select a team to handle interactions from the action map)
- Create segments.
- Create outcomes.
Apply an action map to webpages
About conditions
You can add as many conditions as you need. For OR conditions, the action map triggers when either condition is true. For AND conditions, the action map triggers when both conditions are true.
As you define conditions, Genesys Predictive Engagement 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 that you are using.
Verify that the expression is valid
- If you are using the equals, or not equals operators, ensure that you specified a full URL.
- If you are using the equals, not equals, or starts with operators, ensure that you specified the protocol.
Operators for URL conditions
- Separate a list of values with commas
- Available operators depend on the object type that you are configuring.
Operator | Action map triggers when the page URL... | Comments |
contains all | contains all the characters that you specify | |
contains any | contains one or more characters that you specify | |
does not contain all | does not contain all the characters that you specify | |
does not contain any | does not contain any of the characters that you specify | |
equals | matches the full URL that you specify exactly, including case | Specify the full URL, including the protocol; either "http:" or "https:".
If you define an equals condition, you cannot define an AND condition. Correct:
Incorrect:
|
not equals | does not match the full URL exactly as you specify, including case | Specify the full URL, including the protocol; either "http:" or "https:".
If you define a not equals condition, you cannot define an AND condition. Correct:
Incorrect:
|
like | matches some of the characters that you specify | This operator is useful when you want to target a unique query string parameter (a keyword) that appears in multiple URLs.
You can define conditions containing multiple like and not like operators. Correct:
|
not like | does not match any of the characters that you specify | |
starts with | matches the characters that you specify, starting from the beginning of the string, up to and including the last character in the string | Use this operator when your URLs are generally unvarying but can include query string parameters at the end that you want to exclude.
Specify the protocol; either "http:" or "https:". You can have one starts with or one ends with operator per condition. Correct:
Incorrect:
|
ends with | matches the characters that you specify, starting from the end of the string, up to and including the first character in the string | Use this operator when you want to match a specific query string parameter at the end of the URL.
For example, you can match shopping cart pages with URLs that end with "/thankyou.html". You can have one ends with operator per condition. |