Matching Smartlinks with corresponding digital marketing links based on the rules defined

Modified on Sun, 21 Aug, 2022 at 7:51 PM

This article will guide you on how to match Smartlinks (Irecall only) with a corresponding digital marketing link based on the defined set of rules

Step 1 - Define the set of rules


This is an admin-only setting (Settings -> Admin Settings -> Features -> Smart-link to Digital Marketing Mapping Rules)


Copy Paste the following sample code into the JSON editor (shown below)  and change the attributes as required. 

[
{
"label": "Overdue 120+",
"gte_offset_days": null,
"lt_offset_days": -120
},
{
"label": "Overdue 60+",
"gte_offset_days": -120,
"lt_offset_days": -60
},
{
"label": "Overdue 30+",
"gte_offset_days": -60,
"lt_offset_days": -30
},
{
"label": "Overdue 15+",
"gte_offset_days": -30,
"lt_offset_days": -15
},
{
"label": "Overdue",
"gte_offset_days": -15,
"lt_offset_days": 0
},
{
"label": "Future",
"gte_offset_days": 0,
"lt_offset_days": null
}

 


json 0

The attributes required to create the rules are explained below: 

  • Label: This field should be unique and identifies the rule which has been created. 
  • gte_offset_days: Greater than or equal to 
  • lt_offset_days: Less than

Step 2 - Create digital marketing links for each rule 


The next step is to create a digital marketing link for each rule. You should have a list similar to the one shown below

list of dm links


Note: 

  • Make sure the label name for each digital marketing link is the exact same as the name given in the mapping rules.
    dm12
  • Link Availability and Slot Availability should be set to default because once the limit is expired, no available slots will be shown to the pet owner
    dm setting 1
  • The Appointment Limit should be set to 0 (default) because once the limit is expired, no available slots will be shown to the pet owner
    dm 3

Deleting a rule from the defined rules  


Go to Settings -> Admin Settings -> Features -> Smart-link to Digital Marketing Mapping Rules and select Tree from the drop-down


json code 1

Select the tree icon icon corresponding to the rule and click on Remove to delete the rule


json code 2


If you have any questions or if you need further help, please login to Vetstoria to chat with our team or use the Contact Support form linked at the top of this page.


 


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article